Interface not found

Discussions

EJB design: Interface not found

  1. Interface not found (5 messages)

    Hi,
    I am trying to compile my first EJB remote interface.
    I am getting error like "interface javax.ejb.EJBObject of interface Cabin not found.
    My code is like this


    import java.rmi.RemoteInterface;

    public interface Cabin extends javax.ejb.EJBObject{
    ----
    }

    I am jdk1.2 and javawebserver2.0 versions.
    Is it required for me to downloaded any classes and if so what classes should i download.
    Thanks in advance
    Andy

    Threaded Messages (5)

  2. Interface not found[ Go to top ]

    u might wanna check ur classpath.

    and yes u have to download the J2EE libraries
  3. Interface not found[ Go to top ]

    Hi kapil,
    can you please let me know the path and what all the classes i should download from J2EE.
    Thanks
    Andy
  4. Interface not found[ Go to top ]

    If you are using WebLogig 5.0 verify presence of weblogicaux.jar and weblogicbeans.jar etc in your classpath. If you are using 6.0 look for presence of weblogic.jar. These are located in the lib subdirectory of Weblogic Home.

    Venkat Ravi Dodla
  5. Interface not found[ Go to top ]

    Can you please let me know the path and classpath also..
  6. Interface not found[ Go to top ]

    you have to have the following files/dirs in your classpath in order for your ejbs to compile

    if weblogic is installed under c:\weblogic then you need

    c:\weblogic\lib\weblogicaux.jar
    c:\weblogic\classes

    and if you are using oracle 8.0.5
    then put
    c:\weblogic\bin\oci805_8\weblogicoci36.dll in the path.

    Hope this helps