Revision history [back]

click to hide/show revision 1
initial version

answered 2020-09-01 16:55:52 +0800

cor3000 gravatar image cor3000

ZK Team

You'll have to create/build/export a war file in order to deploy it in an application server, such as tomcat, jetty, glassfish, wildfly, etc.

https://stackoverflow.com/questions/5108019/how-to-make-war-file-in-eclipse

(You haven't specified) In case you have a maven war project the default build command is mvn clean package.

Alternative (advanced): If you need a standalone jar file runnable by itself (without), please checkout springboot and our related zkspringboot integration library which also contains several demos runnable from command line independent of any IDE and are easily runnable inside any Java IDE.

However, your question indicates that you're quite new to java servlet applications and war files in general. So the concepts of springboot (hiding/automating the details) might not be the most beneficial for you to start with.

You'll have to create/build/export a war file in order to deploy it in an application server, such as tomcat, jetty, glassfish, wildfly, etc.

https://stackoverflow.com/questions/5108019/how-to-make-war-file-in-eclipse

(You haven't specified) In case you have a maven war project the default build command is mvn clean package.

Alternative (advanced): (advanced):

If you need a standalone jar file runnable by itself (without), please checkout springboot and our related zkspringboot integration library which also contains several demos runnable from command line independent of any IDE and are easily runnable inside any Java IDE.

However, your question indicates that you're quite new to java servlet applications and war files in general. So the concepts of springboot (hiding/automating the details) might not be the most beneficial for you to start with.

You'll have to create/build/export create/build/export a war war file in order to deploy it in an application server, such as tomcat, jetty, glassfish, wildfly, etc.

https://stackoverflow.com/questions/5108019/how-to-make-war-file-in-eclipse

(You haven't specified) In case you have a maven war project the default build command is mvn clean package.

Alternative (advanced):

If you need a standalone jar file runnable by itself (without), please checkout springboot and our related zkspringboot integration library which also contains several demos runnable from command line independent of any IDE and are easily runnable inside any Java IDE.

However, your question indicates that you're quite new to java servlet applications and war files in general. So the concepts of springboot (hiding/automating the details) might not be the most beneficial for you to start with.

You'll have to create/build/export a war file in order to deploy it in an application server, such as tomcat, jetty, glassfish, wildfly, etc.

(You haven't specified) In case you have a maven war project the default build command is mvn clean package.

Alternative (advanced):

If you need a standalone jar file runnable by itself (without), (without a separate application server), please checkout springboot and our related zkspringboot integration library which also contains several demos runnable from command line independent of any IDE and are easily runnable inside any Java IDE.

However, your question indicates that you're quite new to java servlet applications and war files in general. So the concepts of springboot (hiding/automating the details) might not be the most beneficial for you to start with.

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More