Created
October 18, 2018 13:57
-
-
Save chrispauley/0ad98b5df114521d7878b433e608734a to your computer and use it in GitHub Desktop.
Create an index of classes in a lib directory
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Stackoverflow attibution](https://stackoverflow.com/questions/15601469/jar-not-loaded-see-servlet-spec-2-3-section-9-7-2-offending-class-javax-serv) | |
You may find the following windows command line useful in tracking down the offending jar file. | |
it creates an index of all the class files in all the jars in the folder. Execute from within the lib folder of your deployed app, | |
then search the index.txt file for the offending class. | |
for /r %X in (*.jar) do (echo %X & jar -tf %X) >> index.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment