java.lang.NoClassDefFoundError: org/apache/velocity/context/Context

Google Groups | Unknown author | 2 weeks ago
  1. 0

    Re: [tycho-user] ClassNotFoundException: org.eclipse.osgi.service.plugin

    eclipse.org | 1 year ago
    java.lang.NoClassDefFoundError: org/eclipse/osgi/service/pluginconversion/PluginConversionException
  2. 0

    maven 3.3.9 building ERROR

    Stack Overflow | 6 months ago | Ahmed Al-hajri
    java.lang.NoClassDefFoundError: org/apache/velocity/context/Context
  3. 0

    jacoco-maven-plugin depends on too old plexus-utils

    GitHub | 2 years ago | TobiX
    java.lang.NoClassDefFoundError: org/codehaus/plexus/util/AbstractScanner
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [jira] [Created] (ARIES-1145) Version Check Plugin fails to run with Maven 3.1+

    aries-dev | 3 years ago | Chetan Mehrotra (JIRA)
    java.lang.NoClassDefFoundError: org/sonatype/aether/resolution/ArtifactResolutionException
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.ClassNotFoundException

    org.apache.velocity.context.Context

    at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass()
  2. Plexus
    ClassRealm.loadClass
    1. org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
    2. org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271)
    3. org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:247)
    4. org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239)
    4 frames
  3. Java RT
    Class.getDeclaredConstructors
    1. java.lang.Class.getDeclaredConstructors0(Native Method)
    2. java.lang.Class.privateGetDeclaredConstructors(Class.java:2671)
    3. java.lang.Class.getDeclaredConstructors(Class.java:2020)
    3 frames
  4. Google Guice - Core Library
    InjectorImpl.getInstance
    1. com.google.inject.spi.InjectionPoint.forConstructorOf(InjectionPoint.java:245)
    2. com.google.inject.internal.ConstructorBindingImpl.create(ConstructorBindingImpl.java:99)
    3. com.google.inject.internal.InjectorImpl.createUninitializedBinding(InjectorImpl.java:657)
    4. com.google.inject.internal.InjectorImpl.createJustInTimeBinding(InjectorImpl.java:875)
    5. com.google.inject.internal.InjectorImpl.createJustInTimeBindingRecursive(InjectorImpl.java:798)
    6. com.google.inject.internal.InjectorImpl.getJustInTimeBinding(InjectorImpl.java:281)
    7. com.google.inject.internal.InjectorImpl.getBindingOrThrow(InjectorImpl.java:213)
    8. com.google.inject.internal.InjectorImpl.getProviderOrThrow(InjectorImpl.java:998)
    9. com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:1031)
    10. com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:994)
    11. com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1044)
    11 frames
  5. org.eclipse.sisu
    AbstractDeferredClass.get
    1. org.eclipse.sisu.space.AbstractDeferredClass.get(AbstractDeferredClass.java:48)
    1 frame
  6. Google Guice - Core Library
    InjectorImpl$2.get
    1. com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:86)
    2. com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:54)
    3. com.google.inject.internal.ProviderInternalFactory$1.call(ProviderInternalFactory.java:70)
    4. com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:115)
    5. com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:133)
    6. com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:68)
    7. com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:68)
    8. com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:46)
    9. com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
    10. com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1066)
    11. com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
    12. com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:36)
    13. com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
    14. com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:1009)
    15. com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1066)
    16. com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1005)
    16 frames
  7. org.eclipse.sisu
    BeanInjector.injectMembers
    1. org.eclipse.sisu.inject.LazyBeanEntry.getValue(LazyBeanEntry.java:81)
    2. org.eclipse.sisu.plexus.LazyPlexusBean.getValue(LazyPlexusBean.java:51)
    3. org.eclipse.sisu.plexus.PlexusRequirements$RequirementProvider.get(PlexusRequirements.java:250)
    4. org.eclipse.sisu.plexus.ProvidedPropertyBinding.injectProperty(ProvidedPropertyBinding.java:48)
    5. org.eclipse.sisu.bean.BeanInjector.injectMembers(BeanInjector.java:52)
    5 frames
  8. Google Guice - Core Library
    InjectorImpl.getInstance
    1. com.google.inject.internal.MembersInjectorImpl.injectMembers(MembersInjectorImpl.java:140)
    2. com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:117)
    3. com.google.inject.internal.ConstructorInjector.access$000(ConstructorInjector.java:32)
    4. com.google.inject.internal.ConstructorInjector$1.call(ConstructorInjector.java:92)
    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:90)
    9. com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:269)
    10. com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:1009)
    11. com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1066)
    12. com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1005)
    13. com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1044)
    13 frames
  9. org.eclipse.sisu
    AbstractDeferredClass.get
    1. org.eclipse.sisu.space.AbstractDeferredClass.get(AbstractDeferredClass.java:48)
    1 frame
  10. Google Guice - Core Library
    ProvisionListenerStackCallback$Provision.provision
    1. com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:86)
    2. com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:54)
    3. com.google.inject.internal.ProviderInternalFactory$1.call(ProviderInternalFactory.java:70)
    4. com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:115)
    4 frames
  11. org.eclipse.sisu
    BeanScheduler$Activator.onProvision
    1. org.eclipse.sisu.bean.BeanScheduler$Activator.onProvision(BeanScheduler.java:176)
    1 frame
  12. Google Guice - Core Library
    SingletonScope$1.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:68)
    4. com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:46)
    5. com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:1009)
    6. com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1059)
    7. com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1005)
    8. com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:36)
    8 frames
  13. org.eclipse.sisu
    LazyPlexusBean.getValue
    1. org.eclipse.sisu.inject.LazyBeanEntry.getValue(LazyBeanEntry.java:81)
    2. org.eclipse.sisu.plexus.LazyPlexusBean.getValue(LazyPlexusBean.java:51)
    2 frames
  14. Plexus
    DefaultPlexusContainer.lookup
    1. org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:263)
    2. org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:255)
    2 frames
  15. Maven Core
    DefaultMavenPluginManager.getConfiguredMojo
    1. org.apache.maven.plugin.internal.DefaultMavenPluginManager.getConfiguredMojo(DefaultMavenPluginManager.java:546)
    1 frame
  16. Maven Plugin
    DefaultBuildPluginManager.executeMojo
    1. org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:121)
    1 frame
  17. Maven Core
    DefaultMaven.execute
    1. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
    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
  18. M3 Interceptor
    MavenCli.main
    1. org.apache.maven.cli.MavenCli.execute(MavenCli.java:862)
    2. org.apache.maven.cli.MavenCli.doMain(MavenCli.java:286)
    3. org.apache.maven.cli.MavenCli.main(MavenCli.java:197)
    3 frames
  19. 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:497)
    4 frames
  20. 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