반응형
오류 원인
1. 문제 발생자의 빌드패스 미설정, jar 파일 미추가 / 컨넥션 단에서 오류
2. jsp web-inf 없기 때문
회고
더보기
분명 해달라는데로 다 해줬는데
멍청한 새끼가 DB 못찾고
java.lang.ClassNotFoundException: org.postgresql.Driver
널 포인트 에러를 Connection 에서 뱉고 있어서 개빡쳤었는데
보니까 시팔 왜 WEB-INF 폴더가 없냐
#해결방법
밑에 방법하면 WEB-INF 폴더랑 web.xml 폴더 생김
더보기
그럼 프로젝트에서 마우스 오른쪽 버튼을 누르고
Java EE Tools -> Generate Deployment Descriptor sub
WEB-INF 폴더 안에 lib 폴더 만들고
거기 안에 jdbc .jar 파일 넣으면 됌
반응형
'오류정리' 카테고리의 다른 글
#render is not a function#node#db오류 (0) | 2023.02.12 |
---|---|
#스프링#레거시#CGLIB#error (0) | 2023.02.11 |
#이클립스#스프링에러#레거시에러#UTF16 (0) | 2023.02.11 |
HTTP 상태 에러코드 정리 (0) | 2023.01.31 |
[스프링부트]로컬에서는 되는게 ec2 에서는 안됨, 페이지 500 에러, dispatcherServlet (0) | 2022.11.04 |