1 Reply Latest reply on Jan 29, 2004 5:24 PM by Luke Taylor

    Error compiling Duke's Bank example

    joaoccosta Newbie

       

      "JoaoCCosta" wrote:
      Hi,

      I just tried to compile Duke's Bank example and I got the following. What's the solution?

      Thanks,
      Joao


      C:\j2eetutorial14\bank>ant -f jboss-build.xml compile
      Buildfile: jboss-build.xml

      prepare:
      [mkdir] Created dir: C:\j2eetutorial14\bank\build

      compile:
      [javac] Compiling 1 source file to C:\j2eetutorial14\bank\build
      [javac] C:\j2eetutorial14\bank\src\WSClient.java:4: package com.sun.ebank.ut
      il does not exist
      [javac] import com.sun.ebank.util.AccountDetails;
      [javac] ^
      [javac] C:\j2eetutorial14\bank\src\WSClient.java:26: cannot resolve symbol
      [javac] symbol : class AccountDetails
      [javac] location: class WSClient
      [javac] call.setReturnClass(AccountDetails.class);
      [javac] ^
      [javac] C:\j2eetutorial14\bank\src\WSClient.java:29: cannot resolve symbol
      [javac] symbol : class AccountDetails
      [javac] location: class WSClient
      [javac] call.registerTypeMapping(AccountDetails.class, qn,
      [javac] ^
      [javac] C:\j2eetutorial14\bank\src\WSClient.java:30: cannot resolve symbol
      [javac] symbol : class AccountDetails
      [javac] location: class WSClient
      [javac] new org.apache.axis.encoding.ser.BeanSerializerFactor
      y(AccountDetails.class, qn),
      [javac]
      ^
      [javac] C:\j2eetutorial14\bank\src\WSClient.java:31: cannot resolve symbol
      [javac] symbol : class AccountDetails
      [javac] location: class WSClient
      [javac] new org.apache.axis.encoding.ser.BeanDeserializerFact
      ory(AccountDetails.class, qn));
      [javac]
      ^
      [javac] C:\j2eetutorial14\bank\src\WSClient.java:33: cannot resolve symbol
      [javac] symbol : class AccountDetails
      [javac] location: class WSClient
      [javac] AccountDetails ret = (AccountDetails) call.invoke( new Object[
      ] { "5005" } );
      [javac] ^
      [javac] C:\j2eetutorial14\bank\src\WSClient.java:33: cannot resolve symbol
      [javac] symbol : class AccountDetails
      [javac] location: class WSClient
      [javac] AccountDetails ret = (AccountDetails) call.invoke( new Object[
      ] { "5005" } );
      [javac] ^
      [javac] 7 errors

      BUILD FAILED
      C:\j2eetutorial14\bank\jboss-build.xml:49: Compile failed; see the compiler erro
      r output for details.

      Total time: 7 seconds
      C:\j2eetutorial14\bank>