• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Usage of @Named

 
Carlos Jorge Tavares Ferreira
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I'm using the @Named annotation on a class, combined with @Stateless:



But when I try to reference it via EL, i get the following error:

"Target Unreachable, identifier 'test' resolved to null".

What am I doing wrong?

BTW, I'm using Netbeans 6.9.1 with Glassfish v3.

Kind regards,

Carlos Ferreira
 
Carlos Jorge Tavares Ferreira
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nevermind, I was missing the beans.xml file.

Kind regards,

Carlos Ferreira
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic