본문 바로가기 메뉴 바로가기

기록하는 프로그래머

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

기록하는 프로그래머

검색하기 폼
  • 분류 전체보기 (114)
    • Java (54)
      • SpringBoot&Spring (33)
      • JPA, QueryDSL (16)
      • Mapstruct (4)
    • Javascript (7)
    • Server (8)
      • Linux (7)
      • Windows (1)
    • Database (6)
      • Oracle (4)
      • MSSQL (2)
    • DevOps (20)
      • Jenkins (8)
      • Docker (4)
      • NginX (4)
      • Apache (2)
      • IIS (1)
      • CI CD (1)
    • 형상관리 (3)
      • Git (3)
    • Tools (9)
      • IntelliJ (8)
      • VSCode (1)
    • 보안 (5)
      • 메일보안 (4)
      • 웹방화벽 (1)
  • 방명록

@Inject (1)
[SpringBoot] jar 배포시 오류발생/오류해결 : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is java.lang.NullPointerException] with root cause

Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is java.lang.NullPointerException] with root cause 내가 맞이한 오류는 위와 같은데 어떤 상황이었냐면 jar 를 배포했을때 Mybatis 조회쿼리를 호출하면 위와 같은 오류가 발생했다. 개발툴에서는 문제없이 구동되고 있었기 때문에 몰랐고, 배포하고 나서야 알게 되었다. 프로젝트의 Mybatis 는 mapper 방식과 dao SqlSession 방식 모두 쓰는 형태인데 그 중 dao SqlSession 방식은 구프로젝트의 뼈대 모..

Java/SpringBoot&Spring 2023. 11. 15. 16:42
이전 1 다음
이전 다음
반응형
공지사항
  • 헬스시작!
  • 카카오 구글광고 때문에 포스트가 난장판입니다.
  • 블로그 이전완료!
최근에 올라온 글
«   2025/06   »
일 월 화 수 목 금 토
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30
Total
Today
Yesterday

Powered by Tistory / Designed by Tistory / Managed by Jaybee / Icons by Icons8

티스토리툴바