日期:2014-05-19  浏览次数:20811 次

JBOSS 4.2.0.GA启动异常,高分求救
我的JDK是1.5
在环境变量里设了JBOSS_HOME,但是在bin下执行run还是错误
重新解压JBOSS错误还是一样不知道什么原因
22:33:06,113   ERROR   [[/]]   Exception   sending   context   initialized   event   to   listener   instance   of   class   org.jboss.web.jsf.integration.config.JBossJSFConfig
ureListener
java.lang.NoSuchMethodError:   javax.servlet.ServletContext.getContextPath()Ljava/lang/String;

22:33:06,814   ERROR   [StandardContext]   Error   listenerStart
22:33:06,814   ERROR   [StandardContext]   Context   []   startup   failed   due   to   previous   errors
22:33:06,904   WARN     [ServiceController]   Problem   starting   service   jboss.web.deployment:war=ROOT.war,id=-1268835309
org.jboss.deployment.DeploymentException:   URL   file:/D:/jboss/server/default/deploy/jboss-web.deployer/ROOT.war/   deployment   failed
                at   org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:379)
                at   org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104)
                at   org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:375)

22:33:07,104   ERROR   [MainDeployer]   Could   not   start   deployment:   file:/D:/jboss/server/default/deploy/jboss-web.deployer/ROOT.war/
org.jboss.deployment.DeploymentException:   URL   file:/D:/jboss/server/default/deploy/jboss-web.deployer/ROOT.war/   deployment   failed
                at   org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:379)
                at   org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104)
                at   org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:375)
                at   org.jboss.web.WebModule.startModule(WebModule.java:83)
                at   org.jboss.web.WebModule.startService(WebModule.java:61)
                at   org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
                at   org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
                at   sun.reflect.GeneratedMethodAccessor3.invoke(Unknown   Source)

22:33:07,244   ERROR   [MainDeployer]   DeploymentException   while   trying   to   deploy   a   package   with   a   new   deployer
org.jboss.deployment.DeploymentException:   URL   file:/D:/jboss/server/default/deploy/jboss-web.deployer/ROOT.war/   deployment   failed
                at   org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:379)
                a