日期:2014-05-18  浏览次数:20777 次

求救。TOMCAT错误。。。。。急啊。。。。
请高手帮忙看看这是哪错了。。
2007-3-18   19:20:08   org.apache.catalina.core.StandardContext   start
严重:   Error   reading   tld   listeners   javax.servlet.ServletException:   Exception   processing   TLD   at   resource   path   /WEB-INF/mytaglib.tld   in   context   /mywebapps
javax.servlet.ServletException:   Exception   processing   TLD   at   resource   path   /WEB-INF/mytaglib.tld   in   context   /mywebapps
at   org.apache.catalina.startup.TldConfig.tldScanTld(TldConfig.java:549)
at   org.apache.catalina.startup.TldConfig.execute(TldConfig.java:301)
at   org.apache.catalina.core.StandardContext.start(StandardContext.java:4282)
at   org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)
at   org.apache.catalina.core.StandardHost.start(StandardHost.java:789)
at   org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)
at   org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478)
at   org.apache.catalina.core.StandardService.start(StandardService.java:480)
at   org.apache.catalina.core.StandardServer.start(StandardServer.java:2313)
at   org.apache.catalina.startup.Catalina.start(Catalina.java:556)
at   sun.reflect.NativeMethodAccessorImpl.invoke0(Native   Method)
at   sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at   sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at   java.lang.reflect.Method.invoke(Method.java:324)
at   org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287)
at   org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
at   sun.reflect.NativeMethodAccessorImpl.invoke0(Native   Method)
at   sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at   sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at   java.lang.reflect.Method.invoke(Method.java:324)
at   org.apache.commons.launcher.ChildMain.run(ChildMain.java:269)

------解决方案--------------------
Exception processing TLD at resource path /WEB-INF/mytaglib.tld in context /mywebapps
说得明白嘛.
确认mytaglib.tld在WEB-INF下.
web.xml里面有:
<taglib>
<taglib-uri> /WEB-INF/mytaglib.tld </taglib-uri>
<taglib-location> /WEB-INF/mytaglib.tld </taglib-location>
</taglib>