-
spring-asm-3.2.9.RELEASE.jar!/] for TLD files java.util.zip.ZipException: error in opening zip file웹 개발/에러 해결 2018. 3. 15. 15:31
스프링 버전을 올렸더니 다시 이런 에러가...
Failed to process JAR [jar:file:/D:/2017douzone/2017spring/.metadata/.plugins/org.eclipse.wst.server.core/tmp2/wtpwebapps/Project123/WEB-INF/lib/spring-asm-3.2.9.RELEASE.jar!/] for TLD files
java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:225)
at java.util.zip.ZipFile.<init>(ZipFile.java:155)
at java.util.jar.JarFile.<init>(JarFile.java:166)
at java.util.jar.JarFile.<init>(JarFile.java:103)
at sun.net.www.protocol.jar.URLJarFile.<init>(URLJarFile.java:93)
at sun.net.www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java:69)
at sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:109)
at sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:122)
at sun.net.www.protocol.jar.JarURLConnection.getJarFile(JarURLConnection.java:89)
at org.apache.tomcat.util.scan.FileUrlJar.<init>(FileUrlJar.java:41)
at org.apache.tomcat.util.scan.JarFactory.newInstance(JarFactory.java:34)
at org.apache.catalina.startup.TldConfig.tldScanJar(TldConfig.java:485)
at org.apache.catalina.startup.TldConfig.access$100(TldConfig.java:61)
at org.apache.catalina.startup.TldConfig$TldJarScannerCallback.scan(TldConfig.java:296)
at org.apache.tomcat.util.scan.StandardJarScanner.process(StandardJarScanner.java:258)
at org.apache.tomcat.util.scan.StandardJarScanner.scan(StandardJarScanner.java:177)
at org.apache.catalina.startup.TldConfig.execute(TldConfig.java:269)
at org.apache.catalina.startup.TldConfig.lifecycleEvent(TldConfig.java:565)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5416)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1575)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1565)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
이건 스프링 3.1.* 버전에서 3.2.* 버전으로 업그레이드 하면 생기는 에러다.
왜 생기냐하면 3.2 버전에서는 spring-asm이 spring-core에 편입되면서 삭제 됐기 때문이다.
이 사이트로 가면 확인 가능하다.
그래서 과감하게 아래의 소스를 삭제해주면 되겠다.
12345<dependency><groupId>org.springframework</groupId><artifactId>spring-asm</artifactId><version>${spring.maven.artifact.version}</version></dependency>cs '웹 개발 > 에러 해결' 카테고리의 다른 글
[Eclipse] 톰캣 서버 강제 종료 방법(Server at localhost has encountered a problem) (0) 2018.03.23 [Eclipse] 이클립스 톰캣 등록(추가) 안되는 오류(등록 단계가 disabled 상태) (0) 2018.03.23 Cannot find the declaration of element ‘beans’. 에러 해결 (0) 2018.03.15 JSP 에러 페이지 간단하게 처리하기 (0) 2018.02.28 maven build 에러 해결방법 (8) 2018.02.18