严重: Failed to destroy the filter named [struts2] of type [org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter]
java.lang.IllegalStateException: java.io.FileNotFoundException: E:\apache-tomcat-8.0.37\webapps\20170317-JavaEE-SSH\WEB-INF\lib\antlr-2.7.7.jar (系统找不到指定的路径。)
at org.apache.catalina.webresources.JarResourceSet.getArchiveEntry(JarResourceSet.java:123)
at org.apache.catalina.webresources.AbstractArchiveResourceSet.getResource(AbstractArchiveResourceSet.java:260)
at org.apache.catalina.webresources.StandardRoot.getResourceInternal(StandardRoot.java:281)
at org.apache.catalina.webresources.Cache.getResource(Cache.java:63)
at org.apache.catalina.webresources.StandardRoot.getResource(StandardRoot.java:216)
at org.apache.catalina.webresources.StandardRoot.getClassLoaderResource(StandardRoot.java:225)
at org.apache.catalina.loader.WebappClassLoaderBase.findResourceInternal(WebappClassLoaderBase.java:2626)
at org.apache.catalina.loader.WebappClassLoaderBase.findClassInternal(WebappClassLoaderBase.java:2463)
at org.apache.catalina.loader.WebappClassLoaderBase.findClass(WebappClassLoaderBase.java:859)
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1302)
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1167)
at org.apache.struts2.dispatcher.Dispatcher.cleanup(Dispatcher.java:293)
at org.apache.struts2.dispatcher.ng.PrepareOperations.cleanupDispatcher(PrepareOperations.java:188)
at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.destroy(StrutsPrepareAndExecuteFilter.java:108)
at org.apache.catalina.core.ApplicationFilterConfig.release(ApplicationFilterConfig.java:312)
at org.apache.catalina.core.StandardContext.filterStop(StandardContext.java:4733)
at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5528)
at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:221)
at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:821)
at org.apache.catalina.startup.HostConfig.undeploy(HostConfig.java:1395)
at org.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:1321)
at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1581)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:284)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:95)
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1140)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1376)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1380)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1348)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.io.FileNotFoundException: E:\apache-tomcat-8.0.37\webapps\20170317-JavaEE-SSH\WEB-INF\lib\antlr-2.7.7.jar (系统找不到指定的路径。)
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:219)
at java.util.zip.ZipFile.<init>(ZipFile.java:149)
at java.util.jar.JarFile.<init>(JarFile.java:166)
at java.util.jar.JarFile.<init>(JarFile.java:103)
at org.apache.catalina.webresources.AbstractArchiveResourceSet.openJarFile(AbstractArchiveResourceSet.java:308)
at org.apache.catalina.webresources.JarResourceSet.getArchiveEntry(JarResourceSet.java:119)
... 29 more
java.io.FileNotFoundException: antlr-2.7.7.jar (系统找不到指定的路径。)[待解决]
时间: 2024-12-22 04:57:11
java.io.FileNotFoundException: antlr-2.7.7.jar (系统找不到指定的路径。)[待解决]的相关文章
om.exception.DaoException: java.io.FileNotFoundException: D:\Users\liuyangOS2237\Workspaces\MyEclipse%2010\Zhuce\WebRoot\WEB-INF\classes\users.xml (系统找不到指定的路径。解决
com.exception.DaoException: java.io.FileNotFoundException: D:\Users\liuyangOS2237\Workspaces\MyEclipse%2010\Zhuce\WebRoot\WEB-INF\classes\users.xml (系统找不到指定的路径.) at com.dao.impl.UserDaoDom4jImpl.addUser(UserDaoDom4jImpl.java:84) at com.test.UserDaoDo
java.io.FileNotFoundException: (系统找不到指定的路径。)
报错 :java.io.FileNotFoundException: (系统找不到指定的路径.) java.io.FileNotFoundException: E:\code\operem_demo\src\main\resources\static\upload\zip\841195824A88E198C82A9ABB8023522D.zip (系统找不到指定的路径.) at java.io.FileOutputStream.open0(Native Method) at java.io.Fi
java.io.FileNotFoundException: XXX (系统找不到指定的路径。)
1 import java.io.*; 2 import java.util.Objects; 3 4 public class CSVFile { 5 6 public static void main(String[] args) { 7 String filePath = Objects.requireNonNull(CSVFile.class.getClassLoader().getResource("data.txt")).getPath(); 8 printCSVFile(
报错java.io.IOException: 系统找不到指定的路径
在eclipse用Java输出内容到一个本地文件,报错java.io.IOException: 系统找不到指定的路径. at java.base/java.io.WinNTFileSystem.createFileExclusively(Native Method) at java.base/java.io.File.createNewFile(File.java:1024) at wyx.zcself.testFStream.MyWYX.main(MyWYX.java:39) 代码如下截图:
xalan\xalan\2.7.2\xercesImpl.jar (系统找不到指定的文件)问题
本文转自:http://blog.csdn.net/lveliu/article/details/77772828 环境搭建为:maven+tomcat tomcat 8.5.2 以上会出现改问题(包含8.5.2) 开始: 警告: Failed to scan [file:/D:/develop/repo/xalan/xalan/2.7.2/xercesImpl.jar] from classloader hierarchyjava.io.FileNotFoundException: D:\XX
错误/异常:java.io.FileNotFoundException: .\src\db.properties (系统找不到指定的路径。);的解决方法
1.异常视图 2.解决方法 与之相关的部分代码: 1 static{ 2 try { 3 //读取db.properties 4 Properties props = new Properties(); 5 FileInputStream in = new FileInputStream("./src/db.properties"); 6 //加载文件 7 props.load(in); 8 url = props.getProperty("url"); 9 use
xercesImpl.jar和xml-apis.jar (系统找不到指定的文件)
1 springboot内置的tomcat为8.5.23,我们需要指定springboot的内置tomcat版本 2 修改pom.xml文件,增加<tomcat.version>7.0.90</tomcat.version> 3 <properties> 4 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> 5 <project.reporting.outp
Play生产模式下java.io.FileNotFoundException那点事
之前”用Scala+Play构建地理数据查询接口”那篇文章里,用到的数据是json格式的文本文件area.json,存放在conf/jsons文件夹下.最开始是放在public/文件夹下,在线上准生产模式下运行: activator dist 得到mosquito-1.0.zip压缩包,解压后: 去/bin目录下运行mosquito脚本报错: java.io.FileNotFoundException 然后就去解压的mosquito-1.0/看发现并没有public文件夹,由此可见public文
freemarker报 java.io.FileNotFoundException:及TemplateLoader使用
使用过freemarker的肯定其见过如下情况: 1 java.io.FileNotFoundException: Template xxx.ftl not found. 模板找不到.可能你会认为我明明指定了文件,并且文件存在,但是为什么就是说找不到呢? 经过研究官方的API,原来freemarker在加载模板时,建议使用TemplateLoader,通过TemplateLoader指定从哪个目录开始加载模板,并且把模板加载在缓存中. API的TemplateLoader是一个接口,他有如下几个