第一次接觸jboss,執行例子出錯,鬱悶,求教
我按照本論壇“JBoss的安裝”一文將documentation-example.zip用ant intro-interest-ear編譯以後,將interest.ear複製到E:\jboss-3.2.2\server\default\deploy中,執行jboss3.2.2出現錯誤:
org.jboss.deployment.DeploymentException: ejb-jar.xml must define a valid DOCTYP
E!
at org.jboss.metadata.ApplicationMetaData.importEjbJarXml(ApplicationMet
aData.java:206)
at org.jboss.metadata.XmlFileLoader.load(XmlFileLoader.java:141)
at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:436)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:786)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:778)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:641)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
at sun.reflect.GeneratedMethodAccessor38.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
nDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy6.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
tScanner.java:302)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
canner.java:476)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
doScan(AbstractDeploymentScanner.java:201)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
loop(AbstractDeploymentScanner.java:212)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
run(AbstractDeploymentScanner.java:191)
16:44:04,743 ERROR [MainDeployer] could not create deployment: file:/E:/jboss-3.
2.2/server/default/deploy/interest.ear
org.jboss.deployment.DeploymentException: ejb-jar.xml must define a valid DOCTYP
E!
at org.jboss.metadata.ApplicationMetaData.importEjbJarXml(ApplicationMet
aData.java:206)
at org.jboss.metadata.XmlFileLoader.load(XmlFileLoader.java:141)
at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:436)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:786)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:778)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:641)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
at sun.reflect.GeneratedMethodAccessor38.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
nDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy6.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
tScanner.java:302)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
canner.java:476)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
doScan(AbstractDeploymentScanner.java:201)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
loop(AbstractDeploymentScanner.java:212)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
run(AbstractDeploymentScanner.java:191)
那位高手能告訴我是哪裡出了錯誤了?謝謝!
org.jboss.deployment.DeploymentException: ejb-jar.xml must define a valid DOCTYP
E!
at org.jboss.metadata.ApplicationMetaData.importEjbJarXml(ApplicationMet
aData.java:206)
at org.jboss.metadata.XmlFileLoader.load(XmlFileLoader.java:141)
at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:436)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:786)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:778)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:641)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
at sun.reflect.GeneratedMethodAccessor38.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
nDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy6.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
tScanner.java:302)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
canner.java:476)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
doScan(AbstractDeploymentScanner.java:201)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
loop(AbstractDeploymentScanner.java:212)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
run(AbstractDeploymentScanner.java:191)
16:44:04,743 ERROR [MainDeployer] could not create deployment: file:/E:/jboss-3.
2.2/server/default/deploy/interest.ear
org.jboss.deployment.DeploymentException: ejb-jar.xml must define a valid DOCTYP
E!
at org.jboss.metadata.ApplicationMetaData.importEjbJarXml(ApplicationMet
aData.java:206)
at org.jboss.metadata.XmlFileLoader.load(XmlFileLoader.java:141)
at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:436)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:786)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:778)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:641)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
at sun.reflect.GeneratedMethodAccessor38.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
nDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy6.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
tScanner.java:302)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
canner.java:476)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
doScan(AbstractDeploymentScanner.java:201)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
loop(AbstractDeploymentScanner.java:212)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
run(AbstractDeploymentScanner.java:191)
那位高手能告訴我是哪裡出了錯誤了?謝謝!
相關文章
- 鬱悶的出納員
- [luogu1486][鬱悶的出納員]
- Kotlin第一次接觸Kotlin
- P1486 [NOI2004] 鬱悶的出納員
- 3.15 與部落格的第一次接觸
- 被領導暗示加班太少,有點鬱悶。。。
- 聊聊質量管理工程師的鬱悶工程師
- 第一次接觸管理專案都要注意哪些問題?
- 我一鬱悶,我就發表一個rms小型資料引擎
- SCSS初接觸CSS
- 初次接觸 CookieCookie
- WebSocket初接觸Web
- MVVM初接觸MVVM
- windows(10)執行laravel new blog出錯WindowsLaravel
- SAP Data Intelligence API執行出錯的排錯之道IntelAPI
- 初次接觸express框架Express框架
- 接觸el-admin
- 一、初次接觸javaJava
- 原程式執行良好,Pyinstaller封裝後執行出錯 的分析封裝
- mysql執行函式出現1418錯誤MySql函式
- 手動執行SQL觸發器id自增報錯處理方式SQL觸發器
- 一個SystemC執行緒與SystemVerilog執行緒通訊的例子執行緒
- iris 的 websocket 初始接觸Web
- MyBatis TypeHandler的初次接觸MyBatis
- Laravel 執行 Gulp 命令出錯解決辦法Laravel
- Python簡單實現多執行緒例子Python執行緒
- 初接觸:從建立工程到匯出gerber(學習Altium Designer)
- 新手接觸spring第一課Spring
- MZJ600A直流接觸器
- 第一次開啟Android Studio建立專案執行報錯Failed to open zip fileAndroidAI
- 執行wget命令,出錯:無法建立 SSL 連線。wget
- 有關程式碼執行效率提升的小例子
- 多執行緒賣火車票簡單例子執行緒單例
- 求教!!!
- 執行錯誤集
- 執行緒的【生命週期】和【執行緒的同步】(多視窗售票例子)執行緒
- 定時器setInterval,只執行一次/第一次延遲執行定時器
- vue瞭解與初步接觸/使用Vue
- 檢視執行計劃出現ORA-22992錯誤