목록알아두기/에러 (11)
무소의 뿔처럼
에 빨간줄 순으로 작성.
에러 : ......cannot be resolved. It is indirectly referenced from required .class files project - preperties - java buildpath - Libraries - classpath - jre : jdk버전에 맞는 것을 확인. 정보 : 적어도 하나의 JAR가 TLD들을 찾기 위해 스캔되었으나 아무 것도 찾지 못했습니다... 무시해도 됨. 아니면 아래 티스토리 참고 Jar 파일 스캔 제외로 톰캣 시작 시간 단축 톰캣 구동 속도에 영향을 주는 것은 jar 파일 탐색이다. 톰캣은 기본적으로 다음의 두 가지를 위해 jar 파일의 클래스나 자원을 스캔한다.특정 애노테이션을 가진 클래스 검색TLD 파일위 내용과 상 javacan.ti..
새로운 환경에서 시작 sts4 및 oracle 11g 설치 git으로 다운받은 프로젝트 java.sql.SQLRecoverableException: Listener refused the connection with the following error: ORA-12514, TNS:listener does not currently know of service requested in connect descriptor oracle CID : xe ?, orcl ? org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource..
oracle db 11g , jpa //apllication.properties spring.jpa.database-platform=org.hibernate.dialect.Oracle10gDialect
data-jpa oracle db 에러: could not execute statement; SQL [n/a]; nested exception is org.hibernate.exception.SQLGrammarException: could not execute statement apllication.poropertyies spring.jpa.database=oracle
Consider defining a bean of type 'repository.UserRepository' in your configuration. 어플 실행을 못하겠다고 위와 같은 Action을 취하라고 함. repository.UserRepository가 basePackage와 동떨어져서 만들어져 있었다. Unsatisfied dependency expressed through method 'dataSourceScriptDatabaseInitializer' parameter 0 라이브러리에 ojdbc6이 사라짐. (Refresh gradle 해서 없어졌나 봄.) ojdbc6: build path에 추가함.
현재 상태. 세션에 아이디 담아서 보냄. 서버가 재시작되면 세션이 리셋되면서 아이디가 없어져 에러 페이지가 뜬다. 문제. 에러가 생길 시 로그인 페이지로 이동하게 하고 싶다. (현재 에러로 나타날 경우는 그것뿐이라서 싸잡아서 로그인으로 이동하게 하고 싶다.) 구글링. 세션에 잘 못 담았나? 구글링 하면 대부분 비슷한 코드로 세션에 id를 담고 있었다. 이해 못 하겠다 ㅎㅎ 내가 생각하는 간단한 기능부터 구현해보자. 여전히 문제는 계속되었다. 다시 문제로 돌아감. 해결. application.property server.error.whitelabel.enabled=false + error.jsp 멍충이.. 나도 모르는 새에 목적이 흐려져서 다른 곳을 봤나 보다.