首页 > 解决方案 > struts2 项目中与 struts2 核心 jar 相关的错误

问题描述

我已经为 struts 项目添加了所有必需的 jar,但是在 tomcat v8 上运行项目时出现此错误

SEVERE: Exception starting filter struts
java.nio.file.InvalidPathException: Illegal char <:> at index 3: jar:file:\C:\Users\RITESH\eclipse-workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\StrutsLoginDemoApp\WEB-INF\lib\struts2-core-2.3.1.1.jar
    at java.base/sun.nio.fs.WindowsPathParser.normalize(Unknown Source)

在 Eclipse Oxygen 版本上使用 windows 10 和 struts 2.3.1.1 jars。有人已经面临这个问题了吗?我猜它与文件路径中添加的额外“:\”有关,但它在 jar 内。我怎样才能解决这个问题?

标签: eclipsestruts2eclipse-plugin

解决方案


推荐阅读