开发者

Tomcat: Liferay problem with portlet running

开发者 https://www.devze.com 2023-03-31 12:18 出处:网络
I have an Caused by: java.lang.ClassCastException: com.liferay.taglib.aui.FieldWrapperTag cannot be cast to javax.servlet.jsp.tagext.Tag

I have an Caused by: java.lang.ClassCastException: com.liferay.taglib.aui.FieldWrapperTag cannot be cast to javax.servlet.jsp.tagext.Tag exception. The portlet does't run, there is nothing I can do about it.

I am using Liferay 6.0.6 and Spring Portlet MVC 3.0开发者_StackOverflow中文版.5

Any help highly appreciated.

Bob


This type of problems are often caused by classloading issues. Specifically having same classes loaded by multiple classloaders.

Make sure your WAR doesn't include jsp-api.jar in WEB-INF/lib directory.

0

精彩评论

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