skip to Main Content

Docker – Failed to build an image (By Buildpacks approach)

Trying to build an Image of loans application with BuildPacks approach, getting this below error pom.xml : <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>3.3.1</version> <relativePath/> <!-- lookup parent from repository --> </parent> <groupId>com.example</groupId> <artifactId>loans</artifactId>…

VIEW QUESTION

Mysql – Spring Boot application fail while init

Annotation-specified bean name 'personDAO' for bean class [com.gmail.tihamer.rozman.demo.PersonDAO] conflicts with existing, non-compatible bean definition of same name and class [org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean] I am trying to recreate the tutorial from here https://spring.io/guides/gs/accessing-data-mysql I created the interface and the pojo. Didnt see where…

VIEW QUESTION
Back To Top
Search