5 Replies Latest reply on Jan 25, 2006 4:07 PM by Deborah Redley

    please help : error building jboss-build.xml

    maria luisa muela Newbie

      Hello,
      i am unable to build the jboss-build.xml from the j2eetutorial14
      with command ant -f jboss-build.xml.

      can anybody help? thanks

      i got the following errors.
      Buildfile: jboss-build.xml

      prepare:

      compile:
      [javac] Compiling 5 source files to C:\j2eetutorial14\examples\bank\build
      [javac] C:\j2eetutorial14\examples\bank\src\com\jboss\ebank\TellerBean.java:16: package com.sun.ebank.ejb.account does not exist
      [javac] import com.sun.ebank.ejb.account.AccountController;
      [javac] ^
      [javac] C:\j2eetutorial14\examples\bank\src\com\jboss\ebank\TellerBean.java:17: package com.sun.ebank.ejb.account does not exist
      [javac] import com.sun.ebank.ejb.account.AccountControllerHome;
      [javac] ^
      [javac] C:\j2eetutorial14\examples\bank\src\com\jboss\ebank\TellerBean.java:18: package com.sun.ebank.util does not exist
      [javac] import com.sun.ebank.util.AccountDetails;
      [javac] ^
      [javac] C:\j2eetutorial14\examples\bank\src\com\jboss\ebank\TellerBean.java:26: cannot resolve symbol
      [javac] symbol : class AccountController
      [javac] location: class com.jboss.ebank.TellerBean
      [javac] private AccountController getController()
      [javac] ^
      [javac] C:\j2eetutorial14\examples\bank\src\com\jboss\ebank\web\CustomerHackFilter.java:5: package com.sun.ebank.util does not exist
      [javac] import com.sun.ebank.util.Debug;
      [javac] ^
      [javac] C:\j2eetutorial14\examples\bank\src\com\jboss\ebank\web\CustomerHackFilter.java:6: package com.sun.ebank.web does not exist
      [javac] import com.sun.ebank.web.*;
      [javac] ^
      [javac] C:\j2eetutorial14\examples\bank\src\com\jboss\ebank\TellerBean.java:32: cannot resolve symbol
      [javac] symbol : class AccountControllerHome
      [javac] location: class com.jboss.ebank.TellerBean
      [javac] AccountControllerHome home = (AccountControllerHome)
      [javac] ^
      [javac] C:\j2eetutorial14\examples\bank\src\com\jboss\ebank\TellerBean.java:32: cannot resolve symbol
      [javac] symbol : class AccountControllerHome
      [javac] location: class com.jboss.ebank.TellerBean
      [javac] AccountControllerHome home = (AccountControllerHome)
      [javac] ^
      [javac] C:\j2eetutorial14\examples\bank\src\com\jboss\ebank\TellerBean.java:40: cannot resolve symbol
      [javac] symbol : class AccountController
      [javac] location: class com.jboss.ebank.TellerBean
      [javac] AccountController mgr = getController();
      [javac] ^
      [javac] C:\j2eetutorial14\examples\bank\src\com\jboss\ebank\TellerBean.java:41: cannot resolve symbol
      [javac] symbol : class AccountDetails
      [javac] location: class com.jboss.ebank.TellerBean
      [javac] AccountDetails details = mgr.getDetails(accountID);
      [javac] ^
      [javac] C:\j2eetutorial14\examples\bank\src\com\jboss\ebank\TellerBean.java:53: cannot resolve symbol
      [javac] symbol : class AccountController
      [javac] location: class com.jboss.ebank.TellerBean
      [javac] AccountController mgr = getController();
      [javac] ^
      [javac] C:\j2eetutorial14\examples\bank\src\com\jboss\ebank\TellerBean.java:60: cannot resolve symbol
      [javac] symbol : class AccountDetails
      [javac] location: class com.jboss.ebank.TellerBean
      [javac] AccountDetails details = (AccountDetails) it_list.next();
      [javac] ^
      [javac] C:\j2eetutorial14\examples\bank\src\com\jboss\ebank\TellerBean.java:60: cannot resolve symbol
      [javac] symbol : class AccountDetails
      [javac] location: class com.jboss.ebank.TellerBean
      [javac] AccountDetails details = (AccountDetails) it_list.next();
      [javac] ^
      [javac] C:\j2eetutorial14\examples\bank\src\com\jboss\ebank\web\CustomerHackFilter.java:40: cannot resolve symbol
      [javac] symbol : class BeanManager
      [javac] location: class com.jboss.ebank.web.CustomerHackFilter
      [javac] BeanManager beanManager =
      [javac] ^
      [javac] C:\j2eetutorial14\examples\bank\src\com\jboss\ebank\web\CustomerHackFilter.java:41: cannot resolve symbol
      [javac] symbol : class BeanManager
      [javac] location: class com.jboss.ebank.web.CustomerHackFilter
      [javac] (BeanManager) session.getAttribute("beanManager");
      [javac] ^
      [javac] C:\j2eetutorial14\examples\bank\src\com\jboss\ebank\web\CustomerHackFilter.java:44: cannot resolve symbol
      [javac] symbol : variable Debug
      [javac] location: class com.jboss.ebank.web.CustomerHackFilter
      [javac] Debug.print("hack - Creating bean manager.");
      [javac] ^
      [javac] C:\j2eetutorial14\examples\bank\src\com\jboss\ebank\web\CustomerHackFilter.java:45: cannot resolve symbol
      [javac] symbol : class BeanManager
      [javac] location: class com.jboss.ebank.web.CustomerHackFilter
      [javac] beanManager = new BeanManager();
      [javac] ^
      [javac] C:\j2eetutorial14\examples\bank\src\com\jboss\ebank\web\CustomerHackFilter.java:49: cannot resolve symbol
      [javac] symbol : class CustomerBean
      [javac] location: class com.jboss.ebank.web.CustomerHackFilter
      [javac] CustomerBean customerBean = new CustomerBean();
      [javac] ^
      [javac] C:\j2eetutorial14\examples\bank\src\com\jboss\ebank\web\CustomerHackFilter.java:49: cannot resolve symbol
      [javac] symbol : class CustomerBean
      [javac] location: class com.jboss.ebank.web.CustomerHackFilter
      [javac] CustomerBean customerBean = new CustomerBean();
      [javac] ^
      [javac] C:\j2eetutorial14\examples\bank\src\com\jboss\ebank\web\CustomerHackFilter.java:52: cannot resolve symbol
      [javac] symbol : variable Debug
      [javac] location: class com.jboss.ebank.web.CustomerHackFilter
      [javac] Debug.print("hack - added customerBean to request");
      [javac] ^
      [javac] 20 errors