spring tools 검색, spring tools( aka spring ide and srpint tool suite ) 다운로드
file > new project > other > spring or spring boot > spring starter project 생성( 간단히 구성하기 위해 boot 로 생성 )
web > web, sql > mysql 체크 후 finish
src/main/resources 의 application.properties 내용에
# Connection url for the database "netgloo_blog"
spring.datasource.url = jdbc:mysql://localhost:3306/board?useSSL=false
# Username and password
spring.datasource.username = root
spring.datasource.password = 0000
# Keep the connection alive if idle for a long time (needed in production)
spring.datasource.testWhileIdle = true
spring.datasource.validationQuery = SELECT 1
spring.mvc.view.prefix=/WEB-INF/jsp/
spring.mvc.view.suffix=.jsp