DebugTools
DebugTools copied to clipboard
在IDEA中使用Tomcat运行时报错
看报错,似乎是DebugToolsJavaProgramPatcher.isMavenAndGrade中,调用的javaParameters.getMainClass()返回null导致的
目前还没有尝试过tomcat下启动的情况,可以帮忙在 https://github.com/java-hot-deploy/debug-tools/tree/main/debug-tools-test 下简单写一个 tomcat 项目 curd 的 demo 吗?我尝试一下tomcat启动下该如何热重新。
目前还没有尝试过tomcat下启动的情况,可以帮忙在 https://github.com/java-hot-deploy/debug-tools/tree/main/debug-tools-test 下简单写一个 tomcat 项目 curd 的 demo 吗?我尝试一下tomcat启动下该如何热重新。
好的,我来写一个
<plugin>
<groupId>org.apache.tomcat.maven</groupId>
<artifactId>tomcat7-maven-plugin</artifactId>
<configuration>
<port>34567</port>
<path>/test</path>
<uriEncoding>UTF-8</uriEncoding>
</configuration>
</plugin>
使用tomcat7插件启动项目时,不能热重载 在大飞机的状态下通过 debug 方式启动应用不会提示热重载插件信息