728x90
egovFrame Web Project > Generate Example Not Check
- 404
- 404
egovFrame Web Project > Generate Example Check
- 200
- 200
egovFrame Web Project > Generate Example Not Check + egovComponent
- 500
Error creating bean with name 'egovCpyrhtPrtcPolicyController': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.springmodules.validation.commons.DefaultBeanValidator egovframework.com.uss.sam.cpy.web.EgovCpyrhtPrtcPolicyController.beanValidator; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No matching bean of type [org.springmodules.validation.commons.DefaultBeanValidator] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}
해결 방법:
다른 프로젝트에서 /src/main/resources/egovframework/spring/com/spring/context-validator.xml 파일을 찾아서 같은 위치에 복사
다른 프로젝트에서 /src/main/webapp/WEB-INF/config/egovframework/validator 폴더를 찾아서 같은 위치에 복사
- 500
Error creating bean with name 'egovCpyrhtPrtcPolicyController': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.springmodules.validation.commons.DefaultBeanValidator egovframework.com.uss.sam.cpy.web.EgovCpyrhtPrtcPolicyController.beanValidator; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No matching bean of type [org.springmodules.validation.commons.DefaultBeanValidator] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}
해결 방법:
다른 프로젝트에서 /src/main/resources/egovframework/spring/com/spring/context-validator.xml 파일을 찾아서 같은 위치에 복사
다른 프로젝트에서 /src/main/webapp/WEB-INF/config/egovframework/validator 폴더를 찾아서 같은 위치에 복사
egovFrame Web Project > Generate Example Check + egovComponent
- 500
Cannot find class [egovframework.com.cmm.ImagePaginationRenderer] for bean with name 'imageRenderer' defined in ServletContext resource [/WEB-INF/config/egovframework/springmvc/egov-com-servlet.xml]; nested exception is java.lang.ClassNotFoundException: egovframework.com.cmm.ImagePaginationRenderer
- 500
Cannot find class [egovframework.com.cmm.ImagePaginationRenderer] for bean with name 'imageRenderer' defined in ServletContext resource [/WEB-INF/config/egovframework/springmvc/egov-com-servlet.xml]; nested exception is java.lang.ClassNotFoundException: egovframework.com.cmm.ImagePaginationRenderer
해결 방법:
Project > Propeties > Targeted Runtimes > Apache Tomcat v6.0 체크
보너스:
첫페이지를 추가한 component 관리페이지로 보이게 하기 위해서
/src/main/webapp/index.jsp 의
<jsp:forward page="/sample/egovSampleList.do"/> 을
<jsp:forward page="/index.do"/> 변경
반응형
'프로그래밍 TIP > JAVA' 카테고리의 다른 글
Eclipse 이것 저것 (0) | 2015.10.26 |
---|---|
JAVA Profiler – JVM Monitor 사용하기 (2) | 2015.06.11 |
Eclipse / JEUS 원격 디버깅 (0) | 2012.10.23 |
byte 배열 String Encoding (0) | 2012.10.09 |
소스 버전 관리 (0) | 2010.10.11 |