Before, I'm using the server in eclipse to deploy/run my webapp and I can easily find the generated servlets in ...metadata/.plugins/org.eclipse.wst.server.core/.... Now that I moved to m2e and use tomcat:run to deploy and run my webapp, i'm wondering where can I find the generated servlets?

有帮助吗?

解决方案 2

For future reference target\tomcat\work\localEngine\localhost\<name related to webapp>\org\apache\jsp is the location of the generated servlets.

其他提示

The generated java classes of the corresponding jsp files should be available in the following path of your tomcat directory. The following example is taken from a Linux machine.

{TOMCAT_HOME}/work/Catalina/localhost/{app_name}/org/apache/jsp/

The generated java servlets of corresponding jsp files should be found in following path of tomcat directory, Following taken from Cent OS machine

    {TOMCAT_HOME}/work/Catalina/localhost/manager/org/apache/jsp/WEB_002dINF/jsp

Project_Location_from_eclipse.metadata.plugins\org.eclipse.wst.server.core\tmp0\work\Catalina\localhost\OurProject Name\org\apache\jsp

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top