This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Package javax.ejb does not exist

 
Srinivas Kadiyala
Greenhorn
Posts: 13
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am getting the above error when I am compiling EJB files ( *.java).

Can any one explain me ?

I am using Blazix EJB server

Thanks in advance
 
Mag Hoehme
Ranch Hand
Posts: 194
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Looks like a classpath problem. Did you check your classpath?

Hope this helps.
 
Kyle Brown
author
Ranch Hand
Posts: 3892
5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In particular, make sure the file j2ee.jar is on your classpath.

Kyle
 
Srinivas Kadiyala
Greenhorn
Posts: 13
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have place the j2ee.jar in the lib drectory and gave the class pathe.

Also gave pathe to Blazix.jar a jar file by the Blazix server which is supposed to have the same jar file.

Still I am facing problem.

Give me any further suggestions

Tq
 
Mag Hoehme
Ranch Hand
Posts: 194
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you have the full name of the jar file in your classpath? For example:

does not work! You can't include a directory. You have to enter:

Also check your separators (; on Windows, : on Unixes).

Secondly: Do you use an IDE? An Ant script? Or do you call javac from the command line?

Hope this helps.
[ June 09, 2004: Message edited by: Mag Hoehme ]
 
Srinivas Kadiyala
Greenhorn
Posts: 13
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks to all.

Just a classpath setting problem.

Typo error(Spelling mistake)

It wasted my time like anything

Anyway thanks to all of u
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic