Hot Swap Agent doesn't work with Java 8 and Tomcat 8.0.26

谁说我不能喝 提交于 2020-01-07 06:58:10

问题


I have a question about hot swap agent. I configured it with java 8 and tomcat 8.0.26 64 bit. When I start server under Eclipse I got some errors:

Caused by: compile error: cannot find constructor org.apache.catalina.webresources.FileResource(org.apache.catalina.webresources.StandardRoot,java.lang.String,java.io.File,boolean)

and

Caused by: org.hotswap.agent.javassist.NotFoundException: getResource(..) is not found in org.apache.catalina.loader.WebappClassLoader

I put more detailed stack trace if it's needed.

I red that hot swap has problems with tomcat 8 to 8.0.23 version, but newer versions should work. I'm using 0.3 version of Hot Swap Agent. Any ideas?

来源:https://stackoverflow.com/questions/32467413/hot-swap-agent-doesnt-work-with-java-8-and-tomcat-8-0-26

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!