• 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

problem compiling EJB ( j2ee server )

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

 
Ranch Hand
Posts: 92
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Chk your cp Again !
 
A wop bop a lu bop a womp bam boom! Tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic