Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

EJB deployment problem  RSS feed

 
Troy Wang
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, Everyone:
I have a question for you. Now I am playing the first example of EJB tutorial offered by SUN: http://developer.java.sun.com/developer/onlineTraining/J2EE/Intro/
But when I tried to use the verifier of deploytool to check my EJB deployment. It gave me a failed message like:
Unexpected error in verifier, check for problems related to: [ java.lang.NoClassDefFoundError: Beans/Calc ]. The instruction said it shouldn't be a problem. But that's not true. Can anyone explain it to me? Thanks a lot in advance.
Troy
 
Harpal Singh
Ranch Hand
Posts: 229
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Troy,
Hi! I too did the tutorial today and it gave me the same problem...but I was able to solve the prob...Packages are allways a problem...what I would suggest is take out all the packe statements and put everything in one place because it really does not matter where are all ur source files, all that matters is telling the deploye tool properlly which is ur home,remote and bean class file....try it just works fine
Harpal
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!