• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

Converter Example of J2eetutorial

 
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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

 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic