java.lang.NoClassDefFoundError when trying to create my first EJB

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Nimesh dadhaniya
    New Member
    • Sep 2007
    • 1

    #1

    java.lang.NoClassDefFoundError when trying to create my first EJB

    Hi All,

    I am trying to learn EJB's on my own. I installed the WebLogic Server Trial version and then wrote the Home Interface, Component Interface and the Bean Class. Now I started the WebLogic server and tried and create the deployment descriptor.. I am getting the error below even after I set the classpath. Is there any other correct way to set the classpath?

    C:\bea\jdk150_0 4\bin\ejb\demo> set classpath=C:\be a\weblogic92\se rver\lib\weblog ic.jar;

    C:\bea\jdk150_0 4\bin\ejb\demo> java weblogic.ejb.ut ils.DDCreator -dir dploymentDescri ptor.txt
    Exception in thread "main" java.lang.NoCla ssDefFoundError : weblogic/ejb/utils/DDCreator

    Please help me.

    Thanks in Advance....
  • pbmods
    Recognized Expert Expert
    • Apr 2007
    • 5821

    #2
    Heya, Nimesh. Welcome to TSDN!

    I'm going to go ahead and move this thread to the Java forum, where our resident Experts will be better able to help you out.

    Comment

    Working...