Hi,

When I run Tomcat Embedded from Eclipse it is not able to detect
my @HandlesTypes classes. This works fine when I run Tomcat non-embedded.
This only happens if the classes that should be picked up by @HandlesTypes
are not in a JAR file. Is this a bug I need to report?

Tomcat tomcat = new Tomcat();
String currentDir = new File(".").getCanonicalPath();
String webRoot = currentDir + "\\src\\main\\webapp";
tomcat.addWebapp("/indi", webRoot);
tomcat.start();

I use Tomcat 7.0.26.

Regards,
Paul Middelkoop

Reply via email to