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

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

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

How can I stop maven from downloading transitive dependencies?

I have a Maven call that downloads artifacts for the purpose of running integration tests: mvn -Dmdep.useRepositoryLayout=true -Dmdep.copyPom=true -Dmdep.useBaseVersion=true dependency:copy-dependencies -DoutputDirectory=deps -DexcludeTransitive=true -e The pom consists purely of dependencies, nothing else. There are other scripts that pick up the artifacts from the deps dir and runs tests on them. Now, my problem is this: Even … Read more

I cannot remove ‘target’ folder on Windows 7 generated by Maven

I am getting a strange error since I compiled, cleaned and recompiled a project with Maven 3.1.1 using Windows 7. Basically the ‘target’ folder generated is no more “removable” and it looks like has no more owner. I have tried to associate an owner to it following the steps here: http://technet.microsoft.com/en-us/library/cc753659.aspx but without any luck … Read more