我使用的IntelliJ IDEA 15.0.3下,Tomcat 8.0.15和JDK 1.8.0_31
这是C:\Program Files (x86)\JetBrains\IntelliJ IDEA 15.0.2\bin\idea.properties
摘录:
#---------------------------------------------------------------------
# Uncomment this option if you want to customize path to IDE system folder. Make sure you're using forward slashes.
#---------------------------------------------------------------------
# idea.system.path=${user.home}/.IntelliJIdea/system
idea.system.path=D:/dev/IntelliJ-Settings/system
在File
- >Settings...
- - >Build, Execution, Deployment
- >Application Servers
我定义的:(看Tomcat base directory
)
D:\catalina-base-idea
包含IntelliJ的全局Tomcat配置。
当我使用IntelliJ运行配置部署我的webapp时,web应用程序将部署到D:\dev\IntelliJ-Settings\system\tomcat
(请参阅idea.properties
)。
以上解释的问题1.
问题2:据我所知,target
仅用于建筑,而不是部署。
问题3:有内D:\dev\IntelliJ-Settings\system\tomcat\webapps
问题4没有经理的应用程序:日志中D:\dev\IntelliJ-Settings\system\tomcat\webapps\yourApp
。全局Tomcat配置位于D:\catalina-base-idea
。
您可以配置Tomcat for IntelliJ,以便它使用8080以外的端口。因此,您可以同时启动标准的Tomcat和IntelliJ Tomact。