get rid of POM not found warning for org.eclipse.m2e:lifecycle-mapping

My team works around this problem by wrapping the relevant configuration in a profile: <profile> <id>only-eclipse</id> <activation> <property> <name>m2e.version</name> </property> </activation> <build> <pluginManagement> <plugins> <plugin> <groupId>org.eclipse.m2e</groupId> <artifactId>lifecycle-mapping</artifactId> <version>1.0.0</version> <configuration> … </configuration> </plugin> </plugins> </pluginManagement> </build> </profile>

m2eclipse error

I had same problem with Eclipse 3.7.2 (Indigo) and maven 3.0.4. In my case, the problem was caused by missing maven-resources-plugin-2.4.3.jar in {user.home}\.m2\repository\org\apache\maven\plugins\maven-resources-plugin\2.4.3 folder. (no idea why maven didn’t update it) Solution: 1.) add dependency to pom.xml <dependency> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-resources-plugin</artifactId> <version>2.4.3</version> </dependency> 2.) run mvn install from Eclipse or from command line 3.) refresh the … Read more

“Faceted Project Problem (Java Version Mismatch)” error message

Did you check your Project Properties -> Project Facets panel? (From that post) A WTP project is composed of multiple units of functionality (known as facets). The Java facet version needs to always match the java compiler compliance level. The best way to change java level is to use the Project Facets properties panel as … Read more

Compiler error “archive for required library could not be read” – Spring Tool Suite

Indeed IDEs often cache the local repository (Eclipse does something similar, and I have to relaunch Eclipse). One ugly maven behavior you might encounter is that if you declare a dependency before you actually install it, maven will create an empty version of the missing dependency (folder with metadata but no jar), and you will … Read more

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