开发者

Custom JSTL TagLib and TomCat Problem

开发者 https://www.devze.com 2022-12-22 04:28 出处:网络
I\'ve just created a custom taglib which runs fine wi开发者_开发百科th Jetty. When using TomCat 6.0 I get the following exception:

I've just created a custom taglib which runs fine wi开发者_开发百科th Jetty. When using TomCat 6.0 I get the following exception:

java.lang.NoClassDefFoundError: javax/servlet/jsp/jstl/sql/Result

Any ideas on how to resolve this issue? I'm using Facelets and JSF 1.2.

Thxs.


I had to add the following to my pom.xml

javax.servlet jstl 1.2

That fixed the problem. Not sure why it worked on Jetty but not Tomcat.

0

精彩评论

暂无评论...
验证码 换一张
取 消