hi, I have created a simple application and deployed it using Sun's Application server (PE8). My Bean classes are my.diary.Diary (helper class), my.diary.DiaryBean, my.diary.DiaryHome, my.diary.DiaryRemote. Things deployed successfully & I made my WAR to refer to the Ejbs. Also, I set the Jndi name & Ejb' refernce tab perfect. When, My jsp file tries to call the bean, the apps do not detect any of the class & also any of the class from javax.ejb.*? What went wrong? (Also I imported all these classes in my Jsp file)
(I didnt include the code with this post, hope this info is enough)
posted 11 years ago
Basically, your JSP compiler is unable to find the j2ee.jar (or the jar which has the javax.ejb interfaces) Make sure the jar with the javax.ejb interfaces are present in the classpath.