자바 오류: The superclass " javax.servlet.http.HttpServlet" was not found

JAVA/버그 2015. 10. 28. 15:20

출처 : http://www.programkr.com/blog/McTM2ADMwYT3.html

자바 오류: The superclass " javax.servlet.http.HttpServlet" was not found


오랫동안 쓰지 코드, 오늘 새로 하나 만들기 프로젝트, 강력한 디자인 기능, 후 이 오류 발견

The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path

나중에 한번 원래 없다 Tomcat 실행 시 따른 추가,

 

인터넷에서 검색 좀 해결 방법은 다음과 같다:

  1. 프로젝트파일 오른쪽단추->Build Path->Add Libraries->Server Runtime->Tomcat Server
  2. 전환 java Build Path 인터페이스 중 Orader and Export 선택 Tomcat


'JAVA > 버그' 카테고리의 다른 글

[Error] 'Launching new_configuration' has encountered a problem.  (0) 2013.04.02
[오류] 컨트롤 + 스페이스  (0) 2012.05.28

[Error] 'Launching new_configuration' has encountered a problem.

JAVA/버그 2013. 4. 2. 21:17


 


 

'Launching New_configuration' has encountered a problem.

An internal error occurred during: "Launching New_configuration".



해결방법 ::
 

 1. 해당 프로젝트의 속성에 들어간 다음 Run/Debug Settings 메뉴에 들어간다.

 2. 아래 스샷처럼 New_Configuration이라는 프로젝트 속성이 있을텐데 'Delete'키를 눌러 삭제해준 다음 OK를 누른다.

 3. 다시 컴파일을 시도하면 잘된다.


 

 

출처 : http://warmz.tistory.com/381

[오류] 컨트롤 + 스페이스

JAVA/버그 2012. 5. 28. 01:33

출처 : http://sdw8001.tistory.com/entry/Eclipse-%EC%BB%A8%ED%8A%B8%EB%A1%A4%EC%8A%A4%ED%8E%98%EC%9D%B4%EC%8A%A4%EC%9E%90%EB%8F%99%EC%99%84%EC%84%B1%EA%B8%B0%EB%8A%A5%EC%9D%B4-%EC%95%88%EB%90%A0-%EB%95%8C

 

어느날 문득 컴퓨터를 포맷하고...

이것저것 새로 세팅을 하고...

이클립스에서 자동완성을 이용하기 위해 여느때와 똑같이 ctrl + space를 입력하였다.

그런데.....

나와야 할게 안나오고 이상한 문구만 나오는게 아닌감=ㅁㅠ

No Default Propsals



 


뭔짓 안했는데 저리 나와서 은근 당황모드 해주시공;;;

아무튼 해결은 보았다'ㅡ'


Window → Preferences → Java → Editor → Content Assist → Advanced

여기에서 Template Proposals에 체크를 해주면 해결된다.