I'm currently working on a maven project which has 5 modules. As part of bug fixes, I need to make some small changes in a java file and in order to get those changes refelected, I run a maven build(which is pretty time consuming) and get it deployed in Tomcat.
Is there a way to test my changes without running a maven build? Please advice.
War file always use.class file
you can put your compiled.class file into folder used by tomcat.
If you use the Eclipse IDE you can do it.
Right Click Project -> Export -> WarfileName , Destination -> Finish
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.