Java – how to run applications from war?
•
Java
I have a large war file that contains many classes with main methods
How can I point out the main specific classes that Java runs?
Solution
Just like running an application from a jar file:
java -cp yourwarfile. war com. yourcompany. YourMainClass
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码