-
Notifications
You must be signed in to change notification settings - Fork 38
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
ClassNotFound Exceptions with tomcat7 #41
Comments
I upgraded to jspc-compiler-tomcat8 to see if it made a difference and the class not found exceptions disappeared. Looks like something down the tomcat7 dep chain is broken making it unusable. |
Thanks for reaching out @ksmith97! |
@ChristianMurphy Unfortunately, its impossible for me to know if a dependency is missing if it isn't there in the first place! I did look through the dependency tree but I did not see anything glaringly wrong. |
Below is what the dependency tree look like on my system
|
I spent some time looking but I honestly don't know an easy way to figure out where the class should have come from. It is interesting that ecj is not at one of their regular build numbers for tomcat7 though. |
Hey there! 👋 Thanks for opening an issue with jspc-maven-plugin. 👍 🙇♂️ Thanks again for contributing to the jspc-maven-plugin! ✨ |
I am kind of out of ideas here. This doesnt look like an obvious issue with the plugin but I can't find anyone else sharing a similar issues. Is it possible that a downstream dependency is missing a dependency or do I need to add an additional dependency manually?
I am getting the following stack trace
Caused by: java.lang.ClassNotFoundException: org.apache.jasper.compiler.Node$CustomTag
at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271)
at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:247)
at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239)
when running jspc with the config
The text was updated successfully, but these errors were encountered: