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

Startup Tomcat10 Warning "java.io.IOException: java.lang.reflect.InvocationTargetException" #4042

Closed
JustSong opened this issue Sep 23, 2022 · 1 comment

Comments

@JustSong
Copy link

  • JDK: Java11.0.16.1
  • Web server: Tomcat10.0.23
  • Ctags: Universal Ctags 5.9.0(aaf5fa4f)
  • Opengrok: 1.7.35

After I start the tomcat and I can see a lot of "java.io.IOException: java.lang.reflect.InvocationTargetException" warning. but we can still open the website.

22-Sep-2022 11:09:58.011 WARNING [main] org.apache.tomcat.util.scan.StandardJarScanner.processURLs Failed to scan [file:/var/lib/tomcat10/webapps/source/WEB-INF/lib/jakarta.xml.bind-api-3.0.1.jar] from classloader hierarchy
        java.io.IOException: java.lang.reflect.InvocationTargetException
                at org.apache.tomcat.util.compat.Jre9Compat.jarFileNewInstance(Jre9Compat.java:209)
                at org.apache.tomcat.util.scan.JarFileUrlJar.<init>(JarFileUrlJar.java:65)
                at org.apache.tomcat.util.scan.JarFactory.newInstance(JarFactory.java:49)

Qestion: Should we do anything to fix this warning ?

Thanks

@vladak
Copy link
Member

vladak commented Sep 27, 2022

This is harmless, closing as dup of #3390.

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

No branches or pull requests

2 participants