• 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 ...
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
  • Mikalai Zaikin

Error while running my first ejb program

Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi i m using Sun Application Server 8.1 and tried to run a ejb code that was given in head first ejb book. as per this online tutorial http://java.sun.com/j2ee/1.4/docs/tutorial-update6/doc/ created an application and deployed it ane even created the client side jar file . but when running it using the command appclient -client AdviceAppClient.jar
i m getting the following error

E:\projects\advice>appclient -client AdviceAppClient.jar
Feb 2, 2007 10:18:55 AM com.sun.enterprise.appclient.Main <init>
WARNING: ACC003: Application threw an exception.
java.lang.NoClassDefFoundError: headfirst.AdviceHome
at AdviceClient.class$(AdviceClient.java:27)
at AdviceClient.go(AdviceClient.java:27)
at AdviceClient.main(AdviceClient.java:14)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
at java.lang.reflect.Method.invoke(Method.java:585)
at com.sun.enterprise.util.Utility.invokeApplicationMain(Utility.java:23
at com.sun.enterprise.appclient.Main.<init>(Main.java:430)
at com.sun.enterprise.appclient.Main.main(Main.java:99)

couldnot figure out the actual cause of the error ......
if someone could help me out of it

thanks in advance

    Bookmark Topic Watch Topic
  • New Topic