springboot使用内置tomcat集成jsp进行web开发的时候,运行起来,总有两三个找不到在指定文件的警告,看起来很难受。
错误描述
java.io.FileNotFoundException: E:\Program Files\apache-maven-3.6.1\repository\xalan\xalan\2.7.1 (系统找不到指定的文件。)
at java.util.zip.ZipFile.open(Native Method) ~[na:1.8.0_65]
at java.util.zip.ZipFile.<init>(ZipFile.java:219) ~[na:1.8.0_65]
at java.util.zip.ZipFile.<init>(ZipFile.java:149) ~[na:1.8.0_65]
at java.util.jar.JarFile.<init>(JarFile.java:166) ~[na:1.8.0_65]
at java.util.jar.JarFile.<init>(JarFile.java:130) ~[na:1.8.0_65]
at org.apache.tomcat.util.compat.JreCompat.jarFileNewInstance(JreCompat.java:176) ~[tomcat-embed-core-9.0.21.jar:9.0.21]
at org.apache.tomcat.util.scan.JarFileUrlJar.<init>(JarFileUrlJar.java:65) ~[tomcat-embed-core-9.0.21.jar:9.0.21]
at org.apache.tomcat.util.scan.JarFactory.newInstance(JarFactory.java:49) ~[tomcat-embed-core-9.0.21.jar:9.0.21]
at org.apache.tomcat.util.scan.StandardJarScanner.process(StandardJarScanner.java:374) [tomcat-embed-core-9.0.21.jar:9.0.21]
at org.apache.tomcat.util.scan.StandardJarScanner.processURLs(StandardJarScanner.java:309) [tomcat-embed-core-9.0.21.jar:9.0.21]
at org.apache.tomcat.util.scan.StandardJarScanner.doScanClassPath(StandardJarScanner.java:266) [tomcat-embed-core-9.0.21.jar:9.0.21]
at org.apache.tomcat.util.scan.StandardJarScanner.scan(StandardJarScanner.java