webtier@glassfish.java.net

JSF2.0 -Cannot load ManagedBean in a jar when using _at_ManagedBean annotation

From: <webtier_at_javadesktop.org>
Date: Tue, 08 Jun 2010 00:44:24 PDT

Hello,

I tried to use @ManagedBean annotation in a bean class. If I put it in a jar and place the jar in WEB-INF/lib, it cannot be loaded.

I tested the JSF2.0.2 (Mojarra-2.0.2) in Tomcat 6.0.26 with Java 6.

But If I put my bean in WEB-INF/classes. It runs very well. How can I packed those managed beans in a jar and run well?


Best regards,
Eric
[Message sent by forum member 'ericmacau']

http://forums.java.net/jive/thread.jspa?messageID=473275