Spring Web MVC ready to go. A simple skeleton structure that could be used to begin prototyping an application.
- Spring Tools Suite (STS)
- Java 8
- Tomcat 8
- Spring 4.1.7
- spring-core
- spring-web
- spring-webmvc
- Maven 4.0
- WebApp 3.1
- J2EE
- jstl-api 1.2
- servlet-api 3.1.0
- jsp-api 2.2
- taglibs-standard-impl 1.2.5
- JQuery 1.11.3
- Clone project
$ git clone [email protected]:BorysHN/SpringMVCSkeleton.git
- or download zip
- Add project to STS
- File->Import->Maven->"Existing Maven Projects"
- Download and add Tomcat 8 to STS servers
- Change context root to "/" (without quotes)
- Run project on Tomcat server
- Right click project->"Run As"->"Run on Server"
- Select Tomcat v8.0 from list
- you may select "Always use this server..."
- Select Next
- Move the specified project to the "Configured" side
- Select Finish
Despite having access to various spring web mvc resources, I still had some issues putting together all the components for a running application on tomcat. Between various configuration conflicts, outdated information, and a few environment hiccups using the latest technologies, it was a nice learning experience. Big thanks to a few blogs out there that really helped. I saw a lot of comments and threads around similar issues that I dealt with. Hope this helps someone else get started!
- spring docs
- mkyong
- crunchify
- beginning spring
- stackoverflow <3