2024/05 25

UnsatisfiedDependencyException, BeanCreationException, IllegalArgumentException

SEVERE: Context initialized 이벤트를 [org.springframework.web.context.ContextLoaderListener] 클래스의 인스턴스인 리스너에 전송하는 동안 예외 발생org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'noticeController': Unsatisfied dependency expressed through field 'boardService'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating ..

에러 모음 2024.05.10

CannotLoadBeanClassException

SEVERE: Context initialized 이벤트를 [org.springframework.web.context.ContextLoaderListener] 클래스의 인스턴스인 리스너에 전송하는 동안 예외 발생org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [com.pf.www.forum.notice.dao.BoardDao] for bean with name 'boardDao' defined in file [C:\dev\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\11_board_02_homework\WEB-INF\cla..

에러 모음 2024.05.09

[1회차 01] 자바 간단 정리

자바 핵심 개념선언부와 구현부메서드는 다음과 같이 정의할 수 있다.public static int multiply(int a, int b) {}제어자 반환타입 메서드이름(매개변수 목록) { 구현부}선언부메서드에서 구현부를 제외한 나머지를 선언부라고 한다. 선언부에는 다음과 같은 종류가 있다.제어자: public, static과 같은 부분이다.접근 제어자에는 다음과 같은 종류가 있다.private: 같은 클래스에서만 접근 가능하다.default: 같은 패키지에서만 접근 가능하다.protected: 상속 관계에서만 접근 가능하다.public: 어디서든 접근 가능하다.반환 타입: 메서드가 실행되고 반환하는 데이터의 타입이다.메서드 이름: 메서드를 호출하는 메서드의 이름이다.매개 변수: 메서드 내에서만 사용할..

공부/JAVA 2024.05.09

XmlBeanDefinitionStoreException

4월 28, 2024 12:23:48 오후 org.apache.catalina.core.StandardContext listenerStartSEVERE: Context initialized 이벤트를 [org.springframework.web.context.ContextLoaderListener] 클래스의 인스턴스인 리스너에 전송하는 동안 예외 발생org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 47 in XML document from file [C:\dev\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\04_springJdbc_Se..

에러 모음 2024.05.09

BadSqlGrammarException

SEVERE: 경로 [/11]의 컨텍스트 내의 서블릿 [pf]을(를) 위한 Servlet.service() 호출이, 근본 원인(root cause)과 함께, 예외 [Request processing failed; nested exception is org.springframework.jdbc.BadSqlGrammarException: PreparedStatementCallback; bad SQL grammar [UPDATE forum.board SET title= ? , content= ? reg_member_seq= '73', update_dtm= DATE_FORMAT(NOW() ,'%Y%m%d%H%i%s') WHERE board_seq= ? AND board_type_seq= ?; ]; nested ..

에러 모음 2024.05.09

TransientDataAccessResourceException

SEVERE: 경로 [/11]의 컨텍스트 내의 서블릿 [pf]을(를) 위한 Servlet.service() 호출이, 근본 원인(root cause)과 함께, 예외 [Request processing failed; nested exception is org.springframework.dao.TransientDataAccessResourceException: PreparedStatementCallback; SQL [UPDATE forum.board SET title=?, content=?, hit=0, del_yn='N', reg_dtm='', reg_member_seq=73, update_dtm=DATE_FORMAT(NOW() ,'%Y%m%d%H%i%s') , update_member_seq=0 WHER..

에러 모음 2024.05.09

EmptyResultDataAccessException

SEVERE: 경로 [/11]의 컨텍스트 내의 서블릿 [pf]을(를) 위한 Servlet.service() 호출이, 근본 원인(root cause)과 함께, 예외 [Request processing failed; nested exception is org.springframework.dao.EmptyResultDataAccessException: Incorrect result size: expected 1, actual 0]을(를) 발생시켰습니다.org.springframework.dao.EmptyResultDataAccessException: Incorrect result size: expected 1, actual 0  EmptyResultDataAccessException 데이터베이스에서 결과를 ..

에러 모음 2024.05.08

TransientDataAccessResourceException

SEVERE: 경로 [/11]의 컨텍스트 내의 서블릿 [pf]을(를) 위한 Servlet.service() 호출이, 근본 원인(root cause)과 함께, 예외 [Request processing failed; nested exception is org.springframework.dao.TransientDataAccessResourceException: PreparedStatementCallback; SQL [INSERT INTO forum.board (board_type_seq, title, content, reg_dtm, reg_member_seq ) VALUES( '1', ?, ?, DATE_FORMAT(NOW() ,'%Y%m%d%H%i%s'), '73');]; Parameter index ou..

에러 모음 2024.05.08