永发信息网

MyEclipse启动jboss出错???

答案:1  悬赏:0  手机版
解决时间 2021-05-02 22:14
  • 提问者网友:温旧梦泪无声
  • 2021-05-02 06:15

我的MyEclipse是8.0, jboss是5.0ga,从jboss安装路径启动没有错误,但是,从MyEclipse启动就报错,这是为什么?

 

22:24:02,578 INFO  [ServerImpl] Starting JBoss (Microcontainer)...
22:24:02,578 INFO  [ServerImpl] Release ID: JBoss [The Oracle] 5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221053)
22:24:02,578 INFO  [ServerImpl] Bootstrap URL: null
22:24:02,578 INFO  [ServerImpl] Home Dir: E:\javaserver\jboss
22:24:02,578 INFO  [ServerImpl] Home URL: file:/E:/javaserver/jboss/
22:24:02,578 INFO  [ServerImpl] Library URL: file:/E:/javaserver/jboss/lib/
22:24:02,578 INFO  [ServerImpl] Patch URL: null
22:24:02,578 INFO  [ServerImpl] Common Base URL: file:/E:/javaserver/jboss/common/
22:24:02,578 INFO  [ServerImpl] Common Library URL: file:/E:/javaserver/jboss/common/lib/
22:24:02,578 INFO  [ServerImpl] Server Name: jboss
22:24:02,578 INFO  [ServerImpl] Server Base Dir: E:\javaserver\jboss\server
22:24:02,578 INFO  [ServerImpl] Server Base URL: file:/E:/javaserver/jboss/server/
22:24:02,578 INFO  [ServerImpl] Server Config URL: file:/E:/javaserver/jboss/server/jboss/conf/
22:24:02,578 INFO  [ServerImpl] Server Home Dir: E:\javaserver\jboss\server\jboss
22:24:02,578 INFO  [ServerImpl] Server Home URL: file:/E:/javaserver/jboss/server/jboss/
22:24:02,578 INFO  [ServerImpl] Server Data Dir: E:\javaserver\jboss\server\jboss\data
22:24:02,578 INFO  [ServerImpl] Server Library URL: file:/E:/javaserver/jboss/server/jboss/lib/
22:24:02,578 INFO  [ServerImpl] Server Log Dir: E:\javaserver\jboss\server\jboss\log
22:24:02,578 INFO  [ServerImpl] Server Native Dir: E:\javaserver\jboss\server\jboss\tmp\native
22:24:02,578 INFO  [ServerImpl] Server Temp Dir: E:\javaserver\jboss\server\jboss\tmp
22:24:02,578 INFO  [ServerImpl] Server Temp Deploy Dir: E:\javaserver\jboss\server\jboss\tmp\deploy
22:24:03,468 INFO  [ServerImpl] Starting Microcontainer, bootstrapURL=file:/E:/javaserver/jboss/server/jboss/conf/bootstrap.xml
Failed to boot JBoss:
java.lang.RuntimeException: Error unmarshalling file:/E:/javaserver/jboss/server/jboss/conf/bootstrap.xml
 at org.jboss.bootstrap.xml.BootstrapParser.parse(BootstrapParser.java:60)
 at org.jboss.bootstrap.microcontainer.ServerImpl.doStart(ServerImpl.java:123)
 at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:450)
 at org.jboss.Main.boot(Main.java:221)
 at org.jboss.Main$1.run(Main.java:556)
 at java.lang.Thread.run(Thread.java:619)
Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse source: file:/E:/javaserver/jboss/server/jboss/conf/bootstrap.xml
 at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:177)
 at org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:119)
 at org.jboss.bootstrap.xml.BootstrapParser.parse(BootstrapParser.java:53)
 ... 5 more
Caused by: java.io.FileNotFoundException: E:\javaserver\jboss\server\jboss\conf\bootstrap.xml
 at org.jboss.net.protocol.file.FileURLConnection.connect(FileURLConnection.java:105)
 at org.jboss.net.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:112)
 at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
 at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source)
 at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
 at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
 at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
 at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
 at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
 at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:173)
 ... 7 more
22:24:03,625 INFO  [ServerImpl] Runtime shutdown hook called, forceHalt: true
22:24:03,640 INFO  [ServerImpl] Shutdown complete
Shutdown complete
Halting VM

最佳答案
  • 五星知识达人网友:走死在岁月里
  • 2021-05-02 07:54
没有配置JDK吧
我要举报
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息
大家都在看
推荐资讯