读书人

MyEclipse 6.5 怎么集成 JBoss速度

发布时间: 2012-12-16 12:02:32 作者: rapoo

MyEclipse 6.5 如何集成 JBoss,速度 解决!


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)
... 122 more
14:54:03,937 WARN [ServiceController] Problem starting service jboss.web.deployment:war=HelloWorld.war,id=1701890837
org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.management.RuntimeOperationsException: Exception invoking method init)



Caused by: javax.management.RuntimeOperationsException: Exception invoking method init

Caused by: javax.management.RuntimeErrorException: Error invoking method addChild

Caused by: java.lang.NoClassDefFoundError: javax/annotation/Resource

14:54:03,937 ERROR [MainDeployer] Could not start deployment: file:/C:/JBoss/jboss-4.2.3.GA/server/default/deploy/HelloWorld.war/
org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.management.RuntimeOperationsException: Exception invoking method init)



Caused by: javax.management.RuntimeOperationsException: Exception invoking method init



Caused by: javax.management.RuntimeErrorException: Error invoking method addChild



Caused by: java.lang.NoClassDefFoundError: javax/annotation/Resource


14:54:03,984 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/
14:54:04,078 ERROR [Registry] Null component jboss.web:type=JspMonitor,name=ClusterView,WebModule=//localhost/jmx-console,J2EEApplication=none,J2EEServer=none
14:54:04,078 ERROR [Registry] Null component jboss.web:type=JspMonitor,name=DisplayOpResult,WebModule=//localhost/jmx-console,J2EEApplication=none,J2EEServer=none
14:54:04,078 ERROR [Registry] Null component jboss.web:type=JspMonitor,name=jsp,WebModule=//localhost/jmx-console,J2EEApplication=none,J2EEServer=none
14:54:04,078 ERROR [Registry] Null component jboss.web:type=JspMonitor,name=InspectMBean,WebModule=//localhost/jmx-console,J2EEApplication=none,J2EEServer=none
14:54:04,078 ERROR [Registry] Null component jboss.web:type=JspMonitor,name=DisplayMBeans,WebModule=//localhost/jmx-console,J2EEApplication=none,J2EEServer=none
14:54:04,093 ERROR [BaseModelMBean] Exception invoking method addChild
java.lang.NoClassDefFoundError: javax/annotation/Resource




14:54:04,109 ERROR [BaseModelMBean] Exception invoking method init
javax.management.RuntimeErrorException: Error invoking method addChild




Caused by: java.lang.NoClassDefFoundError: javax/annotation/Resource



14:54:04,109 WARN [ServiceController] Problem starting service jboss.web.deployment:war=jmx-console.war,id=1563981228
org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.management.RuntimeOperationsException: Exception invoking method init)





Caused by: javax.management.RuntimeOperationsException: Exception invoking method init



Caused by: javax.management.RuntimeErrorException: Error invoking method addChild

Caused by: java.lang.NoClassDefFoundError: javax/annotation/Resource

14:54:04,125 ERROR [MainDeployer] Could not start deployment: file:/C:/JBoss/jboss-4.2.3.GA/server/default/deploy/jmx-console.war/
org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.management.RuntimeOperationsException: Exception invoking method init)








MyEclipse 6.5 如何集成 JBoss,
JDK 版本 1.6 //////////
jboss-4.2.3.GA-jdk6.zip //////////

请问 如何集成JBoss (*^__^*) 嘻嘻……
BUG 如上,问题在哪里,头大了,依照【传智播客】的教学视频来的




[解决办法]
建议还是到官网去下载Jboss部署包! 注意看清楚系统版本
[解决办法]
Caused by: java.lang.NoClassDefFoundError: javax/annotation/Resource

包都不全啊。 自己弄个JEE API 就行了。
[解决办法]
有没有配置jboss环境变量呢?
[解决办法]
结帖率:0.00%

读书人网 >其他服务器

热点推荐