JSF2.0 -Cannot load ManagedBean in a jar when using @ManagedBean annotation
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?