java.lang.ClassNotFoundException : org. apache.struts.taglib.bean.CookieTei

标签 java jsp struts2 jstl

我发现 java.lang.ClassNotFoundException: org.apache.struts.taglib.bean.CookieTei。

我的类路径中已经有 struts2-core-2.1.8.1.jar、struts2-json-plugin-2.1.8.1.jar。

最佳答案

看来您对 struts-1 有一些依赖。 jarfinder finds this class only in struts-1 libs 。摆脱所有 struts-1 jar,只将 struts-2 jar 放在类路径中。

关于java.lang.ClassNotFoundException : org. apache.struts.taglib.bean.CookieTei,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3888183/

相关文章:

java - 整数不能转换为 Long

java - 如何在 doPost() 调用上设置 UTF-8 响应?

jsp - 如何将变量设置为小数点后 2 位

java - 2022 年 Flink 可以支持的 Java 版本是多少?

java - 使用 JSF 和 AJAX 存储用户/密码

java - Mockito 的 JUnit 模拟环境不起作用,评估结果仍然为 null

properties - 如何以编程方式从 .properties 文件中获取 Struts2 值?

javascript - 在 javascript 中从 JSP 访问 java 对象

java - 将图像显示为缩略图,然后下载 Struts2

java - 如何通过 Hibernet Java Struts 获取/优化大量数据分页