You are currently viewing the EJB section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
I wrote a stateless session bean (simple Hello World)
I deployed the jar file in the Weblogic7 successfully. While running the client file
>java Client.java
I get the below error.
Exception in thread "main" java.lang.NoClassDefFoundError: Client (wrong name: s
ession/Client)
at java.lang.ClassLoader.defineClass0(Native Method)
....................
My classpath is set to...
C:\bea\jdk131_03lib\tools.jar;C:\bea\weblogic700se rver\lib\weblogic_sp.jar;C:\bea\weblogic700\server \lib\weblogic.jar;C:\bea\weblogic700\server\lib\we blogic.jar;C:\bea\weblogic700\server\lib\webservic es.jar;C:\bea\weblogic700\server\lib\webservicecli ent.jar;.
I use Weblogic 7. jdk 1.3.1_03 that is provided by Weblogic7 itself.