[英]How to deploy IntelliJ IDEA project in Apache Tomcat server?
I am new to IntelliJ IDEA Ultimate edition . 我是IntelliJ IDEA Ultimate版的新手。 I have developed a Grails project in it . 我已经在其中开发了Grails项目。 Can anyone tell me the steps to deploy this project in a remote Apache Tomcat server ? 谁能告诉我在远程Apache Tomcat服务器中部署此项目的步骤?
you have to build a .war file of your project. 您必须构建项目的.war文件。 grails war
(The .war file is in your Project path.) (.war文件在您的项目路径中。)
Now you can deploy the .war file on your remote tomcat server. 现在,您可以在远程tomcat服务器上部署.war文件。 You copy the File in the webapps
folder, then you can access on it: http://localhost:8080/nameofyourwarfile
您将文件复制到webapps
文件夹中,然后可以对其进行访问: http://localhost:8080/nameofyourwarfile
If you have a problem you can check the log file: logs/catalina.out
如果遇到问题,可以检查日志文件: logs/catalina.out
http://docs.grails.org/3.0.17/guide/deployment.html http://docs.grails.org/3.0.17/guide/deployment.html
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.