玩过jboss的请过来,这个错误怎么回事?在线(100分)

  • 主题发起人 主题发起人 Lion_sj
  • 开始时间 开始时间
L

Lion_sj

Unregistered / Unconfirmed
GUEST, unregistred user!
使用的是jboss+tomcat,其它服务都启动,是不是tomcat没有启动起来呢
12:42:01,999 INFO [MainDeployer] Starting deployment of package: file:/C:/jboss/server/default/deploy/tomcat41-service.xml
12:42:02,090 INFO [MainDeployer] Starting deployment of package: file:/C:/jboss/server/default/deploy/tomcat41-service.jar
12:42:02,190 INFO [MainDeployer] Deployed package: file:/C:/jboss/server/default/deploy/tomcat41-service.jar
12:42:02,280 ERROR [URLDeploymentScanner] Failed to deploy: org.jboss.deployment.scanner.URLDeploymentScanner$DeployedURL@b7a8febc{ url=file:/C:/jboss/server/default/deploy/tomcat41-service.xml, deployedLastModified=0 }
org.jboss.deployment.DeploymentException: instantiating org.jboss.web.catalina.EmbeddedCatalinaService41 failed: java.lang.NoClassDefFoundError: org/apache/catalina/Context;
- nested throwable: (RuntimeErrorException: instantiating org.jboss.web.catalina.EmbeddedCatalinaService41 failed: java.lang.NoClassDefFoundError: org/apache/catalina/Context
Cause: java.lang.NoClassDefFoundError: org/apache/catalina/Context)
at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:155)
at org.jboss.system.ServiceController.install(ServiceController.java:225)
at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
at $Proxy3.install(Unknown Source)
at org.jboss.deployment.SARDeployer.create(SARDeployer.java:209)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:760)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:620)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:585)
at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
at $Proxy4.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:435)
at org.jboss.deployment.scanner.URLDeploymentScanner.scanDirectory(URLDeploymentScanner.java:656)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:507)
at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:261)
at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:165)
at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:398)
at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
at $Proxy3.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:249)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:807)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:621)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:585)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:569)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:324)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:221)
at org.jboss.Main.boot(Main.java:148)
at org.jboss.Main$1.run(Main.java:381)
at java.lang.Thread.run(Thread.java:536)
Caused by: RuntimeErrorException: instantiating org.jboss.web.catalina.EmbeddedCatalinaService41 failed: java.lang.NoClassDefFoundError: org/apache/catalina/Context
Cause: java.lang.NoClassDefFoundError: org/apache/catalina/Context
at org.jboss.mx.server.MBeanServerImpl.handleInstantiateExceptions(MBeanServerImpl.java:883)
at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:816)
at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:266)
at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:293)
at org.jboss.system.ServiceCreator.install(ServiceCreator.java:86)
at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:167)
at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:130)
... 55 more
 
下载一个完整的tomcat相应版本的包,检查一下org.apache.catalina.Context类,
1。要么下载完整配套的jbosstomcat
2。要么设置正确的路径
 
后退
顶部