• Post Reply Bookmark Topic Watch Topic
  • New Topic

Converter Example of J2eetutorial

 
pankaj agarwal
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
I am a novice in J2EE, and am facing some problems. Could any of you please help me out in this?
I first tried using ant to compile the source code files of Converter application, which didn't work. Error was ....
ConverterClient.java:14: '.' expected
import Converter;
^
ConverterClient.java:15: '.' expected
import ConverterHome;
^
I then tried individually compiling the source files...I could compile Converter, ConverterHome,ConverterBean. On trying to compile ConverterClient, I got the following error again:
c:\j2sdkee1.3\j2eetutorial\examples\src\ejb\converter>javac -classpath c:\build;%classpath% ConverterClient.java
ConverterClient.java:14: '.' expected
import Converter;
^
ConverterClient.java:15: '.' expected
import ConverterHome;
^
2 errors
I had stored other class files in c:\build, and so I included that dir in the -classpath option.
I am working in Windows NT with J2SDKEE1.3 and J2SDK1.4 beta.

Please could anyone help me out in this?
Thanks in Advance

Pankaj

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!