• Post Reply Bookmark Topic Watch Topic
  • New Topic

unable to load class  RSS feed

 
Soniya
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
When I try to delploy stateless session bean I get the following erroR:
Unable to load a class specified in your ejb-jar.xml: examples.ejb20.example1.HelloBean
Please help.
Thanks
 
Nathaniel Stoddard
Ranch Hand
Posts: 1258
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It looks like your EJB class file didn't make it to the right place in your JAR file. Check to make sure it's there and in the correct directory structure.
 
Soniya
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Nathaniel.
It works now. The directory structure in the jar file was not according to the expected package directory structure.
Thanks.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!