How to set tom cat server in eclipse
https://www.youtube.com/watch?v=wIbJ7tc5oGE
Udemy spring tutorial the second lesson how to set the system
1. download J2EE IDE(recommend luna version)
2. in help--> software market --> instal maven & Spring IDE
Tip:
when maven dependency cannot find spring packages, change settings:
http://stackoverflow.com/questions/18047843/cannot-search-for-artifact-in-eclipse-kepler-using-m2e-plugin
https://books.sonatype.com/m2eclipse-book/reference/repository-sect-repo-view.html
after settings
1. create new maven project
2. add dependencies jars
3. add java class
3. add spring bean configuration file
add dependencies
springframework spring-core
springframework spring-beans
springframework spring-context
没有评论:
发表评论