티스토리 뷰
갑자기 Multiple annotations found at this line이 뜨면서 빨간줄이 쫘아아악 뜨기 시작함.
그런데 서버는 정상동작
어이없네..
서치한 결과로는 Build Path 문제
갑자기??
1. 프로젝트 파일 > properites > java build path > Libraries
여기서 확인해 보니까 Build Path쪽 톰캣서버가 빠져있는걸 확인
2. Add libaries > server runtime > Apache Tomcat > finish
이러면 빨간줄 뜨던게 사라진다
'Java' 카테고리의 다른 글
[STS]The superclass "jakarta.servlet.http.HttpServlet" was not found on the Java Build Path (0) | 2023.05.08 |
---|---|
[JSP]req.getParameter와 req.setAttribute (0) | 2023.04.24 |
[JAVA] printf 2 (0) | 2023.03.03 |
[JAVA] printf 1 (0) | 2023.03.03 |
[JAVA] 객체지향 프로그래밍 2 (0) | 2023.02.27 |