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

2021. 1. 28. 17:24·Error code 모음/5. JAVA, Spring errors
반응형

1. 에러의 원인


해당 에러가 나타나는 상황은 주로 JSP 파일을 생성한 직후에 나타난다. 에러의 원인은 JSP 에 서버가 연결이 안되어 있어서 발생하는 것인데, 해당 에러는 서버를 운용하는 프로그램인 톰캣에 프로젝트를 연결해 주면 해결이 잘 되는 편이다.

 

 

2. 에러 해결 방법


1) 프로젝트를 우클릭한 후에 Properties 를 선택한다.

그러면 아래 이미지와 같이 properties 가 뜨는 것이 보일 것이다.

 

2) 왼쪽의 Java Build Path 를 클릭한 후에 Libraries 를 선택한다. 그리고 Add Library 를 선택한다

 

 

그리고 Server Runtime 을 선택한다

그 다음에, 아파치 톰캣을 선택한다.

 

3) 적용 후 종료를 누른다.

 

그러면, 에러가 사라진 것을 볼 수 있다.


 

반응형
저작자표시 비영리 변경금지 (새창열림)

'Error code 모음 > 5. JAVA, Spring errors' 카테고리의 다른 글

[Spring Error] MySQLNonTransientConnectionException: Client does not support authentication protocol requested by server; consider upgrading MySQL client [duplicate]  (0) 2021.02.01
[Spring Error] nested exception is java.lang.NoClassDefFoundError: org/springframework/jdbc/datasource/TransactionAwareDataSourceProxy  (0) 2021.02.01
[Spring Error] warning: Not generating hashCode: One of equals or hashCode exists. You should either write both of these or none of these (in the latter case, lombok generates them).  (0) 2021.01.13
[ Spring ] org.apache.jasper.JasperException: Unterminated <c:url tag  (0) 2020.12.27
[Spring Error] could not execute statement; nested exception is org.hibernate.exception.ConstraintViolationException: could not execute statement  (0) 2020.12.26
'Error code 모음/5. JAVA, Spring errors' 카테고리의 다른 글
  • [Spring Error] MySQLNonTransientConnectionException: Client does not support authentication protocol requested by server; consider upgrading MySQL client [duplicate]
  • [Spring Error] nested exception is java.lang.NoClassDefFoundError: org/springframework/jdbc/datasource/TransactionAwareDataSourceProxy
  • [Spring Error] warning: Not generating hashCode: One of equals or hashCode exists. You should either write both of these or none of these (in the latter case, lombok generates them).
  • [ Spring ] org.apache.jasper.JasperException: Unterminated <c:url tag
쟈누
쟈누
Ad astra per aspera
    반응형
  • 쟈누
    쟈누의 기록공간
    쟈누
  • 전체
    오늘
    어제
    • 분류 전체보기 (444)
      • AWS (31)
        • Glue (4)
        • S3 (1)
      • 클라우드 (0)
      • Data Engineering (37)
        • GitHub (10)
        • NiFi (11)
        • Spark (10)
        • Snowflake (0)
        • 머신러닝, AI (6)
      • 언어 (118)
        • 데이터 베이스 (42)
        • JAVA (9)
        • Python (34)
        • Java Script (15)
        • Linux (18)
      • 프로젝트, 인강 그리고 책 (30)
        • Spotify Project (7)
        • RASA chatbot Project (9)
        • Naver shopping Project (6)
        • 빅데이터를 지탱하는 기술 (8)
      • OLD (56)
        • IT 용어 사전 (13)
        • Front End (12)
        • Back End (31)
      • Error code 모음 (165)
        • 1. SQL errors (17)
        • 2. Hadoop errors (20)
        • 3. Linux Errors (14)
        • 4. Python errors (33)
        • 5. JAVA, Spring errors (41)
        • 6. Jav Script errors (10)
        • 7. Dev Tools errors (9)
        • 8. Git errors (8)
        • 9. Jenkins Errors (4)
        • 10. airflow Errors (2)
        • 11. Aws errors (7)
      • 개인 (1)
        • 책 (1)
  • 블로그 메뉴

    • 홈
    • 태그
    • 방명록
    • 블로그 관리
    • 글쓰기
  • 링크

  • 공지사항

    • 간단한 블로그 소개
  • 인기 글

  • 태그

    Python
    리눅스
    Spring
    node
    자바
    에러
    java
    json
    linux
    NiFi
    install
    파이썬
    Git
    AWS
    MySQL
    SQL
    python error
    설치
    API
    error
  • 최근 댓글

  • 최근 글

  • hELLO· Designed By정상우.v4.10.3
쟈누
[JAVA Error] The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path
상단으로

티스토리툴바