• Post Reply Bookmark Topic Watch Topic
  • New Topic

how to configure class path for EJBs  RSS feed

 
Ranch Hand
Posts: 431
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have downloaded JBOSS and installed it. I have written the bean class and the two interfaces given in 1st chapter. But I couldnt compile them. It is showing errors as could not resolve symbol EJBObject, EJBHome, SessionBean. I could infer that the class path for the jar which contains all these classes is not properly set. But I couldnt locate it by myself.

So can anyone tell me, how can I set the class path?. I am using JBOSS 4.0.2. Advance thanks.
 
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need to make sure j2ee.jar is in your classpath. It will be where ever you have installed the J2EE SDK.
 
What a show! What atmosphere! What fun! What a tiny ad!
Why should you try IntelliJ IDEA ?
https://coderanch.com/wiki/696337/IntelliJ-IDEA
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!