본문 바로가기
TIL

[TIL] IntelliJ - JSP 프로젝트 설정하기 / Mac 에러 해결

by thegreatjy 2023. 10. 30.
728x90

1. 새 프로젝트 생성 : new project > jakarta ee

- template: Web application

2. Java EE 8 버전 선택

3. tomcat 서버 설정

- edit configuration > tomcat server> local 추가

  • configure 에서 톰캣 압축해제한 파일 위치를 지정

  • deployment > + > artifact

  • war: 압축
  • war ex : 압축 풀어 놓은 것 → 실행 속도가 빠름

오류

Cannot run program "/apache-tomcat-9.0.82/bin/catalina.sh" (in directory "/apache-tomcat-9.0.82/bin"): error=13, Permission denied

해결 방법

chmod a+x /apache-tomcat-9.0.82/bin/catalina.sh
728x90