banq这是啥原因

manchester 04-11-26

我按你的说法装上了tomcat和j2sdk
第一次tomcat运行正常,但我重启tomcat提示
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:112)
at java.util.jar.JarFile.<init>(JarFile.java:127)
at java.util.jar.JarFile.<init>(JarFile.java:65)
at org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(StandardClassLoader.java:1082)
at org.apache.catalina.loader.StandardClassLoader.<init>(StandardClassLoader.java:200)
at org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(ClassLoaderFactory.java:202)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:140)
Bootstrap: Class loader creation threw exception
java.lang.IllegalArgumentException: addRepositoryInternal: java.util.zip.ZipException: error in opening zip file
at org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(StandardClassLoader.java:1110)
at org.apache.catalina.loader.StandardClassLoader.<init>(StandardClassLoader.java:200)
at org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(ClassLoaderFactory.java:202)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:140)

banq
2004-11-30 17:01

定义环境变量JAVA_HONE=你的J2SE路径。

重新安装Tomcat

manchester
2004-11-30 19:19

我设置了JAVA_HOME
重装了TOMCAT还是出现同样的问题??

banq
2004-11-30 20:38

我上贴忘记说:重装J2SE。如果不行,我想你应该知道下一步重装什么。操作系统?那是你说的。