Hallo Leute,
ich hoffe hier auf eure Hilfe, denn ich habe alles mögliche probiert was mir Google schon sagte, jedoch ohne Erfolg.
Ich habe ein Maven Projekt, bekomme doch beim clean install Build folgende Fehlermeldung / Exception.
Über Google kam ich zu einem Ergebnis wo ich dachte das hilft. http://stackoverflow.com/questions/...ffound-error-when-running-maven-build-compile
Nun habe ich verglichen in meinem Eclipse und ich habe jedoch exakt das selbe Bild wie derjenige der da im Thread antwortete.
Jetzt versuchte ich das m2e Plugin für Eclipse zu deinstallieren, ging dazu über Help->About Eclipse->Installation Details->Istalled Software. Sucht mir da unter Java EE IDE Feature die m2e zugehörigen Sachen aus. Wenn ich da jedoch eins anklicke wird der Uinstall Button nicht aktiv, also kann ich es nicht deinstallieren.
Meine Frage, wie bekomme ich es hin das beim build diese Exception nicht mehr geworfen wird und / oder wie kann ich das m2e Plugin in Eclipse deinstallieren?
Denn durch die Exception wird nämlich kein war / jar File in den Projekt target Ordner gelegt.
Vielen Dank für eure Hilfe.
ich hoffe hier auf eure Hilfe, denn ich habe alles mögliche probiert was mir Google schon sagte, jedoch ohne Erfolg.
Ich habe ein Maven Projekt, bekomme doch beim clean install Build folgende Fehlermeldung / Exception.
Code:
constituent[0]: file:/D:/Eclipse-Luna-11_07_2014/Eclipse_Luna/configuration/org.eclipse.osgi/533/0/.cp/
constituent[1]: file:/D:/Eclipse-Luna-11_07_2014/Eclipse_Luna/configuration/org.eclipse.osgi/533/0/.cp/jars/maven-core-3.0.4.jar
constituent[2]: file:/D:/Eclipse-Luna-11_07_2014/Eclipse_Luna/configuration/org.eclipse.osgi/533/0/.cp/jars/maven-model-3.0.4.jar
constituent[3]: file:/D:/Eclipse-Luna-11_07_2014/Eclipse_Luna/configuration/org.eclipse.osgi/533/0/.cp/jars/maven-settings-3.0.4.jar
constituent[4]: file:/D:/Eclipse-Luna-11_07_2014/Eclipse_Luna/configuration/org.eclipse.osgi/533/0/.cp/jars/maven-settings-builder-3.0.4.jar
constituent[5]: file:/D:/Eclipse-Luna-11_07_2014/Eclipse_Luna/configuration/org.eclipse.osgi/533/0/.cp/jars/maven-repository-metadata-3.0.4.jar
constituent[6]: file:/D:/Eclipse-Luna-11_07_2014/Eclipse_Luna/configuration/org.eclipse.osgi/533/0/.cp/jars/maven-artifact-3.0.4.jar
constituent[7]: file:/D:/Eclipse-Luna-11_07_2014/Eclipse_Luna/configuration/org.eclipse.osgi/533/0/.cp/jars/maven-plugin-api-3.0.4.jar
constituent[8]: file:/D:/Eclipse-Luna-11_07_2014/Eclipse_Luna/configuration/org.eclipse.osgi/533/0/.cp/jars/maven-model-builder-3.0.4.jar
constituent[9]: file:/D:/Eclipse-Luna-11_07_2014/Eclipse_Luna/configuration/org.eclipse.osgi/533/0/.cp/jars/maven-aether-provider-3.0.4.jar
constituent[10]: file:/D:/Eclipse-Luna-11_07_2014/Eclipse_Luna/configuration/org.eclipse.osgi/533/0/.cp/jars/aether-api-1.13.1.jar
constituent[11]: file:/D:/Eclipse-Luna-11_07_2014/Eclipse_Luna/configuration/org.eclipse.osgi/533/0/.cp/jars/aether-util-1.13.1.jar
constituent[12]: file:/D:/Eclipse-Luna-11_07_2014/Eclipse_Luna/configuration/org.eclipse.osgi/533/0/.cp/jars/plexus-interpolation-1.14.jar
constituent[13]: file:/D:/Eclipse-Luna-11_07_2014/Eclipse_Luna/configuration/org.eclipse.osgi/533/0/.cp/jars/plexus-utils-2.0.6.jar
constituent[14]: file:/D:/Eclipse-Luna-11_07_2014/Eclipse_Luna/configuration/org.eclipse.osgi/533/0/.cp/jars/plexus-component-annotations-1.5.5.jar
constituent[15]: file:/D:/Eclipse-Luna-11_07_2014/Eclipse_Luna/configuration/org.eclipse.osgi/533/0/.cp/jars/plexus-sec-dispatcher-1.3.jar
constituent[16]: file:/D:/Eclipse-Luna-11_07_2014/Eclipse_Luna/configuration/org.eclipse.osgi/533/0/.cp/jars/maven-embedder-3.0.4.jar
constituent[17]: file:/D:/Eclipse-Luna-11_07_2014/Eclipse_Luna/configuration/org.eclipse.osgi/533/0/.cp/jars/plexus-cipher-1.7.jar
constituent[18]: file:/D:/Eclipse-Luna-11_07_2014/Eclipse_Luna/configuration/org.eclipse.osgi/533/0/.cp/jars/commons-cli-1.2.jar
constituent[19]: file:/D:/Eclipse-Luna-11_07_2014/Eclipse_Luna/configuration/org.eclipse.osgi/533/0/.cp/jars/maven-compat-3.0.4.jar
constituent[20]: file:/D:/Eclipse-Luna-11_07_2014/Eclipse_Luna/configuration/org.eclipse.osgi/533/0/.cp/jars/wagon-provider-api-2.2.jar
constituent[21]: file:/D:/Eclipse-Luna-11_07_2014/Eclipse_Luna/configuration/org.eclipse.osgi/533/0/.cp/jars/guice-plexus-shim-2.3.0.jar
constituent[22]: file:/D:/Eclipse-Luna-11_07_2014/Eclipse_Luna/configuration/org.eclipse.osgi/533/0/.cp/jars/javax.inject-1.jar
constituent[23]: file:/D:/Eclipse-Luna-11_07_2014/Eclipse_Luna/configuration/org.eclipse.osgi/533/0/.cp/jars/guice-bean-reflect-2.3.0.jar
constituent[24]: file:/D:/Eclipse-Luna-11_07_2014/Eclipse_Luna/configuration/org.eclipse.osgi/533/0/.cp/jars/guice-bean-locators-2.3.0.jar
constituent[25]: file:/D:/Eclipse-Luna-11_07_2014/Eclipse_Luna/configuration/org.eclipse.osgi/533/0/.cp/jars/guice-bean-binders-2.3.0.jar
constituent[26]: file:/D:/Eclipse-Luna-11_07_2014/Eclipse_Luna/configuration/org.eclipse.osgi/533/0/.cp/jars/guice-bean-scanners-2.3.0.jar
constituent[27]: file:/D:/Eclipse-Luna-11_07_2014/Eclipse_Luna/configuration/org.eclipse.osgi/533/0/.cp/jars/guice-bean-converters-2.3.0.jar
constituent[28]: file:/D:/Eclipse-Luna-11_07_2014/Eclipse_Luna/configuration/org.eclipse.osgi/533/0/.cp/jars/guice-plexus-metadata-2.3.0.jar
constituent[29]: file:/D:/Eclipse-Luna-11_07_2014/Eclipse_Luna/configuration/org.eclipse.osgi/533/0/.cp/jars/guice-plexus-converters-2.3.0.jar
constituent[30]: file:/D:/Eclipse-Luna-11_07_2014/Eclipse_Luna/configuration/org.eclipse.osgi/533/0/.cp/jars/guice-plexus-locators-2.3.0.jar
constituent[31]: file:/D:/Eclipse-Luna-11_07_2014/Eclipse_Luna/configuration/org.eclipse.osgi/533/0/.cp/jars/guice-plexus-binders-2.3.0.jar
constituent[32]: file:/D:/Eclipse-Luna-11_07_2014/Eclipse_Luna/configuration/org.eclipse.osgi/533/0/.cp/jars/guice-bean-inject-2.3.0.jar
constituent[33]: file:/D:/Eclipse-Luna-11_07_2014/Eclipse_Luna/configuration/org.eclipse.osgi/533/0/.cp/jars/guice-plexus-scanners-2.3.0.jar
constituent[34]: file:/D:/Eclipse-Luna-11_07_2014/Eclipse_Luna/configuration/org.eclipse.osgi/533/0/.cp/jars/guice-plexus-lifecycles-2.3.0.jar
constituent[35]: file:/D:/Eclipse-Luna-11_07_2014/Eclipse_Luna/configuration/org.eclipse.osgi/533/0/.cp/jars/sisu-guice-3.1.0-no_aop.jar
constituent[36]: file:/D:/Eclipse-Luna-11_07_2014/Eclipse_Luna/configuration/org.eclipse.osgi/533/0/.cp/jars/guava-11.0.2.jar
constituent[37]: file:/D:/Eclipse-Luna-11_07_2014/Eclipse_Luna/configuration/org.eclipse.osgi/533/0/.cp/jars/aether-connector-wagon-1.13.1.jar
constituent[38]: file:/D:/Eclipse-Luna-11_07_2014/Eclipse_Luna/configuration/org.eclipse.osgi/533/0/.cp/jars/aether-spi-1.13.1.jar
constituent[39]: file:/D:/Eclipse-Luna-11_07_2014/Eclipse_Luna/configuration/org.eclipse.osgi/533/0/.cp/jars/aether-impl-1.13.1.jar
constituent[40]: file:/D:/Eclipse-Luna-11_07_2014/Eclipse_Luna/configuration/org.eclipse.osgi/533/0/.cp/jars/aether-connector-asynchttpclient-1.13.1.jar
constituent[41]: file:/D:/Eclipse-Luna-11_07_2014/Eclipse_Luna/configuration/org.eclipse.osgi/533/0/.cp/jars/wagon-ahc-1.2.1.jar
constituent[42]: file:/D:/Eclipse-Luna-11_07_2014/Eclipse_Luna/configuration/org.eclipse.osgi/533/0/.cp/jars/wagon-file-2.2.jar
---------------------------------------------------
Exception in thread "main" java.lang.NoClassDefFoundError: com/ning/http/client/AsyncHttpProvider
at org.sonatype.aether.connector.async.AsyncRepositoryConnectorFactory.newInstance(AsyncRepositoryConnectorFactory.java:106)
at org.sonatype.aether.impl.internal.DefaultRemoteRepositoryManager.getRepositoryConnector(DefaultRemoteRepositoryManager.java:346)
at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:453)
at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:216)
at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:193)
at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:281)
at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.readArtifactDescriptor(DefaultArtifactDescriptorReader.java:186)
at org.sonatype.aether.impl.internal.DefaultDependencyCollector.process(DefaultDependencyCollector.java:412)
at org.sonatype.aether.impl.internal.DefaultDependencyCollector.collectDependencies(DefaultDependencyCollector.java:240)
at org.sonatype.aether.impl.internal.DefaultRepositorySystem.collectDependencies(DefaultRepositorySystem.java:308)
at org.apache.maven.plugin.internal.DefaultPluginDependenciesResolver.resolve(DefaultPluginDependenciesResolver.java:199)
at org.apache.maven.plugin.internal.DefaultMavenPluginManager.createPluginRealm(DefaultMavenPluginManager.java:353)
at org.apache.maven.plugin.internal.DefaultMavenPluginManager.setupPluginRealm(DefaultMavenPluginManager.java:321)
at org.apache.maven.plugin.DefaultBuildPluginManager.getPluginRealm(DefaultBuildPluginManager.java:175)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:78)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: java.lang.ClassNotFoundException: com.ning.http.client.AsyncHttpProvider
at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:244)
at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:230)
... 35 more
Über Google kam ich zu einem Ergebnis wo ich dachte das hilft. http://stackoverflow.com/questions/...ffound-error-when-running-maven-build-compile
Nun habe ich verglichen in meinem Eclipse und ich habe jedoch exakt das selbe Bild wie derjenige der da im Thread antwortete.
Jetzt versuchte ich das m2e Plugin für Eclipse zu deinstallieren, ging dazu über Help->About Eclipse->Installation Details->Istalled Software. Sucht mir da unter Java EE IDE Feature die m2e zugehörigen Sachen aus. Wenn ich da jedoch eins anklicke wird der Uinstall Button nicht aktiv, also kann ich es nicht deinstallieren.
Meine Frage, wie bekomme ich es hin das beim build diese Exception nicht mehr geworfen wird und / oder wie kann ich das m2e Plugin in Eclipse deinstallieren?
Denn durch die Exception wird nämlich kein war / jar File in den Projekt target Ordner gelegt.
Vielen Dank für eure Hilfe.