qq_43339032 2018-10-05 03:40 采纳率: 0%
浏览 1632

按照老师的代码一步步敲下来 出现了这个500 Internal Server Error 求助是什么意思。

HTTP Status 500 – Internal Server Error

Type Exception Report

Message Illegal char <:> at index 3: jar:file:\C:\Users\Clover_zc\eclipse-workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\20180925_wc_Helloworld\WEB-INF\lib\struts2-core-2.3.24.jar

Description The server encountered an unexpected condition that prevented it from fulfilling the request.

Exception
java.nio.file.InvalidPathException: Illegal char <:> at index 3: jar:file:\C:\Users\Clover_zc\eclipse-workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\20180925_wc_Helloworld\WEB-INF\lib\struts2-core-2.3.24.jar
java.base/sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:182)
java.base/sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:153)
java.base/sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:77)
java.base/sun.nio.fs.WindowsPath.parse(WindowsPath.java:92)
java.base/sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:229)
java.base/java.io.File.toPath(File.java:2290)
java.base/java.util.zip.ZipFile$Source.get(ZipFile.java:1220)
java.base/java.util.zip.ZipFile$CleanableResource.(ZipFile.java:727)
java.base/java.util.zip.ZipFile$CleanableResource.get(ZipFile.java:845)
java.base/java.util.zip.ZipFile.(ZipFile.java:245)
java.base/java.util.zip.ZipFile.(ZipFile.java:175)
java.base/java.util.jar.JarFile.(JarFile.java:341)
java.base/java.util.jar.JarFile.(JarFile.java:312)
java.base/java.util.jar.JarFile.(JarFile.java:251)
com.opensymphony.xwork2.util.fs.JarEntryRevision.needsReloading(JarEntryRevision.java:76)
com.opensymphony.xwork2.util.fs.DefaultFileManager.fileNeedsReloading(DefaultFileManager.java:66)
com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.needsReload(XmlConfigurationProvider.java:397)
org.apache.struts2.config.StrutsXmlConfigurationProvider.needsReload(StrutsXmlConfigurationProvider.java:169)
com.opensymphony.xwork2.config.ConfigurationManager.needReloadContainerProviders(ConfigurationManager.java:215)
com.opensymphony.xwork2.config.ConfigurationManager.conditionalReload(ConfigurationManager.java:179)
com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:73)
org.apache.struts2.dispatcher.Dispatcher.getContainer(Dispatcher.java:967)
org.apache.struts2.dispatcher.ng.PrepareOperations.createActionContext(PrepareOperations.java:80)
org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:89)

Note The full stack trace of the root cause is available in the server logs.

  • 写回答

1条回答

  • threenewbee 2018-10-05 04:54
    关注

    你的文件名中有冒号,而冒号是不能用于文件名的。

    评论

报告相同问题?

悬赏问题

  • ¥15 ubuntu子系统密码忘记
  • ¥15 信号傅里叶变换在matlab上遇到的小问题请求帮助
  • ¥15 保护模式-系统加载-段寄存器
  • ¥15 电脑桌面设定一个区域禁止鼠标操作
  • ¥15 求NPF226060磁芯的详细资料
  • ¥15 使用R语言marginaleffects包进行边际效应图绘制
  • ¥20 usb设备兼容性问题
  • ¥15 错误(10048): “调用exui内部功能”库命令的参数“参数4”不能接受空数据。怎么解决啊
  • ¥15 安装svn网络有问题怎么办
  • ¥15 vue2登录调用后端接口如何实现