On 21/03/2012 07:31, Paul Middelkoop wrote: > 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.
See: https://issues.apache.org/bugzilla/show_bug.cgi?id=52853 If you have a simple test case that you can add to that issue, that would be a big help. Mark --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org