在网上找了很多解决方法最终还是没有解决这个问题。
java.io.FileNotFoundException: E:Mavenwordcomsunxmlbindjaxb-core2.3.0jaxb-api.jar (系统找不到指定的文件。) at java.util.zip.ZipFile.open(Native Method) ~[na:1.8.0_131] at java.util.zip.ZipFile.二、原因(ZipFile.java:219) ~[na:1.8.0_131] at java.util.zip.ZipFile. (ZipFile.java:149) ~[na:1.8.0_131] at java.util.jar.JarFile. (JarFile.java:166) ~[na:1.8.0_131] at java.util.jar.JarFile. (JarFile.java:130) ~[na:1.8.0_131] at org.apache.tomcat.util.compat.JreCompat.jarFileNewInstance(JreCompat.java:196) ~[tomcat-embed-core-8.5.34.jar:8.5.34] at org.apache.tomcat.util.scan.JarFileUrlJar. (JarFileUrlJar.java:65) ~[tomcat-embed-core-8.5.34.jar:8.5.34] at org.apache.tomcat.util.scan.JarFactory.newInstance(JarFactory.java:49) ~[tomcat-embed-core-8.5.34.jar:8.5.34] at org.apache.tomcat.util.scan.StandardJarScanner.process(StandardJarScanner.java:374) [tomcat-embed-core-8.5.34.jar:8.5.34] at org.apache.tomcat.util.scan.StandardJarScanner.processURLs(StandardJarScanner.java:309) [tomcat-embed-core-8.5.34.jar:8.5.34] at org.apache.tomcat.util.scan.StandardJarScanner.doScanClassPath(StandardJarScanner.java:266) [tomcat-embed-core-8.5.34.jar:8.5.34] at org.apache.tomcat.util.scan.StandardJarScanner.scan(StandardJarScanner.java:229) [tomcat-embed-core-8.5.34.jar:8.5.34] at org.apache.jasper.servlet.TldScanner.scanJars(TldScanner.java:262) [tomcat-embed-jasper-8.5.34.jar:8.5.34] at org.apache.jasper.servlet.TldScanner.scan(TldScanner.java:104) [tomcat-embed-jasper-8.5.34.jar:8.5.34] at org.apache.jasper.servlet.JasperInitializer.onStartup(JasperInitializer.java:101) [tomcat-embed-jasper-8.5.34.jar:8.5.34] at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5245) [tomcat-embed-core-8.5.34.jar:8.5.34] at org.apache.catalina.util.Lifecyclebase.start(Lifecyclebase.java:150) [tomcat-embed-core-8.5.34.jar:8.5.34] at org.apache.catalina.core.Containerbase$StartChild.call(Containerbase.java:1420) [tomcat-embed-core-8.5.34.jar:8.5.34] at org.apache.catalina.core.Containerbase$StartChild.call(Containerbase.java:1410) [tomcat-embed-core-8.5.34.jar:8.5.34] at java.util.concurrent.FutureTask.run$$$capture(FutureTask.java:266) [na:1.8.0_131] at java.util.concurrent.FutureTask.run(FutureTask.java) [na:1.8.0_131] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_131] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_131] at java.lang.Thread.run(Thread.java:748) [na:1.8.0_131]
查找后发现是因为修改了项目名导致的。
三、解决打开项目中的 .iml 文件 找到以下几个数据,删除修改项目名生成的数据即可。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)