Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java.io.FileNotFoundException: .../META-INF/licenses/commons-codec-1.11.jar (Is a directory) #62

Open
SainathSharmadha opened this issue Nov 26, 2022 · 0 comments

Comments

@SainathSharmadha
Copy link

SainathSharmadha commented Nov 26, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant