1 2 Previous Next 15 Replies Latest reply on Aug 22, 2007 10:43 AM by Kathryn Lehker

    Bank example compile error.

    darren liu Newbie

      I carefully followed the getting started guide (for version 4.0.3SP1) to the point where it says "compiling the java source"--environment variables, I believe are set up correctly, and I also pointed jboss.home to my local jboss installation directory, when I ran the ant command "ant -f jboss-build.xml compile", get the following error :

      [javac] C:\Documents and Settings\powerpc\Desktop\ff_down\j2eetutorial14\
      examples\bank\src\com\jboss\ebank\WSClient.java:15: package org.jboss.ws.jaxrpc
      does not exist
      [javac] import org.jboss.ws.jaxrpc.ServiceFactoryImpl;
      [javac] ^
      [javac] C:\Documents and Settings\powerpc\Desktop\ff_down\j2eetutorial14\
      examples\bank\src\com\jboss\ebank\WSClient.java:16: package org.jboss.ws.jaxrpc
      does not exist
      [javac] import org.jboss.ws.jaxrpc.ServiceImpl;
      [javac] ^
      [javac] C:\Documents and Settings\powerpc\Desktop\ff_down\j2eetutorial14\
      examples\bank\src\com\jboss\ebank\WSClient.java:31: cannot find symbol
      [javac] symbol : class ServiceFactoryImpl
      [javac] location: class com.jboss.ebank.WSClient
      [javac] ServiceFactoryImpl factory = new ServiceFactoryImpl();
      [javac] ^
      [javac] C:\Documents and Settings\powerpc\Desktop\ff_down\j2eetutorial14\
      examples\bank\src\com\jboss\ebank\WSClient.java:31: cannot find symbol
      [javac] symbol : class ServiceFactoryImpl
      [javac] location: class com.jboss.ebank.WSClient
      [javac] ServiceFactoryImpl factory = new ServiceFactoryImpl();
      [javac] ^
      [javac] Note: Some input files use unchecked or unsafe operations.
      [javac] Note: Recompile with -Xlint:unchecked for details.
      [javac] 4 errors

      Has anyone experienced this before? Any input is appreciated.

        1 2 Previous Next