spring-boot without parent pom.xml cannot generate war packaging

You removed the parent, so you lost its declaration of the WAR plugin configuration. Here it is: <plugin> <artifactId>maven-war-plugin</artifactId> <configuration> <failOnMissingWebXml>false</failOnMissingWebXml> </configuration> </plugin> See here for the source code. N.B. this is not necessary with Spring Boot 2.0 parent pom and above (the war plugin version is different), or if you use the latest war … Read more

Missing artifact org.springframework.boot:spring-boot-starter-parent:jar:1.3.2.RELEASE

You’re getting this error because there is no jar artifact for spring-boot-starter-parent in maven central, since spring-boot-starter-parent uses pom packaging. The reason for that is because it’s intended to be used as a parent pom: <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>1.3.2.RELEASE</version> </parent> Alternatively, you can just import the managed dependencies if that is what you intended to … Read more

Maven root pom.xml marked as red when importing existing project into eclipse

Yes, You should start your Eclipse Workspace out of the pom.xml folder. for example: D:\workspace\Project_Name. In your Project_Name folder which contains pom.xml. So you have to select D:\workspace while starting the eclipse. And now, then import the project called Project_Name as maven project, It will work. Hope, it will help !!

Maven and Spring Boot – non resolvable parent pom – repo.spring.io (Unknown host)

Obviously it’s a problem with your internet connection. Check, if you can reach http://repo.spring.io with your browser. If yes, check if you need to configure a proxy server. If no, you should contact your internet provider. Here is the documentation, how you configure a proxy server for Maven: https://maven.apache.org/guides/mini/guide-proxies.html

Maven:Non-resolvable parent POM and ‘parent.relativePath’ points at wrong local POM

The normal layout for a maven multi module project is: parent ├── pom.xml ├── module    ├── pom.xml Check that you use this layout. Additionally: the relativePath looks strange. Instead of ‘..’ <relativePath>..</relativePath> try ‘../’ instead: <relativePath>../</relativePath> You can also remove relativePath if you use the standard layout. This is what I always do, and … Read more

What does the parent tag in Maven pom represent?

Yes, maven reads the parent POM from your local repository (or proxies like nexus) and creates an ‘effective POM’ by merging the information from parent and module POM. See also Introduction to the POM One reason to use a parent is that you have a central place to store information about versions of artifacts, compiler-settings … Read more

Spring Boot – parent pom when you already have a parent pom

You can use the spring-boot-starter-parent like a “bom” (c.f. Spring and Jersey other projects that support this feature now), and include it only in the dependency management section with scope=import.That way you get a lot of the benefits of using it (i.e. dependency management) without replacing the settings in your actual parent. The 2 main … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)