[jboss-user] [JBoss Getting Started Documentation] - Bank example compile error.

dream2732 do-not-reply at jboss.com
Wed Oct 18 21:50:51 EDT 2006


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.

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979230



More information about the jboss-user mailing list