https://issues.apache.org/bugzilla/show_bug.cgi?id=54964
Bug ID: 54964 Summary: Class loading issue of "TagPlugin" in TagPluginManager Product: Tomcat 7 Version: 7.0.40 Hardware: PC OS: All Status: NEW Severity: normal Priority: P2 Component: Jasper Assignee: dev@tomcat.apache.org Reporter: xs...@ebay.com Classification: Unclassified Created attachment 30281 --> https://issues.apache.org/bugzilla/attachment.cgi?id=30281&action=edit Patch for TagPluginManager.java TagPluginManager is using "Class.forName" to load extensions of TagPlugin. It can't work when these extensions are put under the WEB-INF/lib. Here is the code, String pluginClassStr = pluginClassNode.getBody(); TagPlugin tagPlugin = null; try { Class<?> pluginClass = Class.forName(pluginClassStr); tagPlugin = (TagPlugin) pluginClass.newInstance(); } catch (Exception e) { throw new JasperException(e); } -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org