I am deploying an application from IntelliJ idea to the local Tomcat server. I thought the apps you deploy are placed in the webapps
folder, however it does not turn up there. Is this correct? Where is it?
相关问题
- Delete Messages from a Topic in Apache Kafka
- Jackson Deserialization not calling deserialize on
- How to maintain order of key-value in DataFrame sa
- StackExchange API - Deserialize Date in JSON Respo
- Difference between Types.INTEGER and Types.NULL in
If you're following the standard maven approach, which is highly recommended, then your output goes to the
target
directory, notout
. With the maven approach you'll probably have multiple modules under your project root, and thetarget
directory will be found under each module. The web application is then built into an exploded directory named after the module, but with.war
as an extension. So, you have:I am new to IntelliJ IDEA. In my config. I add a local tomcat server. My tomcat container is run the project's target folder.
In this path ,you will find the file that IDEA has build. And tomcat server would run this folder.
Yes, If you are using IntelliJ IDEA the application does not turn up on Tomcat
webapps
directory. Your artifacts are in directory, for example:This is default directory created by IntelliJ.
Tomcat configuration is in the different folder. I am using windows 7. So it is:
If you are using Intellij IDEA your artifacts are deployed directly from output directory:
${project.dir}\${web.module}\out\artifacts
or${project.dir}\${web.module}\target
if you're using Maven and follow Standard Directory Layout.Tomcat configuration is in different folder.
Just for reference, the corresponding folder on a mac (for IntelliJ 13) is: