Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

problem compiling EJB ( j2ee server )  RSS feed

 
ravi janap
Ranch Hand
Posts: 389
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please somebody help. While compiling my EJB program , I am getting the following compilations errors. I have followed all the steps as given in help document.
C:\ravindra\Student>set J2EE_HOME=c:\j2sdkee1.2.1;
C:\ravindra\Student>set CPATH=.;c:\j2sdkee1.2.1;\lib\j2ee.jar
C:\ravindra\Student>javac -classpath .;c:\j2sdkee1.2.1;\lib\j2ee.jar StudentBean.java StudentHome.
StudentBean.java:3: Package javax.ejb not found in import.
import javax.ejb.*;
^
StudentBean.java:5: Interface school.student.SessionBean of class school.student.StudentBean not f
public class StudentBean implements SessionBean {
^
StudentHome.java:4: Class javax.ejb.CreateException not found in import.
import javax.ejb.CreateException;
^
StudentHome.java:5: Package javax.ejb not found in import.
import javax.ejb.*;
^
StudentHome.java:7: Interface school.student.EJBHome of interface school.student.StudentHome not f
public interface StudentHome extends EJBHome {
^
Student.java:3: Package javax.ejb not found in import.
import javax.ejb.*;
^
Student.java:6: Interface school.student.EJBObject of interface school.student.Student not found.
public interface Student extends EJBObject {
^
7 errors

 
Majid Khan
Ranch Hand
Posts: 92
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Chk your cp Again !
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!