简体   繁体   中英

Is there a way to test the code changes in a war file without running maven build?

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM