在Weblogic Server 12 c上部署WAR文件时出现异常,我使用了spring和hibernate框架
下面是错误日志:
####<Oct 9, 2018 3:28:48,379 AM EDT> <Error> <Deployer> <localhost.localdomain> <ocgw_1> <[ACTIVE] ExecuteThread: '7' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <07b6cea3-ccdf-4e9e-836f-b86fdf0ed2a3-0000014f> <1539070128379> <[severity-value: 8] [rid: 0] [partition-id: 0] [partition-name: DOMAIN] > <BEA-149265> <Failure occurred in the execution of deployment request with ID "987906058076027" for task "7" on [partition-name: DOMAIN]. Error is: "weblogic.application.ModuleException: java.lang.IllegalStateException: zip file closed"
weblogic.application.ModuleException: java.lang.IllegalStateException: zip file closed
at weblogic.application.internal.ExtensibleModuleWrapper.start(ExtensibleModuleWrapper.java:140)
at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:124)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:233)
................
................
................
Caused By: java.lang.IllegalStateException: zip file closed
at java.util.zip.ZipFile.ensureOpen(ZipFile.java:686)
at java.util.zip.ZipFile.getEntry(ZipFile.java:315)
at java.util.jar.JarFile.getEntry(JarFile.java:240)
at java.util.jar.JarFile.getJarEntry(JarFile.java:223)
at com.oracle.classloader.JarURLHandler.openConnection(JarURLHandler.java:118)
at java.net.URL.openConnection(URL.java:979)
at org.springframework.core.io.UrlResource.getInputStream(UrlResource.java:168)
at org.springframework.core.type.classreading.SimpleMetadataReader.<init>(SimpleMetadataReader.java:51)
at org.springframework.core.type.classreading.SimpleMetadataReaderFactory.getMetadataReader(SimpleMetadataReaderFactory.java:103)
at org.springframework.core.type.classreading.CachingMetadataReaderFactory.getMetadataReader(CachingMetadataReaderFactory.java:123)
...................
...................
...................
为什么在部署War文件时出现此错误
任何帮助将不胜感激。 谢谢