본문 바로가기

반응형

JAVA/오류

오류 - HTTP Status 500 - Servlet.init() for servlet appServlet threw exception 오류 이유 - dao에 Repository를 설정해주지 않아 생긴 오류 해결 방법을 먼저 살펴봅니다.@어노테이션을 이용해 Repository를 설정해준다. 오류 내용 - HTTP Status 500 - Servlet.init() for servlet appServlet threw exception type Exception report message Servlet.init() for servlet appServlet threw exception description The server encountered an internal error that prevented it from fulfilling this request. exception javax.servlet.ServletException: Serv.. 더보기
오류 - JDBC 프로그래밍 연결 안된 오류 웹프로그래밍을 하면서 오류 내용 중에 classpath 혹은 ojdbc 이라는 용어가 나온다면 JDBC 연결이 안되서 생기는 경우를 생각해봅시다. 밑에 사진같은 경우에는 spring / mybatis / tomcat / oracle 환경에서 오류가 난 것입니다. 해결방법 1. DBMS에 따른 jdbc 드라이버를 jdk에 복사 해둔다.탐색기 - C:\oraclexe\app\oracle\product\10.2.0\server\jdbc\lib- 주소에서 두개의 파일 중 ojdbc14 복사하기 2. jdk 설치된 곳으로 감두군데에 붙여 놓기 해야함C:\Program Files\Java\jdk1.8.0_73\jre\lib\ext- 주소에 붙여놓기C:\Program Files\Java\jre1.8.0_73\lib\.. 더보기
git clone 관련 오류 - 해결못함 오류내용 git -c filter.lfs.smudge= -c filter.lfs.required=false -c diff.mnemonicprefix=false -c core.quotepath=false clone --recursive https://github.com/아이디/프로젝트명.git C:\dtdtdt warning: templates not found C:\Program Files\Git\share\git-core\templates 더보기
오류 - HTTP Status 500 - Request processing failed 오류내용 HTTP Status 500 - Request processing failed; nested exception is java.lang.NullPointerExceptiontype Exception report message Request processing failed; nested exception is java.lang.NullPointerException description The server encountered an internal error that prevented it from fulfilling this request. exception org.springframework.web.util.NestedServletException: Request processing failed;.. 더보기
오류 - HTTP Status 500 - Request processing failed; nested exception is java.lang.NullPointerException 오류내용 HTTP Status 500 - Request processing failed; nested exception is java.lang.NullPointerException MemberDao Error : org.apache.ibatis.exceptions.PersistenceException: ### Error building SqlSession.### The error may exist in SQL Mapper Configuration### Cause: org.apache.ibatis.builder.BuilderException: Error parsing SQL Mapper Configuration. Cause: java.io.IOException: Could not find resource .. 더보기
Eclipse or sts 줄복사(한줄복사) 안될 때 이클립스나 sts 줄복사(한줄복사) 안되는 이유 - Intel 그래픽카드 쓰는 경우 : 화면이 뒤집히는 현상 발생 해결방법 바탕화면 오른쪽 클릭그래픽 옵션바로 가기 키사용 안함 으로 변경 하면 된다. 더보기
오류 - the specified jre installation does not exist the specified jre installation does not exist 경우가 다양하지만 지금 오류나는 경우는 다른 컴퓨터에서 작업했던 것을 github를 이용해 실행하려고 했을 때 오류난 경우입니다. 이클립스나 STS 사용 및 Tomcat 사용시에 오류 나는 경우 오류내용'Launching Tomcat v7.0 Server at localhost' has encountered a problem.The specified JRE installation does not exise 해결방법1.PreferencesServerRuntime Environment2.Apache Tomcat v7.0 클릭Edit 클릭(오른쪽에 있는 것)3.JRE 부분defalut 가 아닌jre1.8.0_91 로 변경 자세한.. 더보기

반응형