Your location:Tech News>News>Script>Zipexception java appear abnormal solutions

Latest News

Zipexception java appear abnormal solutions

Author:fsadmin

Views:

  Zipexception java appear abnormal solutions

  1 exception description

  After the detection of the project from SVN and configuration is complete, start the Tomcat server, reported the following error:

  

  2 Abnormal

  Abnormality information is marked by observing the figure, we can know

  Java.util.zip.ZipException: error in opening zip file

  This exception is: open the zip file abnormal.

  In fact, we observe the top row of the error messages that warn of part time, for this reason it can be found to cause abnormal findings may be very Tomcat installation is located in the file directory lib folder._tomcat-util.jar!File read failed or read error.

  3 Solution

  Used in the project Tomcat as bloggers copied from the Mac directly to a Windows computer, I do not know whether a Mac computer will automatically generate some only of its own capable of identifying documents at the time of operation of the project, resulting in after transplant , read failure.But in fact, delete the blogger.After XXX hidden files, this exception does solve it!

  If you have questions, please leave a message or to exchange community discussion site, thanks for reading, hoping to help you, thank you for the support site, common progress!

  You may also be interested in the article: Spring MVC global exception handling and power unit test _ finishing college node Java java throw common methods Java exception handling in abnormal printout sort java summary report: Comparison method violates its general contract abnormal solve a Java exception handling runtime exception (RuntimeException) and Detailed examples of java.net.MalformedURLException abnormal solutions using the Java exception mechanism for analog java library system abnormalities example explanation

Recommend article

Relate article