Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/java/334.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Java JBoss服务器错误:错误[org.JBoss.msc.service.fail](msc服务线程1-8)MSC00001:无法启动服务JBoss.deployment.subunit_Java_Eclipse_Jboss - Fatal编程技术网

Java JBoss服务器错误:错误[org.JBoss.msc.service.fail](msc服务线程1-8)MSC00001:无法启动服务JBoss.deployment.subunit

Java JBoss服务器错误:错误[org.JBoss.msc.service.fail](msc服务线程1-8)MSC00001:无法启动服务JBoss.deployment.subunit,java,eclipse,jboss,Java,Eclipse,Jboss,在启动Jboss服务器后,它会告诉我这些错误。 我做了一些研究,我知道第三方图书馆的问题,但我不知道,如何解决这个问题。 对不起,英语不好 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-8) MSC00001: Failed to start service jboss.deployment.subunit."EJBTestEAR.ear"."EJBTestServer.jar".POST_MODULE: org.jboss.m

在启动Jboss服务器后,它会告诉我这些错误。 我做了一些研究,我知道第三方图书馆的问题,但我不知道,如何解决这个问题。 对不起,英语不好

ERROR [org.jboss.msc.service.fail] (MSC service thread 1-8) MSC00001: Failed to start service jboss.deployment.subunit."EJBTestEAR.ear"."EJBTestServer.jar".POST_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.subunit."EJBTestEAR.ear"."EJBTestServer.jar".POST_MODULE: Failed to process phase POST_MODULE of subdeployment "EJBTestServer.jar" of deployment "EJBTestEAR.ear"
    at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:119) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_79]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_79]
    at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_79]
Caused by: java.lang.RuntimeException: Error getting reflective information for class test.PDFBean with ClassLoader ModuleClassLoader for Module "deployment.EJBTestEAR.ear.EJBTestServer.jar:main" from Service Module Loader
    at org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex.getClassIndex(DeploymentReflectionIndex.java:70) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
    at org.jboss.as.ee.metadata.MethodAnnotationAggregator.runtimeAnnotationInformation(MethodAnnotationAggregator.java:58)
    at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.handleAnnotations(InterceptorAnnotationProcessor.java:85)
    at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.processComponentConfig(InterceptorAnnotationProcessor.java:70)
    at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.deploy(InterceptorAnnotationProcessor.java:55)
    at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:113) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
    ... 5 more
Caused by: java.lang.NoClassDefFoundError: org/apache/pdfbox/pdmodel/font/PDFont
    at java.lang.Class.getDeclaredFields0(Native Method) [rt.jar:1.7.0_79]
    at java.lang.Class.privateGetDeclaredFields(Class.java:2499) [rt.jar:1.7.0_79]
    at java.lang.Class.getDeclaredFields(Class.java:1811) [rt.jar:1.7.0_79]
    at org.jboss.as.server.deployment.reflect.ClassReflectionIndex.<init>(ClassReflectionIndex.java:57) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
    at org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex.getClassIndex(DeploymentReflectionIndex.java:66) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
    ... 10 more
错误[org.jboss.msc.service.fail](msc服务线程1-8)MSC00001:无法启动服务jboss.deployment.subunit。“ejbtestar.ear”“EJBTestServer.jar”。POST_模块:org.jboss.msc.service.StartException in service jboss.deployment.subunit。“ejbtestar.ear”“EJBTestServer.jar”.POST_模块:无法处理部署“ejbtestar.ear”的子部署“EJBTestServer.jar”的阶段POST_模块
在org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:119)[jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
在org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)[jboss-msc-1.0.2.GA.jar:1.0.2.GA]
在org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)[jboss-msc-1.0.2.GA.jar:1.0.2.GA]
位于java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[rt.jar:1.7.079]
位于java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[rt.jar:1.7.079]
在java.lang.Thread.run(Thread.java:745)[rt.jar:1.7.079]
导致的原因:java.lang.RuntimeException:从服务模块加载器获取类test.PDFBean的反射信息时出错,该类加载器为模块“deployment.EJBTestEAR.ear.EJBTestServer.jar:main”
位于org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex.getClassIndex(DeploymentReflectionIndex.java:70)[jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
位于org.jboss.as.ee.metadata.MethodAnnotationAggregator.runtimeAnnotationInformation(MethodAnnotationAggregator.java:58)
位于org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.handleAnnotations(InterceptorAnnotationProcessor.java:85)
位于org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.processComponentConfig(InterceptorAnnotationProcessor.java:70)
位于org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.deploy(InterceptorAnnotationProcessor.java:55)
在org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:113)[jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
... 还有5个
原因:java.lang.NoClassDefFoundError:org/apache/pdfbox/pdmodel/font/PDFont
在java.lang.Class.getDeclaredFields0(本机方法)[rt.jar:1.7.0_79]
在java.lang.Class.privateGetDeclaredFields(Class.java:2499)[rt.jar:1.7.079]
在java.lang.Class.getDeclaredFields(Class.java:1811)[rt.jar:1.7.079]
位于org.jboss.as.server.deployment.reflect.ClassReflectionIndex.(ClassReflectionIndex.java:57)[jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
位于org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex.getClassIndex(DeploymentReflectionIndex.java:66)[jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
... 10多

再搜索几分钟,最终找到正确答案