Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within JSF
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
JSF
Usage of @Named
Carlos Jorge Tavares Ferreira
Greenhorn
Posts: 17
posted 13 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi,
I'm using the @Named annotation on a class, combined with @Stateless:
@Named("test") @Stateless public class MyBean extends OtherBean ...
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
posted 13 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Nevermind, I was missing the beans.xml file.
Kind regards,
Carlos Ferreira
Those are the largest trousers in the world! Especially when next to this ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
EJB3 testing with JUnit4
Design question
Unable to use @NamedQuery in a session bean?
naming conventions for junit 4.0
Testing websphere 8 beta with RAD 8.0
More...