[Intellij] Spring Boot multi module jsp 인식 못하는 경우

joyful·2022년 6월 24일
0

기타

목록 보기
5/5

✅ 이슈

프로젝트는 실행되지만 웹 브라우저에 view 출력 안 됨


✅ 원인 및 분석

  • IntelliJ에서 module 안에 web module을 실행시킬 경우 working directory를 해당 모듈로 설정해야 함
  • working directory를 따로 설정하지 않을 경우, working directory로 최상위 프로젝트가 지정됨

✅ 조치

  1. 실행 중인 프로젝트가 있는 경우 모두 종료
  2. Run/Debug Configuration > Edit Configuration
  3. Add New Configuration(Alt + Insert) > Spring Boot >Configuration > Environment > Working directory
    • 각 모듈에 working directory 제대로 지정 되어있는지 확인
    • 지정 안 되어 있을 경우 찾아서 지정 후 Apply > OK
profile
기쁘게 코딩하고 싶은 백엔드 개발자

0개의 댓글