문제

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