Where is the “work” directory located for a Tomcat instance running in Eclipse?

前端 未结 7 903
隐瞒了意图╮
隐瞒了意图╮ 2021-01-31 03:42

In Eclipse you can configure numerous servers to run inside the IDE, including Tomcat. Depending on your Tomcat configuration, at some point in the life cycle of a webapp your J

7条回答
  •  面向向阳花
    2021-01-31 03:48

    If you're using the Tomcat Maven Plugin in Eclipse, then your Tomcat related files would be in /target/tomcat instead, including the tomcat work folder at /target/tomcat/work, and you can descend from there to find your jsp .java files, etc.

    (I know this may not apply to everyone, but since Tomcat Maven Plugin is a popular way to develop with tomcat and using maven to manage dependencies and help with the build process, I hope this info may be helpful for some people).

提交回复
热议问题