阅读:30958回复:3
服务器启动报错找不到原因,向大神求助
报错代码如下:
09:39:46,226 INFO [STDOUT] 16-04-12 09:39:46,226 INFO [javax.servlet.ServletContextListener] - JFIDS SystemContext is starting... 09:39:48,426 INFO [STDOUT] 16-04-12 09:39:48,426 INFO [com.sunsheen.jfids.wps.config.WPSConfig] - Initialization of configuration information of WPS is success! 09:39:49,946 ERROR [[/sjxw_jdfwxt]] Exception sending context initialized event to listener instance of class org.jboss.seam.servlet.SeamListener java.lang.NoClassDefFoundError: sun/org/mozilla/javascript/internal/NativeArray at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at org.jboss.seam.deployment.AbstractScanner$Handler.handle(AbstractScanner.java:87) at org.jboss.seam.deployment.AbstractScanner$Handler.handle(AbstractScanner.java:115) at org.jboss.seam.deployment.AbstractScanner.handle(AbstractScanner.java:246) at org.jboss.seam.deployment.URLScanner.handleArchiveByFile(URLScanner.java:105) at org.jboss.seam.deployment.URLScanner.handle(URLScanner.java:88) at org.jboss.seam.deployment.URLScanner.scanResources(URLScanner.java:77) at org.jboss.seam.deployment.StandardDeploymentStrategy.scan(StandardDeploymentStrategy.java:119) at org.jboss.seam.init.Initialization.create(Initialization.java:140) at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:80) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3856) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4361) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:790) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:770) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:296) at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.apache.catalina.core.StandardContext.init(StandardContext.java:5312) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:296) at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:301) 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) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) |
|
沙发#
发布于:2016-04-12 11:31
哦哦,这个知道了。是jboss服务器配置的问题,服务器配置的jre和项目配置的jre要一致。
|
|
地板#
发布于:2020-07-09 09:46
jdk版本问题, sun/org/mozilla/javascript/internal/NativeArray 是jdk1.7 rt.jar 包里面的, jdk 1.8 的 rt包里面没有这个类
|
|