Cannot import maven project to eclipse

when i try to import existing maven project to eclipse i get this error “The selected wizard could not be started. Plug-in org.eclipse.m2e.core.ui was unable to load class org.eclipse.m2e.core.ui.internal.wizards.MavenImportWizard. An error occurred while automatically activating bundle org.eclipse.m2e.core.ui (281).” using eclipse luna windows 10 – 64 Answer AttributionSource : Link , Question Author : Momen Talosh … Read more

Apache Maven generate fails to create project using the command provided at the official site

OS: MacOS Mojave (Version: 10.14.3) Software in question: Apache Maven Objective: Create a new Maven project (in an empty directory) Method: Execute command in Terminal Reference: https://maven.apache.org/guides/getting-started/maven-in-five-minutes.html I am following instructions in the above link and trying to create a project using the command as mentioned there. The command is: mvn archetype:generate -DgroupId=com.mycompany.app -DartifactId=my-app -DarchetypeArtifactId=maven-archetype-quickstart … Read more

Error while cloning “Milo” Project from GitHub

i want to clone and Build Milo Project from https://github.com/eclipse/milo I get various errors: error calculating classpath for project mavenproject The project was not built since its build path is incomplete The type org.eclipse.milo.opcua…… cannot be resolved. It is indirectly referenced from required .class files And i can not use F3 to jump into a … Read more

maven doesn’t find existing snapshot artifact on Nexus

Unfortunately I can’t identify what caused this, but after updating my projects, one of the dependencies is not found anymore in the main project. I have no idea why only this causes trouble and none of the others. mvn -U clean package output goes like this: … Downloading: http://172.22.1.123:8080/repository/my-snapshots/ com/company/mypkg/dep1/1.4-SNAPSHOT/maven-metadata.xml Downloaded: http://172.22.1.123:8080/repository/my-snapshots/ com/company/mypkg/dep1/1.4-SNAPSHOT/maven-metadata.xml (993 B … Read more

Netbeans will not compile maven fx projects but, compiles java fx projects just fine

As the title says I can compile/run regular java fx projects fine but, when i try to compile the defualt project netbeans gives you I get. Fatal Error: Unable to find package java.lang in classpath or bootclasspath Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project mtest: Compilation failure An unknown compilation problem occurred I have … Read more

WIndows10 System environment path doesn’t work after restart

I installed Maven and set MAVEN_HOME in system variables, and added it in PATH, as per instructions. Maven worked as intended from cmd. After restart, cmd did not recognize mvn command anymore. (I did the same on another laptop, and it works fine). I outputed MAVEN_HOME and PATH, everything is there. I also checked registry, … Read more

mvn unsupported packaging type: pom

A college of me had several times the following problem with maven: mvn unsupported packaging type: pom Pom’s are the base for maven, so I find this very strange. It can be solved by removing downloaded repositories, just to get back again. For example: last Thursday she removed the repositories and let maven download them … Read more

Hibernate 5.4.3 Exception in thread “main” org.hibernate.internal.util.config.ConfigurationException

Ive looked into similar solutions and none worked for me. Hoping I could find some answers here… Using Eclipse JEE (JDK 12) These is the errorlist i get when i try to run my “main” method Aug 05, 2019 3:12:36 PM org.hibernate.Version logVersion INFO: HHH000412: Hibernate Core {5.4.3.Final} Exception in thread “main” org.hibernate.internal.util.config.ConfigurationException: Unable to … Read more