web.xml is missing and is set to true – web.xml is there and can’t edit deployment assembly

This is an error from maven, it is saying that is expecting a web.xml file because the project is defined as a web project on pom.xml through <packaging>war</packaging>. As in some web application web.xml is optional, instead creating an empty web.xml you can overwrite the default value from the property failOnMissingWebXml on maven-war-plugin adding the following values on your pom.xml If you need a web.xml file on your project, you can … Read more

Spring Maven clean error – The requested profile “pom.xml” could not be activated because it does not exist

The warning message means that you somehow passed -P pom.xml to Maven which means “there is a profile called pom.xml; find it and activate it”. Check your environment and your settings.xml for this flag and also look at all <profile> elements inside the various XML files. Usually, mvn help:effective-pom is also useful to see what the real POM would look like. Now the error … Read more

Connecting to Git team provider failed

The answer of Howgler worked for me. I close this post with his answer: The recommended way is to first create a Maven project and then right-click the project and choose Team > Share Project… to move it to an existing or new Git repository. – howlger

What exactly is a Maven Snapshot and why do we need it?

A snapshot version in Maven is one that has not been released. The idea is that before a 1.0 release (or any other release) is done, there exists a 1.0-SNAPSHOT. That version is what might become 1.0. It’s basically “1.0 under development”. This might be close to a real 1.0 release, or pretty far (right after the 0.9 release, for example). The difference between a “real” version and a … Read more

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