added configuration for starting Tomcat from Maven
git-svn-id: http://webgoat.googlecode.com/svn/trunk/webgoat@407 4033779f-a91e-0410-96ef-6bf7bf53c507
This commit is contained in:
@ -29,8 +29,8 @@ Don't forget to declare a classpath variable named M2_REPO, pointing to ~/.m2/re
|
||||
You can declare new variables in Eclipse in Windows -> Preferences... and selecting Java -> Build Path -> Classpath Variables
|
||||
|
||||
|
||||
Run the project on Tomcat within Eclipse
|
||||
-----------------------------------------
|
||||
Option 1: Run the project on Tomcat within Eclipse
|
||||
---------------------------------------------------
|
||||
1. Install a local Tomcat server
|
||||
2. Open Eclipse -> File -> New -> Other -> Server -> Apache -> Tomcat -> Next
|
||||
-> Insert your Tomcat Installation directory
|
||||
@ -53,4 +53,9 @@ Run the project on Tomcat within Eclipse
|
||||
5. http://localhost:8080/webgoat/attack
|
||||
|
||||
|
||||
Option 2: Run the project on Tomcat with Maven
|
||||
---------------------------------------------------
|
||||
1. mvn tomcat:run-war
|
||||
2. http://localhost:8080/webgoat/attack
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user