com.google.inject.ProvisionException: Unable to provision, see the following errors: 1) Error injecting constructor, java.lang.NoClassDefFoundError: com/thoughtworks/xstream/io/HierarchicalStreamDriver at org.apache.maven.plugin.war.WarMojo.(Unknown Source) while locating org.apache.maven.plugin.war.WarMojo 1 error

Stack Overflow | Syed | 2 months ago
  1. 0

    Error injecting constructor, java.lang.NoClassDefFoundError: com/thoughtworks/xstream/io/HierarchicalStreamDriver in Spring MVC

    Stack Overflow | 2 months ago | Syed
    com.google.inject.ProvisionException: Unable to provision, see the following errors: 1) Error injecting constructor, java.lang.NoClassDefFoundError: com/thoughtworks/xstream/io/HierarchicalStreamDriver at org.apache.maven.plugin.war.WarMojo.(Unknown Source) while locating org.apache.maven.plugin.war.WarMojo 1 error
  2. 0

    Dinamyc Proxy

    gilead | 8 years ago | llusetti
    java.lang.NoClassDefFoundError: com/thoughtworks/xstream/io/HierarchicalStreamDriver
  3. 0

    update hibernate4gwt to gilead

    gilead | 8 years ago | fother
    java.lang.NoClassDefFoundError: com/thoughtworks/xstream/io/HierarchicalStreamDriver
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Unable to use XStream in RCP [newbie]

    Google Groups | 7 years ago | Mauro
    org.eclipse.core.runtime.CoreException: Plug-in "it.condarelli.rcp.mcwriter" was unable to instantiate class "it.condarelli.rcp.mcwriter.commands.SaveHandler".
  6. 0

    Unable to use XStream in RCP [newbie]

    Google Groups | 7 years ago | Mauro
    java.lang.NoClassDefFoundError: com/thoughtworks/xstream/io/ HierarchicalStreamDriver

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      com/thoughtworks/xstream/io/HierarchicalStreamDriver

      at org.apache.maven.plugin.war.AbstractWarMojo.<init>()
    2. org.apache.maven
      WarMojo.<init>
      1. org.apache.maven.plugin.war.AbstractWarMojo.<init>(AbstractWarMojo.java:316)
      2. org.apache.maven.plugin.war.WarMojo.<init>(WarMojo.java:49)
      2 frames
    3. Java RT
      Constructor.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      4. java.lang.reflect.Constructor.newInstance(Constructor.java:423)
      4 frames
    4. Google Guice - Core Library
      InjectorImpl.getInstance
      1. com.google.inject.internal.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java:86)
      2. com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:105)
      3. com.google.inject.internal.ConstructorInjector.access$000(ConstructorInjector.java:32)
      4. com.google.inject.internal.ConstructorInjector$1.call(ConstructorInjector.java:89)
      5. com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:115)
      6. com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:133)
      7. com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:68)
      8. com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:87)
      9. com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:267)
      10. com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:1016)
      11. com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)
      12. com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1012)
      13. com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1051)
      13 frames
    5. org.eclipse.sisu
      AbstractDeferredClass.get
      1. org.eclipse.sisu.space.AbstractDeferredClass.get(AbstractDeferredClass.java:48)
      1 frame
    6. Google Guice - Core Library
      ProvisionListenerStackCallback$Provision.provision
      1. com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:81)
      2. com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:53)
      3. com.google.inject.internal.ProviderInternalFactory$1.call(ProviderInternalFactory.java:65)
      4. com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:115)
      4 frames
    7. org.eclipse.sisu
      BeanScheduler$Activator.onProvision
      1. org.eclipse.sisu.bean.BeanScheduler$Activator.onProvision(BeanScheduler.java:176)
      1 frame
    8. Google Guice - Core Library
      InjectorImpl$2.get
      1. com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:126)
      2. com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:68)
      3. com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:63)
      4. com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:45)
      5. com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:1016)
      6. com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092)
      7. com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1012)
      7 frames
    9. org.eclipse.sisu
      LazyPlexusBean.getValue
      1. org.eclipse.sisu.inject.Guice4$1.get(Guice4.java:162)
      2. org.eclipse.sisu.inject.LazyBeanEntry.getValue(LazyBeanEntry.java:81)
      3. org.eclipse.sisu.plexus.LazyPlexusBean.getValue(LazyPlexusBean.java:51)
      3 frames
    10. Plexus
      DefaultPlexusContainer.lookup
      1. org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:263)
      2. org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:255)
      2 frames
    11. Maven Core
      DefaultMavenPluginManager.getConfiguredMojo
      1. org.apache.maven.plugin.internal.DefaultMavenPluginManager.getConfiguredMojo(DefaultMavenPluginManager.java:517)
      1 frame
    12. Maven Plugin
      DefaultBuildPluginManager.executeMojo
      1. org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:121)
      1 frame
    13. Maven Core
      DefaultMaven.execute
      1. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
      2. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
      3. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
      4. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
      5. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
      6. org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
      7. org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
      8. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
      9. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
      10. org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
      10 frames
    14. M3 Interceptor
      MavenCli.main
      1. org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
      2. org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
      3. org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
      3 frames
    15. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    16. Plexus
      Launcher.main
      1. org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
      2. org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
      3. org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
      4. org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
      4 frames