1.javax.naming.NameNotFoundException: Name java:comp is not bound in this Context

=====>

--这是在初始化context时(Context envCtx = (Context) ctx.lookup("java:comp/env");)抛出的异常;解决方法是把工程/WEB-INF/lib下面naming-common.jar,naming-factory.jar,naming-resources.jar三个jar包删除;

2. unable to complie class for jsp

===>
是因为TOOL.JAR   SERVLET_API.JAR与TOMCAT 有冲突。


3.org.Apache.struts.taglib.html.MessagesTei


关键字: struts
tomcat5.5 中 JasperException: Failed to load or instantiate TagExtraInfo class:org.Apache.struts.taglib.html.MessagesTei

tomcat5.5 中 JasperException: Failed to load or instantiate TagExtraInfo class:org.Apache.struts.taglib.html.MessagesTei

JasperException: Failed to load or instantiate TagExtraInfo class: com.acme.tag.IterateTEI

等等...

==>

原因是 web-inf/lib/下出现了jsp-api.jar和,serverlet-api.jar,把它们删除,然后重新启动 web应用即可。

 

相关文章:

  • 2020-11-11
  • 2021-10-30
  • 2021-08-26
  • 2021-07-21
  • 2021-06-03
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-11-19
  • 2022-03-08
  • 2022-12-23
  • 2022-12-23
  • 2021-08-09
  • 2021-08-17
  • 2021-10-06
相关资源
相似解决方案