Hello,

running wstools as AntTask i get the following error:

  [wstools] log4j:WARN No appenders could be found for logger 
(org.jboss.ws.tools.WSTools).
  [wstools] log4j:WARN Please initialize the log4j system properly.

BUILD FAILED
java.lang.NoClassDefFoundError: org/jboss/xb/binding/ObjectModelFactory

I have installed JBoss-4.0.5.GA using the installer, leaving everything default.

My build.xml:


  | 
  | <project default="generate-ws-sources" name="JBoss/Messaging">
  | 
  |     <!-- WSTools Classpath -->
  |         <path id="wstools.classpath">
  |           <fileset dir="C:/Programme/jboss-4.0.5.GA/client">
  |             <include name="activation.jar"/>
  |             <include name="commons-logging.jar"/>
  |             <include name="javassist.jar"/>
  |             <include name="jbossall-client.jar"/>
  |             <include name="jbossws14-client.jar"/>
  |             <include name="log4j.jar"/>
  |             <include name="mail.jar"/>
  |             <include name="jbossretro-rt.jar"/>
  |             <include name="jboss-backport-concurrent.jar"/>
  |           </fileset>
  |         </path>
  |     
  |     <path id="jbossws.client.classpath">
  |        <pathelement location="${jboss.client}/activation.jar"/>
  |        <pathelement location="${jboss.client}/commons-logging.jar"/>
  |        <pathelement location="${jboss.client}/javassist.jar"/>
  |        <pathelement location="${jboss.client}/jbossall-client.jar"/>
  |        <pathelement location="${jboss.client}/jbossws14.client.jar"/>
  |        <pathelement location="${jboss.client}/log4j.jar"/>
  |        <pathelement location="${jboss.client}/mail.jar"/>
  |        <pathelement location="${jboss.client}/jbossretro-rt.jar"/>
  |        <pathelement 
location="${jboss.client}/jboss-backport-concurrent.jar"/>
  |      </path>
  | 
  |         <!-- Define a taskdef for the wstools ant task -->
  |         <taskdef name="wstools" classname="org.jboss.ws.tools.ant.wstools">
  |             <classpath refid="wstools.classpath" />
  |             <classpath refid="jbossws.client.classpath"/>
  |             <classpath path="${build.classes}"/>
  |         </taskdef>
  | 
  | 
  |       <target name="generate-ws-sources" description="Generate the 
deployment resources.">
  | 
  |         <wstools dest="${build.src.metadata}/META-INF"
  |           config="${src.metadata}/src/ws/wstools-config.xml"/>
  | 
  |       </target>
  |     </project>

Thank you for your help!

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4020491#4020491

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4020491
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to