| lonely sagittarian 2005-04-28, 4:00 am |
| Hi
> I am trying to run the Tassie Online Book Store
> Example. It is on:
http://benmira.free.fr/en/j2ee/sessionEJB.htm
>
> While I successfully compiled the Search (plus the
> other 2), BookDetails( plus the other 2). Finally when
> i come to the Cart set of EJBs, I am able to compile
> Cart.java, and CartHome.java. But when i try to
> compile Cartbean.java compilation fails.
>
> The details are as below:
>
> C:\classes>javac -classpath
> C:\jboss\client\jboss-j2ee.jar;. com/brainysoftware/
> tassie/ejb/CartBean.java
> com/brainysoftware/tassie/ejb/CartBean.java:35: cannot
> resolve symbol
> symbol : variable cart
> location: class com.brainysoftware.tassie.ejb.CartBean
> cart.add(row);
> ^
> com/brainysoftware/tassie/ejb/CartBean.java:40: cannot
> resolve symbol
> symbol : variable cart
> location: class com.brainysoftware.tassie.ejb.CartBean
> return cart;
> ^
> 2 errors
>
> ----------------------
I even tried compiling all the EJB's using javac/*.java. ( offcourse
by setting the classpath).
>
> Do you have any suggestions as to what is wrong?
> Perhaps I am missing something really obvious in all
> my inexperience. Your kind help is highly appreciated.
>
> sincerely
> ilango gurusamy
>
|