问题描述
[13-9-2614:08:48:543CST]0000001fEJBContainerIEWSVR0068E:尝试启动企业beanSOP#DaoEjb.jar#DaoEjb失败,异常为java.lang.NoClassDefFoundError:org.jdom.Documentatjava.lang.Class.getDeclaredMethodsImpl(NativeMethod)atjava.lang.Class.getDeclaredMethods(Class.java:673)atjava.lang.Class.getInterfaceMethodCountImpl(Class.java:958)atjava.lang.Class.getInterfaceMethodsImpl(Class.java:973)atjava.lang.Class.getMethods(Class.java:917)atcom.ibm.ejs.container.util.DeploymentUtil.getMethods(DeploymentUtil.java:161)atcom.ibm.ws.metadata.ejb.EJBMDOrchestrator.finishBMDInit(EJBMDOrchestrator.java:1656)atcom.ibm.ws.runtime.component.EJBContainerImpl.finishDeferredBeanMetaData(EJBContainerImpl.java:5036)atcom.ibm.ws.runtime.component.EJBContainerImpl.initializeDeferredEJB(EJBContainerImpl.java:4845)atcom.ibm.ejs.container.HomeOfHomes$1.run(HomeOfHomes.java:406)atcom.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:118)atcom.ibm.ejs.container.HomeOfHomes.getHome(HomeOfHomes.java:403)atcom.ibm.ejs.container.HomeOfHomes.internalCreateWrapper(HomeOfHomes.java:991)atcom.ibm.ejs.container.EJSContainer.createWrapper(EJSContainer.java:5024)atcom.ibm.ejs.container.WrapperManager.faultOnKey(WrapperManager.java:545)atcom.ibm.ejs.util.cache.Cache.findAndFault(Cache.java:498)atcom.ibm.ejs.container.WrapperManager.keyToObject(WrapperManager.java:489)atcom.ibm.ejs.oa.EJSOAImpl.keyToObject(EJSOAImpl.java:553)atcom.ibm.ejs.oa.EJSRootOAImpl.keyToObject(EJSRootOAImpl.java:271)atcom.ibm.rmi.corba.ObjectManager.lookupServant(ObjectManager.java:104)atcom.ibm.CORBA.iiop.ServerDelegate.getServant(ServerDelegate.java:311)atcom.ibm.rmi.iiop.ORB.lookupLocalObject(ORB.java:601)atcom.ibm.CORBA.iiop.ORB.lookupLocalObject(ORB.java:1468)atcom.ibm.rmi.iiop.CDRReader.newObjRef(CDRReader.java:1307)atcom.ibm.rmi.iiop.CDRReader.read_Object(CDRReader.java:1147)atcom.ibm.rmi.iiop.CDRReader.read_Object(CDRReader.java:1111)atcom.ibm.rmi.corba.IorURL.iorbytesToObjref(IorURL.java:105)atcom.ibm.rmi.corba.IorURL.resolve(IorURL.java:93)atcom.ibm.rmi.corba.ORB.objectURLToObject(ORB.java:3748)atcom.ibm.CORBA.iiop.ORB.objectURLToObject(ORB.java:3262)atcom.ibm.rmi.corba.ORB.string_to_object(ORB.java:3649)atcom.ibm.ws.naming.ipcos.WsnOptimizedNamingImpl.resolveUnresolvedBinding(WsnOptimizedNamingImpl.java:1927)atcom.ibm.ws.naming.ipcos.WsnOptimizedNamingImpl.resolve_binding(WsnOptimizedNamingImpl.java:1681)atcom.ibm.ws.naming.ipcos.WsnOptimizedNamingImpl.do_resolve_complete_info(WsnOptimizedNamingImpl.java:583)atcom.ibm.ws.naming.cosbase.WsnOptimizedNamingImplBase.resolve_complete_info(WsnOptimizedNamingImplBase.java:2163)atcom.ibm.WsnOptimizedNaming._NamingContextStub.resolve_complete_info(_NamingContextStub.java:538)atcom.ibm.ws.naming.jndicos.CNContextImpl$2.run(CNContextImpl.java:2797)atcom.ibm.ws.naming.jndicos.CNContextImpl$2.run(CNContextImpl.java:2793)atcom.ibm.ws.naming.util.CommonHelpers.retry(CommonHelpers.java:763)atcom.ibm.ws.naming.jndicos.CNContextImpl.cosResolve(CNContextImpl.java:2791)atcom.ibm.ws.naming.jndicos.CNContextImpl.doLookup(CNContextImpl.java:1790)atcom.ibm.ws.naming.jndicos.CNContextImpl.doLookup(CNContextImpl.java:1749)atcom.ibm.ws.naming.jndicos.CNContextImpl.lookupExt(CNContextImpl.java:1500)atcom.ibm.ws.naming.jndicos.CNContextImpl.lookup(CNContextImpl.java:637)atcom.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCtx.java:165)atcom.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCtx.java:179)atjavax.naming.InitialContext.lookup(InitialContext.java:455)atcom.glorycube.util.EJBHomeFactory.lookupHome(UnknownSource)atcom.glorycube.ifs.command.LogCommand.init(UnknownSource)atcom.glorycube.ifs.command.LogCommand.<init>(UnknownSource)atsun.reflect.NativeConstructorAccessorImpl.newInstance0(NativeMethod)atsun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:44)atsun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:39)atjava.lang.reflect.Constructor.newInstance(Constructor.java:504)atcom.glorycube.command.CommandFcty.loadConf(UnknownSource)atcom.glorycube.command.CommandFcty.<init>(UnknownSource)atcom.glorycube.command.CommandFcty.getInstance(UnknownSource)atcom.glorycube.ifs.common.StdCode.init(UnknownSource)atcom.glorycube.ifs.common.StdCode.<init>(UnknownSource)atjava.lang.J9VMInternals.newInstanceImpl(NativeMethod)atjava.lang.Class.newInstance(Class.java:1325)atcom.glorycube.config.ConfigFactory.getConfigObj(UnknownSource)atcom.glorycube.config.ConfigFactory.init(UnknownSource)atcom.glorycube.config.ConfigFactory.init(UnknownSource)atcom.glorycube.config.ConfigFactory.getInstance(UnknownSource)atsun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethod)atsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)atsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)atjava.lang.reflect.Method.invoke(Method.java:600)atcom.glorycube.util.DynaLoader.loadClass(UnknownSource)atcom.glorycube.util.DynaLoader.loadClass(UnknownSource)atcom.glorycube.plugin.GCServlet.init(UnknownSource)atcom.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:358)atcom.ibm.ws.webcontainer.servlet.ServletWrapperImpl.init(ServletWrapperImpl.java:168)atcom.ibm.ws.webcontainer.servlet.ServletWrapper.initialize(ServletWrapper.java:1807)atcom.ibm.wsspi.webcontainer.extension.WebExtensionProcessor.createServletWrapper(WebExtensionProcessor.java:98)atcom.ibm.ws.webcontainer.webapp.WebApp.getServletWrapper(WebApp.java:1011)atcom.ibm.ws.webcontainer.webapp.WebApp.getServletWrapper(WebApp.java:932)atcom.ibm.ws.webcontainer.webapp.WebApp.initializeTargetMappings(WebApp.java:611)atcom.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinally(WebApp.java:429)atcom.ibm.ws.webcontainer.webapp.WebAppImpl.initialize(WebAppImpl.java:304)atcom.ibm.ws.webcontainer.webapp.WebGroupImpl.addWebApplication(WebGroupImpl.java:100)atcom.ibm.ws.webcontainer.VirtualHostImpl.addWebApplication(VirtualHostImpl.java:166)atcom.ibm.ws.webcontainer.WSWebContainer.addWebApp(WSWebContainer.java:731)atcom.ibm.ws.webcontainer.WSWebContainer.addWebApplication(WSWebContainer.java:616)atcom.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:376)atcom.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.java:668)atcom.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1122)atcom.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1315)atcom.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:623)atcom.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:940)atcom.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:725)atcom.ibm.ws.runtime.component.ApplicationMgrImpl$1.run(ApplicationMgrImpl.java:1266)atcom.ibm.ws.security.auth.ContextManagerImpl.runAs(ContextManagerImpl.java:4599)atcom.ibm.ws.security.auth.ContextManagerImpl.runAsSystem(ContextManagerImpl.java:4687)atcom.ibm.ws.security.core.SecurityContext.runAsSystem(SecurityContext.java:255)atcom.ibm.ws.runtime.component.ApplicationMgrImpl.startApplicationDynamically(ApplicationMgrImpl.java:1271)atcom.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:2043)atcom.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:439)atcom.ibm.ws.runtime.component.CompositionUnitImpl.start(CompositionUnitImpl.java:123)atcom.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:382)atcom.ibm.ws.runtime.component.CompositionUnitMgrImpl.startCompositionUnit(CompositionUnitMgrImpl.java:653)atcom.ibm.ws.runtime.component.CompositionUnitMgrImpl.startCompositionUnit(CompositionUnitMgrImpl.java:615)atcom.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:1177)atsun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethod)atsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)atsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)atjava.lang.reflect.Method.invoke(Method.java:600)atsun.reflect.misc.Trampoline.invoke(MethodUtil.java:37)atsun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethod)atsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)atsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)atjava.lang.reflect.Method.invoke(Method.java:600)atsun.reflect.misc.MethodUtil.invoke(MethodUtil.java:244)atjavax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java:1086)atjavax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:967)atcom.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:848)atcom.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:773)atcom.ibm.ws.management.AdminServiceImpl$1.run(AdminServiceImpl.java:1320)atcom.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:118)atcom.ibm.ws.management.AdminServiceImpl.invoke(AdminServiceImpl.java:1213)atcom.ibm.ws.management.commands.AdminServiceCommands$InvokeCmd.execute(AdminServiceCommands.java:251)atcom.ibm.ws.console.core.mbean.MBeanHelper.invoke(MBeanHelper.java:239)atcom.ibm.ws.console.appdeployment.ApplicationDeploymentCollectionAction.execute(ApplicationDeploymentCollectionAction.java:564)求大侠指导....................
解决方案
解决方案二:
java.lang.NoClassDefFoundError:org.jdom.Document这个不是比较清楚吗,找不到类org.jdom.Document是不是缺少jar包,或者和was的包有冲突
解决方案三:
厉害..搞不懂啊1
解决方案四:
很明显少了jDom的包啊