The serializable class FisrtServlet2 does not declare a static final serialVersionUID field of type long
->오류 무시하면 됨(속성 변경하거나 @SuppressWarnings("serial") 해주면 됨)
->오류 원인은 여기 참조 https://blog.naver.com/fochaerim/70105895049
FirstServlet을 실행하기 위해 web.xml을 수정하는 도중에
The content of elements must consist of well-formed character data or markup.
이라는 오류 발생
Strating Tomcat v8.0 Server at localhost has encountered a problem
-> 실행시 추가 오류 발생
-> <<url~ 이부분에 오타나서 그랬음.
서블릿을 실행시키는 방법은 web.xml에 위와 같이 추가하거나 어노테이션을 사용하는 방법이다
어노테이션을 사용할 때는 아래와 같이 이용한다.
'공부! > 서블릿&Jsp 웹 프로그래밍' 카테고리의 다른 글
Http Status 404, 405 오류 (0) | 2018.05.09 |
---|---|
UTF-8으로 기본설정하기 (0) | 2018.05.03 |
servlet init-param 한글 깨질 때 (0) | 2018.05.01 |
아파치 톰캣 서버오류2 (0) | 2018.05.01 |
ojdbc.6 jar 오류 (0) | 2018.02.16 |