• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Dependency injecton failed with Glassfish

 
Andras Nemeth Ii
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!

I'm trying Glassfish 3.1 with Eclipse 3.6. I have a very simple session bean:



And a web module where I would like to use the bean this way:




When I use the DI the result will be nothing. (st remains null) When try to recieve the bean via jndi lookup i get a java.lang.NoClassDefFoundError: session/SessionTest message on the lookup line. What do I mess up? It seems so simple...

Thanks!
 
Andras Nemeth Ii
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The full stacktrace of the exception:


 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic