This week's giveaway is in the Programmer Certification (OCPJP) forum.
We're giving away four copies of Java Mock Exams (software) and have David Mayer on-line!
See this thread for details.
Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Getting error in FortuneApp(Appdx. A SCBCD Study Kit)

 
Satya Maheshwari
Ranch Hand
Posts: 368
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I have recently installed J2EE1.3 and JDK1.3 on my system and I was trying out the FortuneApp practice given in Appdx. A SCBCD Study Kit. Everything went fine as written there except the final step

When I write:
$runclient -client FortuneApp.ear -name FortuneClient -textauth

I get the error:
Application threw an exception:java.lang.NoClassDefFoundError: FortuneHome

I have tried undeploying and redeploying the application but still it has not helped. I have set the CLASSPATH as:
;%J2EE_HOME%\lib\j2ee.jar;D:\ejbworkshop\projects\build\fortunebean;D:\ejbworkshop\projects\FortuneAppClient.jar;D:\ejbworkshop\projects\FortuneApp.ear

Please Help!!! :roll:
 
Satya Maheshwari
Ranch Hand
Posts: 368
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Found the solution here.

http://www.manning-sandbox.com/message.jspa?messageID=45146

It works now
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!