2 Replies Latest reply on Feb 17, 2007 6:03 AM by Jochen Breuer

    Can't build Duke's bank

    Tracy Monteith Newbie

      I've seen this post before but the suggested answer 'fix jboss.home doesn't work.

      Duke's bank won't compile.

      1. Error:

      compile:
      [javac] Compiling 5 source files to c:\code\jboss\docs\startguide40\jbossj2ee-src\examples\bank\build
      [javac] c:\code\jboss\docs\startguide40\jbossj2ee-src\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:\code\jboss\docs\startguide40\jbossj2ee-src\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:\code\jboss\docs\startguide40\jbossj2ee-src\examples\bank\src\com\
      jboss\ebank\TellerBean.java:18: package com.sun.ebank.util does not exist

      2. My jboss.home =
      results of: ls c:/code/jboss
      InstallSummary.html bin copyright.txt lgpl.html
      readme.html server
      Uninstaller client docs lib readme_j2ee.html

      3. my jboss-build.properties

      jboss.home=c:/code/jboss
      jboss.server=${jboss.home}/server/default
      jboss.deploy.dir=${jboss.server}/deploy


      What's wrong? How do I fix this?