求解--JBoss 6.1.0 Final 启动报ClassCastException

时间:2022-03-22 04:21:47
enviroment:
OS->RHEL 6.2
JDK->7u_21-b11
JBoss 6.1.0 Final

10:36:55,384 WARN  [AbstractKernelController] Broken callback: ClassSingleCallbackItem@15689c6{name=interface org.jboss.wsf.spi.metadata.DescriptorProcessor whenRequired=ControllerState@1ff5788{Installed} dependentState=ControllerState@1ff5788{Installed} attributeName=setProcessor owner=AbstractKernelControllerContext@287745{ metadata=AbstractBeanMetaData@100b0a0{name=WSDescriptorDeployer bean=org.jboss.webservices.integration.deployers.WSDescriptorDeployer properties= classLoader=BeanMetaDataDeployer$DeploymentClassLoaderMetaData@be5e69{classloader=null} constructor=null autowireCandidate=true installCallbacks=[method=setProcessor, method=setParser]}name=WSDescriptorDeployer target=org.jboss.webservices.integration.deployers.WSDescriptorDeployer@6f4499 state=Installed depends=AbstractDependencyInfo@4bde04{}} signature=org.jboss.wsf.spi.metadata.DescriptorProcessor}: java.lang.ClassCastException: org.jboss.wsf.stack.cxf.deployment.jms.JMSDescriptorProcessorImpl cannot be cast to org.jboss.wsf.spi.metadata.webservices.WebservicesDescriptorProcessor
at org.jboss.webservices.integration.deployers.WSDescriptorDeployer.setProcessor(WSDescriptorDeployer.java:33) [:6.1.0.Final]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.7.0_21]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [:1.7.0_21]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [:1.7.0_21]
......
at java.lang.Thread.run(Thread.java:722) [:1.7.0_21]

10:36:55,443 WARN  [AbstractKernelController] Broken callback: ClassSingleCallbackItem@f7fbe{name=interface org.jboss.wsf.spi.metadata.DescriptorProcessor whenRequired=ControllerState@1ff5788{Installed} dependentState=ControllerState@1ff5788{Installed} attributeName=setProcessor owner=AbstractKernelControllerContext@271369{ metadata=AbstractBeanMetaData@f139cb{name=JMSDescriptorDeployer bean=org.jboss.webservices.integration.deployers.JMSDescriptorDeployer properties= classLoader=BeanMetaDataDeployer$DeploymentClassLoaderMetaData@f7c30f{classloader=null} constructor=null autowireCandidate=true installCallbacks=[method=setProcessor, method=setParser]}name=JMSDescriptorDeployer target=org.jboss.webservices.integration.deployers.JMSDescriptorDeployer@18bd39a state=Installed depends=AbstractDependencyInfo@1097440{}} signature=org.jboss.wsf.spi.metadata.DescriptorProcessor}: java.lang.ClassCastException: org.jboss.wsf.framework.deployment.jms.WebservicesDescriptorProcessorImpl cannot be cast to org.jboss.wsf.spi.metadata.jms.JMSDescriptorProcessor
at org.jboss.webservices.integration.deployers.JMSDescriptorDeployer.setProcessor(JMSDescriptorDeployer.java:33) [:6.1.0.Final]
.......
at java.lang.Thread.run(Thread.java:722) [:1.7.0_21]
......

2 个解决方案

#1


JDK 不兼容,建议用 Java 6 运行。

#2


有没有解决的方法?

#1


JDK 不兼容,建议用 Java 6 运行。

#2


有没有解决的方法?