com.springsource.kernel.osgi.framework.ExtendedClassNotFoundException: app.a.A in KernelBundleClassLoader: [bundle=com.springsource.kernel.test.dependant_2.0.0]

SpringSource Issue Tracker | Glyn Normington (c) | 8 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    The following error occurs very occasionally in an Ant build. It seems that LoadTimeWeavingTests are somehow accessing a bundle from KernelBundleClassLoaderTests. LoadTimeWeavingTests instrumentPackageIncludes Error app.a.A in KernelBundleClassLoader: [bundle=com.springsource.kernel.test.dependant_2.0.0] com.springsource.kernel.osgi.framework.ExtendedClassNotFoundException: app.a.A in KernelBundleClassLoader: [bundle=com.springsource.kernel.test.dependant_2.0.0] at com.springsource.kernel.osgi.framework.equinox.KernelBundleClassLoader.loadClass(KernelBundleClassLoader.java:139) at com.springsource.kernel.osgi.framework.equinox.KernelBundleClassLoader$ThrowAwayClassLoader.loadClass(KernelBundleClassLoader.java:407) at java.lang.ClassLoader.loadClass(ClassLoader.java:254) at com.springsource.kernel.osgi.framework.equinox.LoadTimeWeavingTests.instrumentPackageIncludes(LoadTimeWeavingTests.java:75) Caused by: java.lang.ClassNotFoundException: app.a.A at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:489) at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:405) at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:393) at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:88) at com.springsource.kernel.osgi.framework.equinox.KernelBundleClassLoader.loadClass(KernelBundleClassLoader.java:137)

    SpringSource Issue Tracker | 8 years ago | Glyn Normington (c)
    com.springsource.kernel.osgi.framework.ExtendedClassNotFoundException: app.a.A in KernelBundleClassLoader: [bundle=com.springsource.kernel.test.dependant_2.0.0]
  2. 0

    The following error occurs very occasionally in an Ant build. It seems that LoadTimeWeavingTests are somehow accessing a bundle from KernelBundleClassLoaderTests. LoadTimeWeavingTests instrumentPackageIncludes Error app.a.A in KernelBundleClassLoader: [bundle=com.springsource.kernel.test.dependant_2.0.0] com.springsource.kernel.osgi.framework.ExtendedClassNotFoundException: app.a.A in KernelBundleClassLoader: [bundle=com.springsource.kernel.test.dependant_2.0.0] at com.springsource.kernel.osgi.framework.equinox.KernelBundleClassLoader.loadClass(KernelBundleClassLoader.java:139) at com.springsource.kernel.osgi.framework.equinox.KernelBundleClassLoader$ThrowAwayClassLoader.loadClass(KernelBundleClassLoader.java:407) at java.lang.ClassLoader.loadClass(ClassLoader.java:254) at com.springsource.kernel.osgi.framework.equinox.LoadTimeWeavingTests.instrumentPackageIncludes(LoadTimeWeavingTests.java:75) Caused by: java.lang.ClassNotFoundException: app.a.A at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:489) at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:405) at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:393) at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:88) at com.springsource.kernel.osgi.framework.equinox.KernelBundleClassLoader.loadClass(KernelBundleClassLoader.java:137)

    SpringSource Issue Tracker | 8 years ago | Glyn Normington (c)
    com.springsource.kernel.osgi.framework.ExtendedClassNotFoundException: app.a.A in KernelBundleClassLoader: [bundle=com.springsource.kernel.test.dependant_2.0.0]
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    problem with javax.mail packages - Spring Forum

    spring.io | 9 months ago
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mailSender' defined in URL [bundleentry://171.fwk16675983/META-INF/spring/module-osgi.xml]: Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: javax/mail/MessagingException
  5. 0

    The attached app is fails to deploy on dm Server 2.0 snapshot build giving the "java.lang.ClassNotFoundException: org.w3c.dom.ls.DocumentLS" The full stack trace can be found in the attachment. The same app is deployed successfully in 2.0.0.M2 [2009-06-16 09:48:07.464] async-delivery-thread-1 ContainerBase.[Catalina].[localhost].[/wicket-phonebook].unknown E Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener com.springsource.kernel.osgi.framework.ExtendedNoClassDefFoundError: org/w3c/dom/ls/DocumentLS in KernelBundleClassLoader: [bundle=wicket-phonebook.war_0.0.0] in KernelBundleClassLoader: [bundle=wicket-phonebook.war_0.0.0] at com.springsource.kernel.osgi.framework.equinox.KernelBundleClassLoader.loadClass(KernelBundleClassLoader.java:141) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:374) at org.apache.xerces.jaxp.DocumentBuilderImpl.<init>(DocumentBuilderImpl.java:102) at org.apache.xerces.jaxp.DocumentBuilderFactoryImpl.newDocumentBuilder(DocumentBuilderFactoryImpl.java:88) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.createDocumentBuilder(XmlBeanDefinitionReader.java:268) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:221) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:173) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:148) at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:126) at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:142) at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:126) at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:94) at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:89) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:269) at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:134) at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:246) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:184) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4342) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525) at com.springsource.osgi.webcontainer.tomcat.TomcatServletContainer.startWebApplication(TomcatServletContainer.java:102) at com.springsource.osgi.webcontainer.internal.StandardWebContainer$StandardWebApplication.start(StandardWebContainer.java:102) at com.springsource.server.web.core.internal.WebBundlePersonality.onStarted(WebBundlePersonality.java:84) at com.springsource.kernel.deployer.core.module.AbstractModule.onStarted(AbstractModule.java:218) at com.springsource.kernel.deployer.core.module.StandardModule.onStarted(StandardModule.java:654) at com.springsource.kernel.deployer.core.module.DeployerBundleListener$2$1.run(DeployerBundleListener.java:148) at com.springsource.kernel.concurrent.ExecutorServiceDelegate$KernelRunnable.run(ExecutorServiceDelegate.java:121) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) at java.lang.Thread.run(Thread.java:637) Caused by: com.springsource.kernel.osgi.framework.ExtendedNoClassDefFoundError: org/w3c/dom/ls/DocumentLS in KernelBundleClassLoader: [bundle=wicket-phonebook.war_0.0.0] at com.springsource.kernel.osgi.framework.equinox.KernelBundleClassLoader.defineClass(KernelBundleClassLoader.java:334) at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineClass(ClasspathManager.java:574) at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findClassImpl(ClasspathManager.java:544) at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClassImpl(ClasspathManager.java:475) at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass_LockClassLoader(ClasspathManager.java:463) at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:443) at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:194) at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:376) at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:452) at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:405) at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:393) at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:88) at com.springsource.kernel.osgi.framework.equinox.KernelBundleClassLoader.loadClass(KernelBundleClassLoader.java:137) ... 33 more Caused by: java.lang.NoClassDefFoundError: org/w3c/dom/ls/DocumentLS at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:675) at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.defineClass(DefaultClassLoader.java:166) at com.springsource.kernel.osgi.framework.equinox.KernelBundleClassLoader.defineClass(KernelBundleClassLoader.java:332) ... 45 more Caused by: com.springsource.kernel.osgi.framework.ExtendedClassNotFoundException: org.w3c.dom.ls.DocumentLS in KernelBundleClassLoader: [bundle=wicket-phonebook.war_0.0.0] at com.springsource.kernel.osgi.framework.equinox.KernelBundleClassLoader.loadClass(KernelBundleClassLoader.java:139) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:374) ... 49 more Caused by: java.lang.ClassNotFoundException: org.w3c.dom.ls.DocumentLS at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:443) at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:405) at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:393) at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:88) at com.springsource.kernel.osgi.framework.equinox.KernelBundleClassLoader.loadClass(KernelBundleClassLoader.java:137) ... 51 more [2009-06-16 09:48:07.465] async-delivery-thread-1 org.apache.catalina.core.StandardContext.unknown E Error listenerStart [2009-06-16 09:48:07.466] async-delivery-thread-1 org.apache.catalina.core.StandardContext.unknown E Context [/wicket-phonebook] startup failed due to previous errors [2009-06-16 09:48:07.552] async-delivery-thread-1 ngsource.osgi.webcontainer.internal.StandardWebContainer.unknown E Failed to start web application at context path '/wicket-phonebook' com.springsource.osgi.webcontainer.core.spi.ServletContainerException: Web application at '/wicket-phonebook' failed to start. Check the logs for more details. at com.springsource.osgi.webcontainer.tomcat.TomcatServletContainer.startWebApplication(TomcatServletContainer.java:105) at com.springsource.osgi.webcontainer.internal.StandardWebContainer$StandardWebApplication.start(StandardWebContainer.java:102) at com.springsource.server.web.core.internal.WebBundlePersonality.onStarted(WebBundlePersonality.java:84) at com.springsource.kernel.deployer.core.module.AbstractModule.onStarted(AbstractModule.java:218) at com.springsource.kernel.deployer.core.module.StandardModule.onStarted(StandardModule.java:654) at com.springsource.kernel.deployer.core.module.DeployerBundleListener$2$1.run(DeployerBundleListener.java:148) at com.springsource.kernel.concurrent.ExecutorServiceDelegate$KernelRunnable.run(ExecutorServiceDelegate.java:121) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) at java.lang.Thread.run(Thread.java:637)

    SpringSource Issue Tracker | 8 years ago | Radhika Madala (c)
    com.springsource.kernel.osgi.framework.ExtendedNoClassDefFoundError: org/w3c/dom/ls/DocumentLS in KernelBundleClassLoader: [bundle=wicket-phonebook.war_0.0.0] in KernelBundleClassLoader: [bundle=wicket-phonebook.war_0.0.0]

    41 unregistered visitors
    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

      app.a.A

      at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal()
    2. Eclipse OSGi
      BundleLoader.findClass
      1. org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:489)
      2. org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:405)
      3. org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:393)
      3 frames
    3. Eclipse OSGi
      DefaultClassLoader.loadClass
      1. org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:88)
      1 frame
    4. com.springsource.kernel
      KernelBundleClassLoader.loadClass
      1. com.springsource.kernel.osgi.framework.equinox.KernelBundleClassLoader.loadClass(KernelBundleClassLoader.java:137)
      1 frame