m2eclipse not finding maven dependencies, artifacts not found

I had this issue for dependencies that were created in other projects. Downloaded thirdparty dependencies showed up fine in the build path, but not a library that I had created. SOLUTION: In the project that is not building correctly, right-click on the project and choose Properties, and then Maven. Uncheck the box labeled “Resolve dependencies … Read more

Eclipse 4.12 – java.lang.ClassNotFoundException: com.sun.xml.internal.bind.v2.ContextFactory

Sun people have remove directly access to jaxb package in java 11. These dependency will work instead of it. Same fix if you are facing hibernate NullPointerException issue. <dependency> <groupId>com.sun.xml.bind</groupId> <artifactId>jaxb-core</artifactId> <version>2.3.0.1</version> </dependency> <dependency> <groupId>javax.xml.bind</groupId> <artifactId>jaxb-api</artifactId> <version>2.3.1</version> </dependency> <dependency> <groupId>com.sun.xml.bind</groupId> <artifactId>jaxb-impl</artifactId> <version>2.3.1</version> </dependency> <dependency> <groupId>org.javassist</groupId> <artifactId>javassist</artifactId> <version>3.25.0-GA</version> </dependency>

Interpreting eclipse .classpath file. What does ‘kind=”con”‘ and ‘exported=”true”‘ mean?

1) In kind=”con”, the con stands for container, which is interpreted by eclipse as a classpath container. As described in that link: A classpath container provides a way to indirectly reference a set of classpath entries through a classpath entry of kind CPE_CONTAINER In other words, it enables grouping of other classpath entries in any … Read more

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