[jboss-user] [JBoss Getting Started Documentation] - Bank example build error
JasonHsu
do-not-reply at jboss.com
Fri May 4 03:16:26 EDT 2007
I got the sample, http://www.jboss.com/index.html?module=downloads&op=download&downloadId=60 and unzip jbossj2ee-src.zip then tried follow the step 4.1.2 in the Getting Started Guild to compile the source of ebank:
ant -f jboss-build.xml compile
I got the following errors:(only part of the errors are listed as the following)
| compile:
| [javac] Compiling 5 source files to C:\Buff\jbossj2ee-sample\examples\bank\b
| uild
| [javac] C:\Buff\jbossj2ee-sample\examples\bank\src\com\jboss\ebank\TellerBea
| n.java:16: package com.sun.ebank.ejb.account does not exist
| [javac] import com.sun.ebank.ejb.account.AccountController;
| [javac] ^
| [javac] C:\Buff\jbossj2ee-sample\examples\bank\src\com\jboss\ebank\TellerBea
| n.java:17: package com.sun.ebank.ejb.account does not exist
| [javac] import com.sun.ebank.ejb.account.AccountControllerHome;
| [javac] ^
| [javac] C:\Buff\jbossj2ee-sample\examples\bank\src\com\jboss\ebank\TellerBea
| n.java:18: package com.sun.ebank.util does not exist
| [javac] import com.sun.ebank.util.AccountDetails;
| [javac] ^
| [javac] C:\Buff\jbossj2ee-sample\examples\bank\src\com\jboss\ebank\TellerBea
| n.java:26: cannot find symbol
| [javac] symbol : class AccountController
| [javac] location: class com.jboss.ebank.TellerBean
| [javac] private AccountController getController()
| [javac] ^
| [javac] C:\Buff\jbossj2ee-sample\examples\bank\src\com\jboss\ebank\web\Custo
| merHackFilter.java:5: package com.sun.ebank.util does not exist
| [javac] import com.sun.ebank.util.Debug;
| [javac] ^
| .......
|
|
| Then I browse to the directory of bank\src. I found that there are only five .java files at
| com/jboss/ebank/AccountList.java
| com/jboss/ebank/TellerBean.java
| com/jboss/ebank/TellerEndpoint.java
| com/jboss/ebank/WSClient.java
| com/jboss/ebank/web/CustomerHackFilter.java
|
| I don't see the package of com.sun.ebank.ejb.account or com.sun.ebank.util as the complie error shows.
|
| Did I miss something? or where I can get the sample with all files?
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4043076#4043076
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4043076
More information about the jboss-user
mailing list