Use aspectjweaver to report "agent library failed to init: instrument" "Error opening zip file or JAR manifest m, aspectjweaver. jar"
This is just a small experience. I do not know why. When I added the Kieker monitoring feature in Ant build. xml today, I encountered this problem several times, and it was inexplicable:
Generally, an error is similar to this:
Internet. Here is a simple note: 1. mount ("partition format", "partition name", "partition mounted directory"); 2. package_extract_file ("source file", "target file"); 3. package_extract_dir ("Source directory", "target directory"); 4. set_perm (User ID, user group ID, File Permission, "target file"); 5. set_perm_recursive (User ID, user group ID, directory permission, File Permission In directory, directory); 6. delete_recursive ("directory to be deleted"); 7. unmount ("Mount directory of the
Today, there's a problem with packing: Duplicate zip entry error.It's really a lot of disgusting.When using Ant to package:ErrorI got the following error at-obfuscate stepThrough my day's efforts: At last solved the problem.The problem is that a jar package in my project has been referenced several times. This time Proguard, will be error. This Ken is going to ne
Exception occurred when using MAVEN to obtain dependent jar packages: Archive for required library: ' d:/maven/repository/org/springframework/spring-context/ 4.0.0.release/in project ' WEBMVC ' cannot be read or was not a valid ZIP fileBut I went to the relevant directory to find the relevant jar package, but the IDE still error, found a processing method on the search engine, is to remove the top level dir
JAVA zip decompress MALFORMED error, zipmalformed
Some files may report exceptions when you decompress the files using JDK or later.
Exception in thread "main" java.lang.IllegalArgumentException: MALFORMED at java.util.zip.ZipCoder.toString(ZipCoder.java:58) at java.util.zip.ZipFile.getZipEntry(ZipFile.java:567) at java.util.zip.ZipFile.access$900(ZipFile.java:61) at java.util.zip.ZipFile$ZipEnt
Error: Failed to open zip file. Gradle's dependency cache may be uploaded upt (this sometimes occurs after a network connection timeout.), gradledependency
At the beginning of my blog writing, it may be a bit incoherent. Please forgive me ....
Let's talk about the reasons for the image below.
Students, is it a little tricky to see this? Don't be afraid. Let's talk about the cause of this problem today.
Tod
This is only a small experience, I still do not know why. Today, in Ant's build.xml to increase the monitoring of kieker, several times encountered this problem, it is very baffling:The general error is similar to this:Error occurred during initialization of VMSAgent Library failed to init:instrumentError opening zip file or JAR manifest Missing:lib/aspectjweaver-1.6.11.jarThis time the corresponding build.
The ZIP compression package encountered an error during the decompression process, prompting the following
Java.lang.IllegalArgumentException:MALFORMED at
java.util.zip.ZipCoder.toString (Unknown Source)
at Java.util.zip.ZipInputStream.readLOC (Unknown Source) at
java.util.zip.ZipInputStream.getNextEntry (Unknown Source) at
com.yc.utils.TestZip.extZipFileList (testzip.java:40) at
Recently in the use of Zip decompression, using JDK1.7 and above when extracting, some files will be reported abnormalExceptionIn thread"Main"Java.Lang.IllegalArgumentException:Malformed at Java.Util.Zip.Zipcoder.Tostring(Zipcoder.Java:58)At Java.Util.Zip.ZipFile.Getzipentry(ZipFile.Java:567)At Java.Util.Zip.ZipFile.access$900(ZipFile.Java:61)At Java.Util.Zip.Zipfile$zipentryiterator.Next(ZipFile.Java:525)At Java.Util.Zip.Zipfile$zipentryiterator.Next
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.