java.lang.ClassNotFoundException: org.apache.karaf.jaas.modules.RolePrincipal not found from bundle [wsdl_first]

Apache's JIRA Issue Tracker | Alexey Markevich | 4 years ago
  1. 0

    During call attached service there is following error occurred: <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/> <title>Error 500 java.lang.ClassNotFoundException: org.apache.karaf.jaas.modules.RolePrincipal not found from bundle [wsdl_first]</title> </head> <body> <h2>HTTP ERROR 500</h2> <p> Problem accessing /services/CustomerServicePort. Reason: <pre>java.lang.ClassNotFoundException: org.apache.karaf.jaas.modules.RolePrincipal not found from bundle [wsdl_first]</pre> </p> <h3>Caused by:</h3> <pre>java.lang.RuntimeException: java.lang.ClassNotFoundException: org.apache.karaf.jaas.modules.RolePrincipal not found from bundle [wsdl_first] at org.eclipse.jetty.plus.jaas.JAASLoginService.getGroups(JAASLoginService.java:306) at org.eclipse.jetty.plus.jaas.JAASLoginService.login(JAASLoginService.java:223) at org.eclipse.jetty.security.authentication.BasicAuthenticator.validateRequest(BasicAuthenticator.java:83) at org.eclipse.jetty.security.authentication.DeferredAuthentication.authenticate(DeferredAuthentication.java:103) at org.eclipse.jetty.server.Request.getUserPrincipal(Request.java:1226) at org.apache.cxf.transport.http.AbstractHTTPDestination$2.&lt;init>(AbstractHTTPDestination.java:307) at org.apache.cxf.transport.http.AbstractHTTPDestination.setupMessage(AbstractHTTPDestination.java:306) at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:194) at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:213) at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:193) at org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:130) at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:221) at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTTPServlet.java:141) at javax.servlet.http.HttpServlet.service(HttpServlet.java:713) at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:197) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:547) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:480) at org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle(HttpServiceServletHandler.java:70) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:483) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:227) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:941) at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpServiceContext.java:117) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:409) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:186) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:875) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117) at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:149) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110) at org.eclipse.jetty.server.Server.handle(Server.java:349) at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:441) at org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpConnection.java:936) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:801) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:224) at org.eclipse.jetty.server.BlockingHttpConnection.handle(BlockingHttpConnection.java:50) at org.eclipse.jetty.server.nio.BlockingChannelConnector$BlockingChannelEndPoint.run(BlockingChannelConnector.java:293) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:598) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:533) at java.lang.Thread.run(Thread.java:662) Caused by: java.lang.ClassNotFoundException: org.apache.karaf.jaas.modules.RolePrincipal not found from bundle [wsdl_first] at org.springframework.osgi.util.BundleDelegatingClassLoader.findClass(BundleDelegatingClassLoader.java:103) at org.springframework.osgi.util.BundleDelegatingClassLoader.loadClass(BundleDelegatingClassLoader.java:156) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) at org.eclipse.jetty.plus.jaas.JAASLoginService.getGroups(JAASLoginService.java:294) ... 38 more Caused by: java.lang.ClassNotFoundException: org.apache.karaf.jaas.modules.RolePrincipal not found by wsdl_first [260] at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:812) at org.apache.felix.framework.ModuleImpl.access$400(ModuleImpl.java:72) at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1807) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) at org.apache.felix.framework.ModuleImpl.getClassByDelegation(ModuleImpl.java:670) at org.apache.felix.framework.Felix.loadBundleClass(Felix.java:1654) at org.apache.felix.framework.BundleImpl.loadClass(BundleImpl.java:909) at org.springframework.osgi.util.BundleDelegatingClassLoader.findClass(BundleDelegatingClassLoader.java:99) ... 41 more</pre> <h3>Caused by:</h3> <pre>java.lang.ClassNotFoundException: org.apache.karaf.jaas.modules.RolePrincipal not found from bundle [wsdl_first] at org.springframework.osgi.util.BundleDelegatingClassLoader.findClass(BundleDelegatingClassLoader.java:103) at org.springframework.osgi.util.BundleDelegatingClassLoader.loadClass(BundleDelegatingClassLoader.java:156) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) at org.eclipse.jetty.plus.jaas.JAASLoginService.getGroups(JAASLoginService.java:294) at org.eclipse.jetty.plus.jaas.JAASLoginService.login(JAASLoginService.java:223) at org.eclipse.jetty.security.authentication.BasicAuthenticator.validateRequest(BasicAuthenticator.java:83) at org.eclipse.jetty.security.authentication.DeferredAuthentication.authenticate(DeferredAuthentication.java:103) at org.eclipse.jetty.server.Request.getUserPrincipal(Request.java:1226) at org.apache.cxf.transport.http.AbstractHTTPDestination$2.&lt;init>(AbstractHTTPDestination.java:307) at org.apache.cxf.transport.http.AbstractHTTPDestination.setupMessage(AbstractHTTPDestination.java:306) at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:194) at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:213) at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:193) at org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:130) at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:221) at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTTPServlet.java:141) at javax.servlet.http.HttpServlet.service(HttpServlet.java:713) at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:197) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:547) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:480) at org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle(HttpServiceServletHandler.java:70) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:483) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:227) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:941) at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpServiceContext.java:117) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:409) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:186) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:875) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117) at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:149) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110) at org.eclipse.jetty.server.Server.handle(Server.java:349) at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:441) at org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpConnection.java:936) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:801) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:224) at org.eclipse.jetty.server.BlockingHttpConnection.handle(BlockingHttpConnection.java:50) at org.eclipse.jetty.server.nio.BlockingChannelConnector$BlockingChannelEndPoint.run(BlockingChannelConnector.java:293) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:598) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:533) at java.lang.Thread.run(Thread.java:662) Caused by: java.lang.ClassNotFoundException: org.apache.karaf.jaas.modules.RolePrincipal not found by wsdl_first [260] at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:812) at org.apache.felix.framework.ModuleImpl.access$400(ModuleImpl.java:72) at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1807) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) at org.apache.felix.framework.ModuleImpl.getClassByDelegation(ModuleImpl.java:670) at org.apache.felix.framework.Felix.loadBundleClass(Felix.java:1654) at org.apache.felix.framework.BundleImpl.loadClass(BundleImpl.java:909) at org.springframework.osgi.util.BundleDelegatingClassLoader.findClass(BundleDelegatingClassLoader.java:99) ... 41 more</pre> <h3>Caused by:</h3> <pre>java.lang.ClassNotFoundException: org.apache.karaf.jaas.modules.RolePrincipal not found by wsdl_first [260] at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:812) at org.apache.felix.framework.ModuleImpl.access$400(ModuleImpl.java:72) at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1807) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) at org.apache.felix.framework.ModuleImpl.getClassByDelegation(ModuleImpl.java:670) at org.apache.felix.framework.Felix.loadBundleClass(Felix.java:1654) at org.apache.felix.framework.BundleImpl.loadClass(BundleImpl.java:909) at org.springframework.osgi.util.BundleDelegatingClassLoader.findClass(BundleDelegatingClassLoader.java:99) at org.springframework.osgi.util.BundleDelegatingClassLoader.loadClass(BundleDelegatingClassLoader.java:156) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) at org.eclipse.jetty.plus.jaas.JAASLoginService.getGroups(JAASLoginService.java:294) at org.eclipse.jetty.plus.jaas.JAASLoginService.login(JAASLoginService.java:223) at org.eclipse.jetty.security.authentication.BasicAuthenticator.validateRequest(BasicAuthenticator.java:83) at org.eclipse.jetty.security.authentication.DeferredAuthentication.authenticate(DeferredAuthentication.java:103) at org.eclipse.jetty.server.Request.getUserPrincipal(Request.java:1226) at org.apache.cxf.transport.http.AbstractHTTPDestination$2.&lt;init>(AbstractHTTPDestination.java:307) at org.apache.cxf.transport.http.AbstractHTTPDestination.setupMessage(AbstractHTTPDestination.java:306) at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:194) at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:213) at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:193) at org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:130) at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:221) at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTTPServlet.java:141) at javax.servlet.http.HttpServlet.service(HttpServlet.java:713) at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:197) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:547) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:480) at org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle(HttpServiceServletHandler.java:70) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:483) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:227) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:941) at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpServiceContext.java:117) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:409) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:186) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:875) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117) at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:149) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110) at org.eclipse.jetty.server.Server.handle(Server.java:349) at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:441) at org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpConnection.java:936) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:801) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:224) at org.eclipse.jetty.server.BlockingHttpConnection.handle(BlockingHttpConnection.java:50) at org.eclipse.jetty.server.nio.BlockingChannelConnector$BlockingChannelEndPoint.run(BlockingChannelConnector.java:293) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:598) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:533) at java.lang.Thread.run(Thread.java:662)</pre> <hr/> <i> <small>Powered by Jetty://</small> </i> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> </body> </html>

    Apache's JIRA Issue Tracker | 4 years ago | Alexey Markevich
    java.lang.ClassNotFoundException: org.apache.karaf.jaas.modules.RolePrincipal not found from bundle [wsdl_first]
  2. 0

    Failed to classload type while reading annotation metadata

    Stack Overflow | 3 years ago | dwong
    java.lang.ClassNotFoundException: org.powermock.core.classloader.annotations.PrepareForTest not found from bundle [com.app.tool]
  3. 0

    I am seeing a class visibility issue with the new dependency code. I'm not sure what is causing this but I didn't have this problem with 1.1 and it looks like this is a bug. The class it is referencing is actually private (not exported) to the bundle I believe. The NPE is not great either! <13-Jun-2008 17:52:53 o'clock BST> <Warning> <org.springframework.osgi.extender. internal.dependencies.startup.DependencyServiceManager> <BEA-000000> <Dependency factory org.springframework.osgi.extender.internal.dependencies.startup.Mandato ryImporterDependencyFactory@1a88328 threw exception while detecting dependencies for beanFactory org.springframework.beans.factory.support.DefaultListableBeanFa ctory@87286: defining beans [com.bea.wlevs.spring.support.ServiceInjectionBeanPo stProcessor#0,org.springframework.osgi.extensions.annotation.ServiceReferenceInj ectionBeanPostProcessor#0,configuration,configDatabaseService,sessionManager,Sec urityService,securityController]; root of factory hierarchy org.springframework.beans.factory.BeanCreationException: Error creating bean wit h name 'configuration': Initialization of bean failed; nested exception is org.s pringframework.beans.TypeMismatchException: Failed to convert property value of type [java.lang.String] to required type [java.lang.Class[]] for property 'inter faces'; nested exception is java.lang.IllegalArgumentException: Cannot find clas s [com.bea.wlevs.configuration.internal.Configuration] at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.doCreateBean(AbstractAutowireCapableBeanFactory.java:478) at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory$1.run(AbstractAutowireCapableBeanFactory.java:409) at java.security.AccessController.doPrivileged(Native Method) at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.createBean(AbstractAutowireCapableBeanFactory.java:380) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getOb ject(AbstractBeanFactory.java:264) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistr y.getSingleton(DefaultSingletonBeanRegistry.java:221) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBe an(AbstractBeanFactory.java:261) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean (AbstractBeanFactory.java:185) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean (AbstractBeanFactory.java:164) at org.springframework.osgi.extender.internal.dependencies.startup.Manda toryImporterDependencyFactory.getServiceDependencies(MandatoryImporterDependency Factory.java:54) at org.springframework.osgi.extender.internal.dependencies.startup.Depen dencyServiceManager.findServiceDependencies(DependencyServiceManager.java:214) at org.springframework.osgi.extender.internal.dependencies.startup.Depen dencyWaiterApplicationContextExecutor.stageOne(DependencyWaiterApplicationContex tExecutor.java:249) at org.springframework.osgi.extender.internal.dependencies.startup.Depen dencyWaiterApplicationContextExecutor.refresh(DependencyWaiterApplicationContext Executor.java:173) at org.springframework.osgi.context.support.AbstractDelegatedExecutionAp plicationContext.refresh(AbstractDelegatedExecutionApplicationContext.java:136) at org.springframework.osgi.extender.internal.activator.ContextLoaderLis tener$2.run(ContextLoaderListener.java:749) at java.lang.Thread.run(Thread.java:595) org.springframework.beans.TypeMismatchException: Failed to convert property valu e of type [java.lang.String] to required type [java.lang.Class[]] for property ' interfaces'; nested exception is java.lang.IllegalArgumentException: Cannot find class [com.bea.wlevs.configuration.internal.Configuration] at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrap perImpl.java:391) at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.convertForProperty(AbstractAutowireCapableBeanFactory.java:1287) at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1248) at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.populateBean(AbstractAutowireCapableBeanFactory.java:1008) at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.doCreateBean(AbstractAutowireCapableBeanFactory.java:470) at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory$1.run(AbstractAutowireCapableBeanFactory.java:409) at java.security.AccessController.doPrivileged(Native Method) at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.createBean(AbstractAutowireCapableBeanFactory.java:380) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getOb ject(AbstractBeanFactory.java:264) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistr y.getSingleton(DefaultSingletonBeanRegistry.java:221) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBe an(AbstractBeanFactory.java:261) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean (AbstractBeanFactory.java:185) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean (AbstractBeanFactory.java:164) at org.springframework.osgi.extender.internal.dependencies.startup.Manda toryImporterDependencyFactory.getServiceDependencies(MandatoryImporterDependency Factory.java:54) at org.springframework.osgi.extender.internal.dependencies.startup.Depen dencyServiceManager.findServiceDependencies(DependencyServiceManager.java:214) at org.springframework.osgi.extender.internal.dependencies.startup.Depen dencyWaiterApplicationContextExecutor.stageOne(DependencyWaiterApplicationContex tExecutor.java:249) at org.springframework.osgi.extender.internal.dependencies.startup.Depen dencyWaiterApplicationContextExecutor.refresh(DependencyWaiterApplicationContext Executor.java:173) at org.springframework.osgi.context.support.AbstractDelegatedExecutionAp plicationContext.refresh(AbstractDelegatedExecutionApplicationContext.java:136) at org.springframework.osgi.extender.internal.activator.ContextLoaderLis tener$2.run(ContextLoaderListener.java:749) at java.lang.Thread.run(Thread.java:595) java.lang.IllegalArgumentException: Cannot find class [com.bea.wlevs.configurati on.internal.Configuration] at org.springframework.util.ClassUtils.resolveClassName(ClassUtils.java: 264) at org.springframework.beans.propertyeditors.ClassArrayEditor.setAsText( ClassArrayEditor.java:66) at org.springframework.beans.TypeConverterDelegate.doConvertTextValue(Ty peConverterDelegate.java:374) at org.springframework.beans.TypeConverterDelegate.doConvertValue(TypeCo nverterDelegate.java:350) at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(Ty peConverterDelegate.java:173) at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(Ty peConverterDelegate.java:138) at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrap perImpl.java:386) at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.convertForProperty(AbstractAutowireCapableBeanFactory.java:1287) at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1248) at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.populateBean(AbstractAutowireCapableBeanFactory.java:1008) at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.doCreateBean(AbstractAutowireCapableBeanFactory.java:470) at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory$1.run(AbstractAutowireCapableBeanFactory.java:409) at java.security.AccessController.doPrivileged(Native Method) at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.createBean(AbstractAutowireCapableBeanFactory.java:380) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getOb ject(AbstractBeanFactory.java:264) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistr y.getSingleton(DefaultSingletonBeanRegistry.java:221) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBe an(AbstractBeanFactory.java:261) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean (AbstractBeanFactory.java:185) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean (AbstractBeanFactory.java:164) at org.springframework.osgi.extender.internal.dependencies.startup.Manda toryImporterDependencyFactory.getServiceDependencies(MandatoryImporterDependency Factory.java:54) at org.springframework.osgi.extender.internal.dependencies.startup.Depen dencyServiceManager.findServiceDependencies(DependencyServiceManager.java:214) at org.springframework.osgi.extender.internal.dependencies.startup.Depen dencyWaiterApplicationContextExecutor.stageOne(DependencyWaiterApplicationContex tExecutor.java:249) at org.springframework.osgi.extender.internal.dependencies.startup.Depen dencyWaiterApplicationContextExecutor.refresh(DependencyWaiterApplicationContext Executor.java:173) at org.springframework.osgi.context.support.AbstractDelegatedExecutionAp plicationContext.refresh(AbstractDelegatedExecutionApplicationContext.java:136) at org.springframework.osgi.extender.internal.activator.ContextLoaderLis tener$2.run(ContextLoaderListener.java:749) at java.lang.Thread.run(Thread.java:595) java.lang.ClassNotFoundException: com.bea.wlevs.configuration.internal.Configura tion not found from bundle [com.bea.wlevs.security] at org.springframework.osgi.util.BundleDelegatingClassLoader.findClass(B undleDelegatingClassLoader.java:103) at org.springframework.osgi.util.BundleDelegatingClassLoader.loadClass(B undleDelegatingClassLoader.java:156) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at org.springframework.util.ClassUtils.forName(ClassUtils.java:242) at org.springframework.util.ClassUtils.resolveClassName(ClassUtils.java: 261) at org.springframework.beans.propertyeditors.ClassArrayEditor.setAsText( ClassArrayEditor.java:66) at org.springframework.beans.TypeConverterDelegate.doConvertTextValue(Ty peConverterDelegate.java:374) at org.springframework.beans.TypeConverterDelegate.doConvertValue(TypeCo nverterDelegate.java:350) at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(Ty peConverterDelegate.java:173) at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(Ty peConverterDelegate.java:138) at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrap perImpl.java:386) at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.convertForProperty(AbstractAutowireCapableBeanFactory.java:1287) at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1248) at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.populateBean(AbstractAutowireCapableBeanFactory.java:1008) at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.doCreateBean(AbstractAutowireCapableBeanFactory.java:470) at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory$1.run(AbstractAutowireCapableBeanFactory.java:409) at java.security.AccessController.doPrivileged(Native Method) at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.createBean(AbstractAutowireCapableBeanFactory.java:380) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getOb ject(AbstractBeanFactory.java:264) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistr y.getSingleton(DefaultSingletonBeanRegistry.java:221) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBe an(AbstractBeanFactory.java:261) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean (AbstractBeanFactory.java:185) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean (AbstractBeanFactory.java:164) at org.springframework.osgi.extender.internal.dependencies.startup.Manda toryImporterDependencyFactory.getServiceDependencies(MandatoryImporterDependency Factory.java:54) at org.springframework.osgi.extender.internal.dependencies.startup.Depen dencyServiceManager.findServiceDependencies(DependencyServiceManager.java:214) at org.springframework.osgi.extender.internal.dependencies.startup.Depen dencyWaiterApplicationContextExecutor.stageOne(DependencyWaiterApplicationContex tExecutor.java:249) at org.springframework.osgi.extender.internal.dependencies.startup.Depen dencyWaiterApplicationContextExecutor.refresh(DependencyWaiterApplicationContext Executor.java:173) at org.springframework.osgi.context.support.AbstractDelegatedExecutionAp plicationContext.refresh(AbstractDelegatedExecutionApplicationContext.java:136) at org.springframework.osgi.extender.internal.activator.ContextLoaderLis tener$2.run(ContextLoaderListener.java:749) at java.lang.Thread.run(Thread.java:595) java.lang.ClassNotFoundException: com.bea.wlevs.configuration.internal.Configura tion at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassIntern al(BundleLoader.java:434) at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(Bundl eLoader.java:369) at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(Bundl eLoader.java:357) at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(De faultClassLoader.java:83) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at org.eclipse.osgi.framework.internal.core.BundleLoader.loadClass(Bundl eLoader.java:289) at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleH ost.java:227) at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(Abs tractBundle.java:1269) at org.springframework.osgi.util.BundleDelegatingClassLoader.findClass(B undleDelegatingClassLoader.java:99) at org.springframework.osgi.util.BundleDelegatingClassLoader.loadClass(B undleDelegatingClassLoader.java:156) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at org.springframework.util.ClassUtils.forName(ClassUtils.java:242) at org.springframework.util.ClassUtils.resolveClassName(ClassUtils.java: 261) at org.springframework.beans.propertyeditors.ClassArrayEditor.setAsText( ClassArrayEditor.java:66) at org.springframework.beans.TypeConverterDelegate.doConvertTextValue(Ty peConverterDelegate.java:374) at org.springframework.beans.TypeConverterDelegate.doConvertValue(TypeCo nverterDelegate.java:350) at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(Ty peConverterDelegate.java:173) at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(Ty peConverterDelegate.java:138) at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrap perImpl.java:386) at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.convertForProperty(AbstractAutowireCapableBeanFactory.java:1287) at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1248) at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.populateBean(AbstractAutowireCapableBeanFactory.java:1008) at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.doCreateBean(AbstractAutowireCapableBeanFactory.java:470) at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory$1.run(AbstractAutowireCapableBeanFactory.java:409) at java.security.AccessController.doPrivileged(Native Method) at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.createBean(AbstractAutowireCapableBeanFactory.java:380) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getOb ject(AbstractBeanFactory.java:264) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistr y.getSingleton(DefaultSingletonBeanRegistry.java:221) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBe an(AbstractBeanFactory.java:261) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean (AbstractBeanFactory.java:185) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean (AbstractBeanFactory.java:164) at org.springframework.osgi.extender.internal.dependencies.startup.Manda toryImporterDependencyFactory.getServiceDependencies(MandatoryImporterDependency Factory.java:54) at org.springframework.osgi.extender.internal.dependencies.startup.Depen dencyServiceManager.findServiceDependencies(DependencyServiceManager.java:214) at org.springframework.osgi.extender.internal.dependencies.startup.Depen dencyWaiterApplicationContextExecutor.stageOne(DependencyWaiterApplicationContex tExecutor.java:249) at org.springframework.osgi.extender.internal.dependencies.startup.Depen dencyWaiterApplicationContextExecutor.refresh(DependencyWaiterApplicationContext Executor.java:173) at org.springframework.osgi.context.support.AbstractDelegatedExecutionAp plicationContext.refresh(AbstractDelegatedExecutionApplicationContext.java:136) at org.springframework.osgi.extender.internal.activator.ContextLoaderLis tener$2.run(ContextLoaderListener.java:749) at java.lang.Thread.run(Thread.java:595) > <13-Jun-2008 17:52:54 o'clock BST> <Error> <org.springframework.osgi.extender.in ternal.dependencies.startup.DependencyWaiterApplicationContextExecutor> <BEA-000 000> <Unable to create application context for [com.bea.wlevs.security], unsatis fied dependencies: none java.lang.NullPointerException at org.springframework.osgi.extender.internal.dependencies.startup.Depen dencyServiceManager.findServiceDependencies(DependencyServiceManager.java:222) at org.springframework.osgi.extender.internal.dependencies.startup.Depen dencyWaiterApplicationContextExecutor.stageOne(DependencyWaiterApplicationContex tExecutor.java:249) at org.springframework.osgi.extender.internal.dependencies.startup.Depen dencyWaiterApplicationContextExecutor.refresh(DependencyWaiterApplicationContext Executor.java:173) at org.springframework.osgi.context.support.AbstractDelegatedExecutionAp plicationContext.refresh(AbstractDelegatedExecutionApplicationContext.java:136) at org.springframework.osgi.extender.internal.activator.ContextLoaderLis tener$2.run(ContextLoaderListener.java:749) at java.lang.Thread.run(Thread.java:595) >

    Spring JIRA | 8 years ago | Andy Piper
    java.lang.ClassNotFoundException: com.bea.wlevs.configuration.internal.Configura tion not found from bundle [com.bea.wlevs.security]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    I am seeing a class visibility issue with the new dependency code. I'm not sure what is causing this but I didn't have this problem with 1.1 and it looks like this is a bug. The class it is referencing is actually private (not exported) to the bundle I believe. The NPE is not great either! <13-Jun-2008 17:52:53 o'clock BST> <Warning> <org.springframework.osgi.extender. internal.dependencies.startup.DependencyServiceManager> <BEA-000000> <Dependency factory org.springframework.osgi.extender.internal.dependencies.startup.Mandato ryImporterDependencyFactory@1a88328 threw exception while detecting dependencies for beanFactory org.springframework.beans.factory.support.DefaultListableBeanFa ctory@87286: defining beans [com.bea.wlevs.spring.support.ServiceInjectionBeanPo stProcessor#0,org.springframework.osgi.extensions.annotation.ServiceReferenceInj ectionBeanPostProcessor#0,configuration,configDatabaseService,sessionManager,Sec urityService,securityController]; root of factory hierarchy org.springframework.beans.factory.BeanCreationException: Error creating bean wit h name 'configuration': Initialization of bean failed; nested exception is org.s pringframework.beans.TypeMismatchException: Failed to convert property value of type [java.lang.String] to required type [java.lang.Class[]] for property 'inter faces'; nested exception is java.lang.IllegalArgumentException: Cannot find clas s [com.bea.wlevs.configuration.internal.Configuration] at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.doCreateBean(AbstractAutowireCapableBeanFactory.java:478) at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory$1.run(AbstractAutowireCapableBeanFactory.java:409) at java.security.AccessController.doPrivileged(Native Method) at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.createBean(AbstractAutowireCapableBeanFactory.java:380) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getOb ject(AbstractBeanFactory.java:264) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistr y.getSingleton(DefaultSingletonBeanRegistry.java:221) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBe an(AbstractBeanFactory.java:261) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean (AbstractBeanFactory.java:185) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean (AbstractBeanFactory.java:164) at org.springframework.osgi.extender.internal.dependencies.startup.Manda toryImporterDependencyFactory.getServiceDependencies(MandatoryImporterDependency Factory.java:54) at org.springframework.osgi.extender.internal.dependencies.startup.Depen dencyServiceManager.findServiceDependencies(DependencyServiceManager.java:214) at org.springframework.osgi.extender.internal.dependencies.startup.Depen dencyWaiterApplicationContextExecutor.stageOne(DependencyWaiterApplicationContex tExecutor.java:249) at org.springframework.osgi.extender.internal.dependencies.startup.Depen dencyWaiterApplicationContextExecutor.refresh(DependencyWaiterApplicationContext Executor.java:173) at org.springframework.osgi.context.support.AbstractDelegatedExecutionAp plicationContext.refresh(AbstractDelegatedExecutionApplicationContext.java:136) at org.springframework.osgi.extender.internal.activator.ContextLoaderLis tener$2.run(ContextLoaderListener.java:749) at java.lang.Thread.run(Thread.java:595) org.springframework.beans.TypeMismatchException: Failed to convert property valu e of type [java.lang.String] to required type [java.lang.Class[]] for property ' interfaces'; nested exception is java.lang.IllegalArgumentException: Cannot find class [com.bea.wlevs.configuration.internal.Configuration] at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrap perImpl.java:391) at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.convertForProperty(AbstractAutowireCapableBeanFactory.java:1287) at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1248) at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.populateBean(AbstractAutowireCapableBeanFactory.java:1008) at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.doCreateBean(AbstractAutowireCapableBeanFactory.java:470) at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory$1.run(AbstractAutowireCapableBeanFactory.java:409) at java.security.AccessController.doPrivileged(Native Method) at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.createBean(AbstractAutowireCapableBeanFactory.java:380) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getOb ject(AbstractBeanFactory.java:264) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistr y.getSingleton(DefaultSingletonBeanRegistry.java:221) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBe an(AbstractBeanFactory.java:261) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean (AbstractBeanFactory.java:185) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean (AbstractBeanFactory.java:164) at org.springframework.osgi.extender.internal.dependencies.startup.Manda toryImporterDependencyFactory.getServiceDependencies(MandatoryImporterDependency Factory.java:54) at org.springframework.osgi.extender.internal.dependencies.startup.Depen dencyServiceManager.findServiceDependencies(DependencyServiceManager.java:214) at org.springframework.osgi.extender.internal.dependencies.startup.Depen dencyWaiterApplicationContextExecutor.stageOne(DependencyWaiterApplicationContex tExecutor.java:249) at org.springframework.osgi.extender.internal.dependencies.startup.Depen dencyWaiterApplicationContextExecutor.refresh(DependencyWaiterApplicationContext Executor.java:173) at org.springframework.osgi.context.support.AbstractDelegatedExecutionAp plicationContext.refresh(AbstractDelegatedExecutionApplicationContext.java:136) at org.springframework.osgi.extender.internal.activator.ContextLoaderLis tener$2.run(ContextLoaderListener.java:749) at java.lang.Thread.run(Thread.java:595) java.lang.IllegalArgumentException: Cannot find class [com.bea.wlevs.configurati on.internal.Configuration] at org.springframework.util.ClassUtils.resolveClassName(ClassUtils.java: 264) at org.springframework.beans.propertyeditors.ClassArrayEditor.setAsText( ClassArrayEditor.java:66) at org.springframework.beans.TypeConverterDelegate.doConvertTextValue(Ty peConverterDelegate.java:374) at org.springframework.beans.TypeConverterDelegate.doConvertValue(TypeCo nverterDelegate.java:350) at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(Ty peConverterDelegate.java:173) at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(Ty peConverterDelegate.java:138) at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrap perImpl.java:386) at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.convertForProperty(AbstractAutowireCapableBeanFactory.java:1287) at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1248) at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.populateBean(AbstractAutowireCapableBeanFactory.java:1008) at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.doCreateBean(AbstractAutowireCapableBeanFactory.java:470) at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory$1.run(AbstractAutowireCapableBeanFactory.java:409) at java.security.AccessController.doPrivileged(Native Method) at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.createBean(AbstractAutowireCapableBeanFactory.java:380) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getOb ject(AbstractBeanFactory.java:264) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistr y.getSingleton(DefaultSingletonBeanRegistry.java:221) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBe an(AbstractBeanFactory.java:261) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean (AbstractBeanFactory.java:185) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean (AbstractBeanFactory.java:164) at org.springframework.osgi.extender.internal.dependencies.startup.Manda toryImporterDependencyFactory.getServiceDependencies(MandatoryImporterDependency Factory.java:54) at org.springframework.osgi.extender.internal.dependencies.startup.Depen dencyServiceManager.findServiceDependencies(DependencyServiceManager.java:214) at org.springframework.osgi.extender.internal.dependencies.startup.Depen dencyWaiterApplicationContextExecutor.stageOne(DependencyWaiterApplicationContex tExecutor.java:249) at org.springframework.osgi.extender.internal.dependencies.startup.Depen dencyWaiterApplicationContextExecutor.refresh(DependencyWaiterApplicationContext Executor.java:173) at org.springframework.osgi.context.support.AbstractDelegatedExecutionAp plicationContext.refresh(AbstractDelegatedExecutionApplicationContext.java:136) at org.springframework.osgi.extender.internal.activator.ContextLoaderLis tener$2.run(ContextLoaderListener.java:749) at java.lang.Thread.run(Thread.java:595) java.lang.ClassNotFoundException: com.bea.wlevs.configuration.internal.Configura tion not found from bundle [com.bea.wlevs.security] at org.springframework.osgi.util.BundleDelegatingClassLoader.findClass(B undleDelegatingClassLoader.java:103) at org.springframework.osgi.util.BundleDelegatingClassLoader.loadClass(B undleDelegatingClassLoader.java:156) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at org.springframework.util.ClassUtils.forName(ClassUtils.java:242) at org.springframework.util.ClassUtils.resolveClassName(ClassUtils.java: 261) at org.springframework.beans.propertyeditors.ClassArrayEditor.setAsText( ClassArrayEditor.java:66) at org.springframework.beans.TypeConverterDelegate.doConvertTextValue(Ty peConverterDelegate.java:374) at org.springframework.beans.TypeConverterDelegate.doConvertValue(TypeCo nverterDelegate.java:350) at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(Ty peConverterDelegate.java:173) at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(Ty peConverterDelegate.java:138) at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrap perImpl.java:386) at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.convertForProperty(AbstractAutowireCapableBeanFactory.java:1287) at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1248) at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.populateBean(AbstractAutowireCapableBeanFactory.java:1008) at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.doCreateBean(AbstractAutowireCapableBeanFactory.java:470) at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory$1.run(AbstractAutowireCapableBeanFactory.java:409) at java.security.AccessController.doPrivileged(Native Method) at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.createBean(AbstractAutowireCapableBeanFactory.java:380) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getOb ject(AbstractBeanFactory.java:264) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistr y.getSingleton(DefaultSingletonBeanRegistry.java:221) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBe an(AbstractBeanFactory.java:261) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean (AbstractBeanFactory.java:185) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean (AbstractBeanFactory.java:164) at org.springframework.osgi.extender.internal.dependencies.startup.Manda toryImporterDependencyFactory.getServiceDependencies(MandatoryImporterDependency Factory.java:54) at org.springframework.osgi.extender.internal.dependencies.startup.Depen dencyServiceManager.findServiceDependencies(DependencyServiceManager.java:214) at org.springframework.osgi.extender.internal.dependencies.startup.Depen dencyWaiterApplicationContextExecutor.stageOne(DependencyWaiterApplicationContex tExecutor.java:249) at org.springframework.osgi.extender.internal.dependencies.startup.Depen dencyWaiterApplicationContextExecutor.refresh(DependencyWaiterApplicationContext Executor.java:173) at org.springframework.osgi.context.support.AbstractDelegatedExecutionAp plicationContext.refresh(AbstractDelegatedExecutionApplicationContext.java:136) at org.springframework.osgi.extender.internal.activator.ContextLoaderLis tener$2.run(ContextLoaderListener.java:749) at java.lang.Thread.run(Thread.java:595) java.lang.ClassNotFoundException: com.bea.wlevs.configuration.internal.Configura tion at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassIntern al(BundleLoader.java:434) at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(Bundl eLoader.java:369) at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(Bundl eLoader.java:357) at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(De faultClassLoader.java:83) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at org.eclipse.osgi.framework.internal.core.BundleLoader.loadClass(Bundl eLoader.java:289) at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleH ost.java:227) at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(Abs tractBundle.java:1269) at org.springframework.osgi.util.BundleDelegatingClassLoader.findClass(B undleDelegatingClassLoader.java:99) at org.springframework.osgi.util.BundleDelegatingClassLoader.loadClass(B undleDelegatingClassLoader.java:156) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at org.springframework.util.ClassUtils.forName(ClassUtils.java:242) at org.springframework.util.ClassUtils.resolveClassName(ClassUtils.java: 261) at org.springframework.beans.propertyeditors.ClassArrayEditor.setAsText( ClassArrayEditor.java:66) at org.springframework.beans.TypeConverterDelegate.doConvertTextValue(Ty peConverterDelegate.java:374) at org.springframework.beans.TypeConverterDelegate.doConvertValue(TypeCo nverterDelegate.java:350) at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(Ty peConverterDelegate.java:173) at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(Ty peConverterDelegate.java:138) at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrap perImpl.java:386) at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.convertForProperty(AbstractAutowireCapableBeanFactory.java:1287) at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1248) at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.populateBean(AbstractAutowireCapableBeanFactory.java:1008) at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.doCreateBean(AbstractAutowireCapableBeanFactory.java:470) at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory$1.run(AbstractAutowireCapableBeanFactory.java:409) at java.security.AccessController.doPrivileged(Native Method) at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.createBean(AbstractAutowireCapableBeanFactory.java:380) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getOb ject(AbstractBeanFactory.java:264) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistr y.getSingleton(DefaultSingletonBeanRegistry.java:221) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBe an(AbstractBeanFactory.java:261) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean (AbstractBeanFactory.java:185) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean (AbstractBeanFactory.java:164) at org.springframework.osgi.extender.internal.dependencies.startup.Manda toryImporterDependencyFactory.getServiceDependencies(MandatoryImporterDependency Factory.java:54) at org.springframework.osgi.extender.internal.dependencies.startup.Depen dencyServiceManager.findServiceDependencies(DependencyServiceManager.java:214) at org.springframework.osgi.extender.internal.dependencies.startup.Depen dencyWaiterApplicationContextExecutor.stageOne(DependencyWaiterApplicationContex tExecutor.java:249) at org.springframework.osgi.extender.internal.dependencies.startup.Depen dencyWaiterApplicationContextExecutor.refresh(DependencyWaiterApplicationContext Executor.java:173) at org.springframework.osgi.context.support.AbstractDelegatedExecutionAp plicationContext.refresh(AbstractDelegatedExecutionApplicationContext.java:136) at org.springframework.osgi.extender.internal.activator.ContextLoaderLis tener$2.run(ContextLoaderListener.java:749) at java.lang.Thread.run(Thread.java:595) > <13-Jun-2008 17:52:54 o'clock BST> <Error> <org.springframework.osgi.extender.in ternal.dependencies.startup.DependencyWaiterApplicationContextExecutor> <BEA-000 000> <Unable to create application context for [com.bea.wlevs.security], unsatis fied dependencies: none java.lang.NullPointerException at org.springframework.osgi.extender.internal.dependencies.startup.Depen dencyServiceManager.findServiceDependencies(DependencyServiceManager.java:222) at org.springframework.osgi.extender.internal.dependencies.startup.Depen dencyWaiterApplicationContextExecutor.stageOne(DependencyWaiterApplicationContex tExecutor.java:249) at org.springframework.osgi.extender.internal.dependencies.startup.Depen dencyWaiterApplicationContextExecutor.refresh(DependencyWaiterApplicationContext Executor.java:173) at org.springframework.osgi.context.support.AbstractDelegatedExecutionAp plicationContext.refresh(AbstractDelegatedExecutionApplicationContext.java:136) at org.springframework.osgi.extender.internal.activator.ContextLoaderLis tener$2.run(ContextLoaderListener.java:749) at java.lang.Thread.run(Thread.java:595) >

    Spring JIRA | 8 years ago | Andy Piper
    java.lang.ClassNotFoundException: com.bea.wlevs.configuration.internal.Configura tion not found from bundle [com.bea.wlevs.security]
  6. 0

    [KARAF-1750] ClassNotFoundException for JAASLoginInterceptor - ASF JIRA

    apache.org | 11 months ago
    java.lang.RuntimeException: java.lang.ClassNotFoundException: org.apache.karaf.jaas.modules.RolePrincipal not found from bundle

    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.karaf.jaas.modules.RolePrincipal not found from bundle [wsdl_first]

      at org.springframework.osgi.util.BundleDelegatingClassLoader.findClass()
    2. Spring OSGi Core
      BundleDelegatingClassLoader.loadClass
      1. org.springframework.osgi.util.BundleDelegatingClassLoader.findClass(BundleDelegatingClassLoader.java:103)
      2. org.springframework.osgi.util.BundleDelegatingClassLoader.loadClass(BundleDelegatingClassLoader.java:156)
      2 frames
    3. Java RT
      ClassLoader.loadClass
      1. java.lang.ClassLoader.loadClass(ClassLoader.java:247)
      1 frame
    4. Jetty :: Aggregate :: All Server
      JAASLoginService.login
      1. org.eclipse.jetty.plus.jaas.JAASLoginService.getGroups(JAASLoginService.java:294)
      2. org.eclipse.jetty.plus.jaas.JAASLoginService.login(JAASLoginService.java:223)
      2 frames
    5. Jetty
      Request.getUserPrincipal
      1. org.eclipse.jetty.security.authentication.BasicAuthenticator.validateRequest(BasicAuthenticator.java:83)
      2. org.eclipse.jetty.security.authentication.DeferredAuthentication.authenticate(DeferredAuthentication.java:103)
      3. org.eclipse.jetty.server.Request.getUserPrincipal(Request.java:1226)
      3 frames