0

我想升级处女座到3.6.2,但是我遇到了一个奇怪的事情。战争捆绑包无法启动。根本原因是无法在战争包中加载类。但是蓝图1.0.0.M1中没有这个问题。如果有人给我一些建议,那就太好了。日志消息如下:

wsInvokeListenerManager,.com.hp.atom.wssupport.internal.WebServicesInvokeListenerManager#0,blueprintBundle,blueprintBundleContext,blueprintContainer,blueprintConverter]; OsgiBundleXmlApplicationContext 中工厂层次结构的根(bundle=com.hp.atom.wssupport, config=bundleentry://179.fwk1169375526/OSGI-INF/blueprint/beans.xml)org.springframework.beans.factory.BeanCreationException:创建 bean 时出错名称为“.org.eclipse.gemini.blueprint.service.importer.support.OsgiServiceCollectionProxyFactoryBean#0”:无法创建类型为 [org.eclipse.gemini.blueprint.config.internal.adapter. OsgiServiceLifecycleListenerAdapter],同时使用键 [0] 设置 bean 属性“侦听器”;嵌套异常是 org.springframework.beans.factory.BeanCreationException: Error created bean with name ' (inner bean)#1': init 方法调用失败;嵌套异常是 org.springframework.beans.factory.CannotLoadBeanClassException:找不到类 [com.hp.atom.wssupport.internal.WebServicesRegister] 用于在 OSGi 资源 [bundleentry://179.fwk1169375526/OSGI 中定义的名称为“webServiceRegister”的 bean -INF/blueprint/beans.xml|bnd.id=179|bnd.sym=com.hp.atom.wssupport]; 嵌套异常是 java.lang.ClassNotFoundException: com.hp.atom.wssupport.internal.WebServicesRegister not found from bundle [com.hp.atom.wssupport] at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver. java:281) 在 org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:125) 在 org.springframework.beans.factory.support. ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) 引起:org .springframework.beans.factory.BeanCreationException:创建名称为“(内部 bean)#1”的 bean 时出错:调用 init 方法失败;嵌套异常是 org.springframework.beans.factory.CannotLoadBeanClassException:找不到类 [com.hp.atom.wssupport.internal.WebServicesRegister] 用于在 OSGi 资源 [bundleentry://179.fwk1169375526/OSGI 中定义的名称为“webServiceRegister”的 bean -INF/blueprint/beans.xml|bnd.id=179|bnd.sym=com.hp.atom.wssupport]; 嵌套异常是 java.lang.ClassNotFoundException: com.hp.atom.wssupport.internal.WebServicesRegister not found from bundle [com.hp.atom.wssupport] at org. xml|bnd.id=179|bnd.sym=com.hp.atom.wssupport]; 嵌套异常是 java.lang.ClassNotFoundException: com.hp.atom.wssupport.internal.WebServicesRegister not found from bundle [com.hp.atom.wssupport] at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory. java:1262) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:576) at org.springframework.beans.factory.support.AbstractBeanFactory.getType(AbstractBeanFactory.java:572) at org.eclipse .gemini.blueprint.config.internal.adapter.OsgiServiceLifecycleListenerAdapter.initialize(OsgiServiceLifecycleListenerAdapter.java:105) 在 org.eclipse.gemini.blueprint.config.internal.adapter.OsgiServiceLifecycleListenerAdapter。

4

0 回答 0