I have a big war file, that contains many classes with main method.
How I can point Java to run main specific class?
Exactly like running application from jar file:
java -cp yourwarfile.war com.yourcompany.YourMainClass
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With