resources - static - index.html 생성 후 작성
<!DOCTYPE HTML>
<html>
<head>
<title>Hello</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
</head>
<body>
Hello
<a href="/hello">hello</a>
</body>
</html>
@SpringBootApplication 어노테이션이 붙은 메인 클래스를 서버 시작 해준다.
- tomcat 웹서버를 자동으로 시작
아래 터미널에서 포트를 확인 (보통 8080이지만 간헐적 다름)
인터넷을 실행 후 주소창에 localhost:8080을 입력, 스크린샷 처럼 나오면 정상작동