我运行escalante-run
并收到以下错误:
请注意,它尝试读取的xml文件不完整:
cat /var/folders/8n/ws0wh0wd4vg5tf80b_kpq5_r0000gq/T/escalante-0.2.0/modules/org/scala-lang/scala-library/2.10.0/module.xml
<?xml version='1.0' encoding='UTF-8'?>
文件结束,这是错误:
WARN: Artifact not found (exception: Could not find artifact net.liftweb:lift-json-ext_2.10.0:jar:2.5-RC2 in central (http://repo1.maven.org/maven2)), but Scala version old (UnknownScalaVersion(2.10.0)), so with a more recent one: SCALA_292
Mar 29, 2013 3:22:32 AM org.jboss.msc.service.ServiceLogger_$logger startFailed
ERROR: MSC00001: Failed to start service jboss.module.service."deployment.ROOT.war".main
org.jboss.msc.service.StartException in service jboss.module.service."deployment.ROOT.war".main: JBAS018759: Failed to load module: deployment.ROOT.war:main
at org.jboss.as.server.moduleservice.ModuleLoadService.start(ModuleLoadService.java:92)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:680)
Caused by: org.jboss.modules.ModuleLoadException: Error loading module from /var/folders/8n/ws0wh0wd4vg5tf80b_kpq5_r0000gq/T/escalante-0.2.0/modules/org/scala-lang/scala-library/2.10.0/module.xml
at org.jboss.modules.ModuleXmlParser.parseModuleXml(ModuleXmlParser.java:293)
at org.jboss.modules.ModuleXmlParser.parseModuleXml(ModuleXmlParser.java:243)
at org.jboss.modules.LocalModuleLoader.parseModuleInfoFile(LocalModuleLoader.java:138)
at org.jboss.modules.LocalModuleLoader.findModule(LocalModuleLoader.java:122)
at org.jboss.modules.ModuleLoader.loadModuleLocal(ModuleLoader.java:275)
at org.jboss.modules.ModuleLoader.preloadModule(ModuleLoader.java:222)
at org.jboss.modules.LocalModuleLoader.preloadModule(LocalModuleLoader.java:94)
at org.jboss.modules.Module.addPaths(Module.java:851)
at org.jboss.modules.Module.link(Module.java:1206)
at org.jboss.modules.Module.relinkIfNecessary(Module.java:1235)
at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:208)
at org.jboss.as.server.moduleservice.ModuleLoadService.start(ModuleLoadService.java:71)
... 5 more
Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[2,1]
Message: Premature end of file.
at com.sun.org.apache.xerces.internal.impl.XMLStreamReaderImpl.next(XMLStreamReaderImpl.java:594)
at com.sun.org.apache.xerces.internal.impl.XMLStreamReaderImpl.nextTag(XMLStreamReaderImpl.java:1235)
at org.jboss.modules.ModuleXmlParser.parseDocument(ModuleXmlParser.java:540)
at org.jboss.modules.ModuleXmlParser.parseModuleXml(ModuleXmlParser.java:288)
... 16 more
Mar 29, 2013 3:22:32 AM org.jboss.as.server.deployment.DeploymentHandlerUtil$1$2 handleResult
ERROR: JBAS015870: Deploy of deployment "ROOT.war" was rolled back with the following failure message:
{"JBAS014671: Failed services" => {"jboss.module.service.\"deployment.ROOT.war\".main" => "org.jboss.msc.service.StartException in service jboss.module.service.\"deployment.ROOT.war\".main: JBAS018759: Failed to load module: deployment.ROOT.war:main
Caused by: org.jboss.modules.ModuleLoadException: Error loading module from /var/folders/8n/ws0wh0wd4vg5tf80b_kpq5_r0000gq/T/escalante-0.2.0/modules/org/scala-lang/scala-library/2.10.0/module.xml
Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[2,1]
Message: Premature end of file."}}
Mar 29, 2013 3:22:32 AM org.jboss.as.server.deployment.AbstractDeploymentUnitService stop
INFO: JBAS015877: Stopped deployment ROOT.war in 32ms
[trace] Stack trace suppressed: run last *:escalante-run for the full output.
[error] (*:escalante-run) org.jboss.as.controller.client.helpers.standalone.ServerDeploymentHelper$ServerDeploymentException: java.lang.Exception: {"JBAS014671: Failed services" => {"jboss.module.service.\"deployment.ROOT.war\".main" => "org.jboss.msc.service.StartException in service jboss.module.service.\"deployment.ROOT.war\".main: JBAS018759: Failed to load module: deployment.ROOT.war:main
[error] Caused by: org.jboss.modules.ModuleLoadException: Error loading module from /var/folders/8n/ws0wh0wd4vg5tf80b_kpq5_r0000gq/T/escalante-0.2.0/modules/org/scala-lang/scala-library/2.10.0/module.xml
[error] Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[2,1]
[error] Message: Premature end of file."}}
[error] Total time: 8 s, completed Mar 29, 2013 3:22:32 AM