[英]Error when starting JBoss Server
I'm working on a simple Struts Hibernate integrated application and trying to run it on JBoss server. 我正在开发一个简单的Struts Hibernate集成应用程序,并尝试在JBoss服务器上运行它。 But when try to start the server I'm getting a error;
但是,当尝试启动服务器时,出现错误; Please check the error report,
请检查错误报告,
INFO [AbstractServer] Starting: JBossAS [6.0.0.Final "Neo"]
INFO [ServerInfo] Java version: 1.6.0_38,Sun Microsystems Inc.
INFO [ServerInfo] Java Runtime: Java(TM) SE Runtime Environment (build 1.6.0_38-b05)
INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 20.13-b02,Sun Microsystems Inc.
INFO [ServerInfo] OS-System: Windows 7 6.1,x86
INFO [ServerInfo] VM arguments: -Dprogram.name=run.bat -Xms128m -Xmx512m - XX:MaxPermSize=256m -Dfile.encoding=Cp1252
INFO [JMXKernel] Legacy JMX core initialized
INFO [AbstractServerConfig] JBoss Web Services - Stack CXF Server 3.4.1.GA
INFO [JSFImplManagementDeployer] Initialized 3 JSF configurations: [Mojarra-1.2, MyFaces-2.0, Mojarra-2.0]
ERROR [AbstractKernelController] Error installing to Instantiated: name=PostEjbJarMetadataDeployer state=Described: java.lang.NoSuchMethodError: javax.annotation.Resource.lookup()Ljava/lang/String;
Please help. 请帮忙。
If any other codes required, please ask, I'll post. 如果需要其他任何代码,请询问,我会发布。 Thanks in advance.
提前致谢。
NB: 注意:
Edited: 编辑:
Ones after adding this -Djava.endorsed.dirs="path to my jboss6 home"/lib/endorsed to VM argument in the server configuration page, the error gone off. 在服务器配置页面中将此-Djava.endorsed.dirs =“我的jboss6 home的路径” / lib / endorsed给VM参数后,错误消失了。 But still the server doesn't start up.
但是服务器仍然无法启动。
Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.
NOT STARTED.
Currently in standby mode.
Number of jobs executed: 0
Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 10 threads.
Using job-store 'org.quartz.simpl.RAMJobStore' - which does not support persistence. and is not clustered.
Any idea my friends? 我的朋友知道吗? Please help.
请帮忙。
You ran into this Eclipse bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=250643 您遇到了以下Eclipse错误: https : //bugs.eclipse.org/bugs/show_bug.cgi?id=250643
Source : https://developer.jboss.org/thread/160526?tstart=0 来源: https : //developer.jboss.org/thread/160526?tstart=0
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.