-
Notifications
You must be signed in to change notification settings - Fork 630
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
Call out spring-instrument requirement for 3.0 line more explicitly #48
Comments
By the way, Spring instrument is already hooked up to the ant tasks (like jetty-demo) by default so no additional work needs to be done there. This only applies when somebody moves to a different environment based on DemoSite. |
I don't think there are any additional tasks here that need to be done, closing. This should get picked up by Google for people that run into that stack trace. |
Hi, I have met a problem that seems like you have met, could you please help me to solve? I have tried to use your solution, but it doesn't work. I added "export CATALINA_OPTS" in catalina.sh like 36 # CATALINA_OPTS (Optional) Java runtime options used when the "start", This following information is the error message:
Feb 26, 2016 11:00:31 AM org.apache.catalina.core.ApplicationContext log Thanks! |
This is caused by adding the class transformer here: 3f25924. If anyone was to use the XML configuration without also putting spring-instrument.jar in the classpath then it will blow up with the following stack trace:
The fix is to either add
lib/spring-instrument-3.2.2.RELEASE.jar
as a -javaagent (recommended) or to just remove that XML configuration. For Tomcat, it looks like:The text was updated successfully, but these errors were encountered: