Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issue in running mvn clean install / mvn install #63

Open
Harshaec021 opened this issue Jun 20, 2016 · 0 comments
Open

issue in running mvn clean install / mvn install #63

Harshaec021 opened this issue Jun 20, 2016 · 0 comments

Comments

@Harshaec021
Copy link

Hi,

I'm getting below error while running mvn install.

[INFO] No sources to compile
[INFO]
[INFO] --- gmaven-plugin:1.4:testCompile (build) @ http-builder ---
[WARNING] Error injecting: org.codehaus.gmaven.plugin.compile.TestCompileMojo
java.lang.TypeNotPresentException: Type org.codehaus.gmaven.plugin.compile.TestC
ompileMojo not present
        at org.eclipse.sisu.space.URLClassSpace.loadClass(URLClassSpace.java:115
)
        at org.eclipse.sisu.space.NamedClass.load(NamedClass.java:46)
        at org.eclipse.sisu.space.AbstractDeferredClass.get(AbstractDeferredClas
s.java:48)
        at com.google.inject.internal.ProviderInternalFactory.provision(Provider
InternalFactory.java:86)
        at com.google.inject.internal.InternalFactoryToInitializableAdapter.prov
ision(InternalFactoryToInitializableAdapter.java:54)
        at com.google.inject.internal.ProviderInternalFactory$1.call(ProviderInt
ernalFactory.java:70)
        at com.google.inject.internal.ProvisionListenerStackCallback$Provision.p
rovision(ProvisionListenerStackCallback.java:115)
        at org.eclipse.sisu.bean.BeanScheduler$Activator.onProvision(BeanSchedul
er.java:176)
        at com.google.inject.internal.ProvisionListenerStackCallback$Provision.p
rovision(ProvisionListenerStackCallback.java:126)
        at com.google.inject.internal.ProvisionListenerStackCallback.provision(P
rovisionListenerStackCallback.java:68)
        at com.google.inject.internal.ProviderInternalFactory.circularGet(Provid
erInternalFactory.java:68)
        at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(
InternalFactoryToInitializableAdapter.java:46)
        at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:10
09)
        at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.ja
va:1059)
        at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1005)

        at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:3
6)
        at org.eclipse.sisu.inject.LazyBeanEntry.getValue(LazyBeanEntry.java:81)

        at org.eclipse.sisu.plexus.LazyPlexusBean.getValue(LazyPlexusBean.java:5
1)
        at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContai
ner.java:263)
        at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContai
ner.java:255)
        at org.apache.maven.plugin.internal.DefaultMavenPluginManager.getConfigu
redMojo(DefaultMavenPluginManager.java:546)
        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(Default
BuildPluginManager.java:121)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor
.java:208)
        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.buildProje
ct(LifecycleModuleBuilder.java:116)
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProje
ct(LifecycleModuleBuilder.java:80)
        at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThre
adedBuilder.build(SingleThreadedBuilder.java:51)
        at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(Lifecycl
eStarter.java:128)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:862)
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:286)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:197)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Laun
cher.java:289)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.jav
a:229)
        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(La
uncher.java:415)
        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:
356)
Caused by: java.lang.NoClassDefFoundError: org/codehaus/gmaven/runtime/ClassComp
iler$Keys
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:14
2)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
        at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
        at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClassFromSelf(Cl
assRealm.java:401)
        at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(
SelfFirstStrategy.java:42)
        at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadCl
ass(ClassRealm.java:271)
        at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm
.java:247)
        at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm
.java:239)
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:14
2)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
        at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
        at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClassFromSelf(Cl
assRealm.java:401)
        at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(
SelfFirstStrategy.java:42)
        at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadCl
ass(ClassRealm.java:271)
        at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm
.java:247)
        at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm
.java:239)
        at org.eclipse.sisu.space.URLClassSpace.loadClass(URLClassSpace.java:107
)
        ... 42 more
Caused by: java.lang.ClassNotFoundException: org.codehaus.gmaven.runtime.ClassCo
mpiler$Keys
        at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(
SelfFirstStrategy.java:50)
        at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadCl
ass(ClassRealm.java:271)
        at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm
.java:247)
        at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm
.java:239)
        ... 71 more
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:02 min
[INFO] Finished at: 2016-06-20T11:00:28+05:30
[INFO] Final Memory: 19M/47M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.gmaven:gmaven-plugin:1.4:testCompile
 (build) on project http-builder: Execution build of goal org.codehaus.gmaven:gm
aven-plugin:1.4:testCompile failed: Unable to load the mojo 'testCompile' in the
 plugin 'org.codehaus.gmaven:gmaven-plugin:1.4'. A required class is missing: or
g/codehaus/gmaven/runtime/ClassCompiler$Keys
[ERROR] -----------------------------------------------------
[ERROR] realm =    plugin>org.codehaus.gmaven:gmaven-plugin:1.4
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] = file:/C:/Users/514453/.m2/repository/org/codehaus/gmaven/gmave
n-plugin/1.4/gmaven-plugin-1.4.jar
[ERROR] urls[1] = file:/C:/Users/514453/.m2/repository/org/codehaus/gmaven/runti
me/gmaven-runtime-api/1.4/gmaven-runtime-api-1.4.jar
[ERROR] urls[2] = file:/C:/Users/514453/.m2/repository/org/codehaus/gmaven/featu
re/gmaven-feature-api/1.4/gmaven-feature-api-1.4.jar
[ERROR] urls[3] = file:/C:/Users/514453/.m2/repository/org/codehaus/gmaven/runti
me/gmaven-runtime-loader/1.4/gmaven-runtime-loader-1.4.jar
[ERROR] urls[4] = file:/C:/Users/514453/.m2/repository/org/codehaus/gmaven/featu
re/gmaven-feature-support/1.4/gmaven-feature-support-1.4.jar
[ERROR] urls[5] = file:/C:/Users/514453/.m2/repository/org/codehaus/gmaven/runti
me/gmaven-runtime-support/1.4/gmaven-runtime-support-1.4.jar
[ERROR] urls[6] = file:/C:/Users/514453/.m2/repository/org/sonatype/gshell/gshel
l-io/2.4/gshell-io-2.4.jar
[ERROR] urls[7] = file:/C:/Users/514453/.m2/repository/org/codehaus/plexus/plexu
s-utils/3.0/plexus-utils-3.0.jar
[ERROR] urls[8] = file:/C:/Users/514453/.m2/repository/com/thoughtworks/qdox/qdo
x/1.12/qdox-1.12.jar
[ERROR] urls[9] = file:/C:/Users/514453/.m2/repository/org/apache/maven/shared/f
ile-management/1.2.1/file-management-1.2.1.jar
[ERROR] urls[10] = file:/C:/Users/514453/.m2/repository/org/apache/maven/shared/
maven-shared-io/1.1/maven-shared-io-1.1.jar
[ERROR] urls[11] = file:/C:/Users/514453/.m2/repository/org/apache/xbean/xbean-r
eflect/3.4/xbean-reflect-3.4.jar
[ERROR] urls[12] = file:/C:/Users/514453/.m2/repository/log4j/log4j/1.2.12/log4j
-1.2.12.jar
[ERROR] urls[13] = file:/C:/Users/514453/.m2/repository/commons-logging/commons-
logging-api/1.1/commons-logging-api-1.1.jar
[ERROR] urls[14] = file:/C:/Users/514453/.m2/repository/com/google/collections/g
oogle-collections/1.0/google-collections-1.0.jar
[ERROR] urls[15] = file:/C:/Users/514453/.m2/repository/org/apache/maven/reporti
ng/maven-reporting-impl/2.0.4.1/maven-reporting-impl-2.0.4.1.jar
[ERROR] urls[16] = file:/C:/Users/514453/.m2/repository/org/codehaus/plexus/plex
us-interpolation/1.1/plexus-interpolation-1.1.jar
[ERROR] urls[17] = file:/C:/Users/514453/.m2/repository/commons-validator/common
s-validator/1.2.0/commons-validator-1.2.0.jar
[ERROR] urls[18] = file:/C:/Users/514453/.m2/repository/commons-beanutils/common
s-beanutils/1.7.0/commons-beanutils-1.7.0.jar
[ERROR] urls[19] = file:/C:/Users/514453/.m2/repository/commons-digester/commons
-digester/1.6/commons-digester-1.6.jar
[ERROR] urls[20] = file:/C:/Users/514453/.m2/repository/commons-logging/commons-
logging/1.0.4/commons-logging-1.0.4.jar
[ERROR] urls[21] = file:/C:/Users/514453/.m2/repository/oro/oro/2.0.8/oro-2.0.8.
jar
[ERROR] urls[22] = file:/C:/Users/514453/.m2/repository/xml-apis/xml-apis/1.0.b2
/xml-apis-1.0.b2.jar
[ERROR] urls[23] = file:/C:/Users/514453/.m2/repository/org/apache/maven/doxia/d
oxia-core/1.0-alpha-10/doxia-core-1.0-alpha-10.jar
[ERROR] urls[24] = file:/C:/Users/514453/.m2/repository/org/apache/maven/doxia/d
oxia-sink-api/1.0-alpha-10/doxia-sink-api-1.0-alpha-10.jar
[ERROR] urls[25] = file:/C:/Users/514453/.m2/repository/org/apache/maven/reporti
ng/maven-reporting-api/2.0.4/maven-reporting-api-2.0.4.jar
[ERROR] urls[26] = file:/C:/Users/514453/.m2/repository/org/apache/maven/doxia/d
oxia-site-renderer/1.0-alpha-10/doxia-site-renderer-1.0-alpha-10.jar
[ERROR] urls[27] = file:/C:/Users/514453/.m2/repository/org/codehaus/plexus/plex
us-i18n/1.0-beta-7/plexus-i18n-1.0-beta-7.jar
[ERROR] urls[28] = file:/C:/Users/514453/.m2/repository/org/codehaus/plexus/plex
us-velocity/1.1.7/plexus-velocity-1.1.7.jar
[ERROR] urls[29] = file:/C:/Users/514453/.m2/repository/org/apache/velocity/velo
city/1.5/velocity-1.5.jar
[ERROR] urls[30] = file:/C:/Users/514453/.m2/repository/org/apache/maven/doxia/d
oxia-decoration-model/1.0-alpha-10/doxia-decoration-model-1.0-alpha-10.jar
[ERROR] urls[31] = file:/C:/Users/514453/.m2/repository/commons-collections/comm
ons-collections/3.2/commons-collections-3.2.jar
[ERROR] urls[32] = file:/C:/Users/514453/.m2/repository/org/apache/maven/doxia/d
oxia-module-apt/1.0-alpha-10/doxia-module-apt-1.0-alpha-10.jar
[ERROR] urls[33] = file:/C:/Users/514453/.m2/repository/org/apache/maven/doxia/d
oxia-module-fml/1.0-alpha-10/doxia-module-fml-1.0-alpha-10.jar
[ERROR] urls[34] = file:/C:/Users/514453/.m2/repository/org/apache/maven/doxia/d
oxia-module-xdoc/1.0-alpha-10/doxia-module-xdoc-1.0-alpha-10.jar
[ERROR] urls[35] = file:/C:/Users/514453/.m2/repository/org/apache/maven/doxia/d
oxia-module-xhtml/1.0-alpha-10/doxia-module-xhtml-1.0-alpha-10.jar
[ERROR] urls[36] = file:/C:/Users/514453/.m2/repository/commons-lang/commons-lan
g/2.6/commons-lang-2.6.jar
[ERROR] urls[37] = file:/C:/Users/514453/.m2/repository/org/sonatype/gossip/goss
ip/1.2/gossip-1.2.jar
[ERROR] Number of foreign imports: 1
[ERROR] import: Entry[import  from realm ClassRealm[project>org.codehaus.groovy.
modules.http-builder:http-builder:0.7.3-SNAPSHOT, parent: ClassRealm[maven.api,
parent: null]]]
[ERROR]
[ERROR] -----------------------------------------------------: org.codehaus.gmav
en.runtime.ClassCompiler$Keys
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginContaine
rException
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant