I create simple project with:
- MacOS
- JBoss-as-7.1.1.Final
- Reflections 0.9.8
I put a ServletContextListener with start code:
@Override
public void contextInitialized(ServletContextEvent servletContextEvent) {
Logger.getLogger("default").log(Level.INFO, "STARTING REFLECTIONS");
Reflections reflect = new Reflections("testing");
Set<Class<?>> list = reflect.getTypesAnnotatedWith(AnnotationToBeScanned.class);
Logger.getLogger("default").log(Level.INFO, "REFLECTED = " + list.size());
}
With Jetty this code print "REFLECTED = 1" but with JBOSS this code print
"REFLECTED = 0"
I try to add jboss-vfs package but doesn't work.
Attached test project.
Original issue reported on code.google.com by uetanaba...@gmail.com on 7 Sep 2012 at 2:21
Original issue reported on code.google.com by
uetanaba...@gmail.com
on 7 Sep 2012 at 2:21Attachments: