2012-04-03 11 views
0

Ich versuchte Axis2 WAR-Datei (Versionen 1.6.1 und 1.5.6) auf JBoss 6.0.0 und bekam die folgende Fehlermeldung zu implementieren:
JBoss 6 Fehler Bereitstellung von Axis2

`

DEPLOYMENTS IN ERROR: 
    Deployment "vfs:///C:/Desenvolvimento/jboss-6.0.0.Final/server/default/deploy/ 
axis2.war" is in error due to the following reason(s): java.lang.ClassNotFoundEx 
ception: 1.0.com.sun.codemodel.JConditional 
     at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(Dep 
loyersImpl.java:1228) [:2.2.0.GA] 
     at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainD 
eployerImpl.java:905) [:2.2.0.GA] 
     at org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.c 
heckComplete(MainDeployerPlugin.java:87) [:6.0.0.Final] 
     at org.jboss.profileservice.deployment.ProfileDeployerPluginRegistry.che 
ckAllComplete(ProfileDeployerPluginRegistry.java:107) [:0.2.2] 
     at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceB 
ootstrap.start(BasicProfileServiceBootstrap.java:135) [:6.0.0.Final] 
     at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceB 
ootstrap.start(BasicProfileServiceBootstrap.java:56) [:6.0.0.Final] 
     at org.jboss.bootstrap.impl.base.server.AbstractServer.startBootstraps(A 
bstractServer.java:827) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5] 
     at org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.r 
un(AbstractServer.java:417) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5] 
     at java.lang.Thread.run(Thread.java:662) [:1.6.0_27] 

`

Vielen Dank im Voraus

Antwort

0

Ich hatte das gleiche Problem, aber mit CXF. Das Problem ist das Glas jaxb-xjc - *. Jar

Ich muss ein XML mit spezieller Konfiguration für jboss hinzufügen.

Dateiname: jboss-scanning.xml (fügen Sie dies in WEB-INF-Verzeichnis)

<?xml version="1.0" encoding="UTF-8"?> 
<scanning xmlns="urn:jboss:scanning:1.0"> 
    <path name="WEB-INF/classes" /> 
    <path name="WEB-INF/lib/jaxb-xjc-2.1.13.jar"> 
     <exclude name="" recurse="true" /> 
    </path> 
</scanning> 

Dies ist der Inhalt meiner Datei. Auch brauche ich eine Datei mit dem Namen: jboss-classloading.xml, in WEB-INF-Verzeichnis zu

<?xml version="1.0" encoding="UTF-8" ?> 
<classloading xmlns="urn:jboss:classloading:1.0" domain="project.war" 
    export-all="NON_EMPTY" import-all="true"> 
</classloading> 

ich diese Hilfe hoffen, sorry für mein schlechtes Englisch.

Verwandte Themen