java.io.FileNotFoundException: .../META-INF/licenses/commons-codec-1.11.jar (Is a directory)
SainathSharmadha opened this issue · 0 comments
Following issue is seen while running japi-compliance-checker for one of my jars :
Preparing, please wait ...
WARNING: set #1 version number to 2.1.0.7.1.7.2000-209 (use --v1=NUM option to change it)
Using Java 11.0.17
Reading classes 2.1.0.7.1.7.2000-209 ...
WARNING: skipping "impl" packages
NOTE: use --keep-internal option to check them
java.io.FileNotFoundException: /tmp/sxkURI0JCD/23/META-INF/licenses/commons-codec-1.11.jar (Is a directory)
at java.base/java.io.FileInputStream.open0(Native Method)
at java.base/java.io.FileInputStream.open(FileInputStream.java:219)
at java.base/java.io.FileInputStream.(FileInputStream.java:157)
at java.base/java.io.FileInputStream.(FileInputStream.java:112)
at jdk.jartool/sun.tools.jar.Main.run(Main.java:407)
at jdk.jartool/sun.tools.jar.Main.main(Main.java:1680)
ERROR: can't extract '/tmp/sxkURI0JCD/23/META-INF/licenses/commons-codec-1.11.jar'
Please help with this issue.
Tried updating the jdk version
Ran it in a docker container and in my local Mac
There's a file commons-codec-1.14.jar in WEB-INF/lib of the jars I am trying to compare.