> ㅎ 추가해봤더니 새로운 에러가 뜨네요... 아예 컨테이너 올릴때 발생하네요...><
> org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'sqlMapClientTemplate' defined in class path
> resource [conf/applicationContext.xml]: Cannot resolve reference to
> bean 'sqlMapClient' while setting bean property 'sqlMapClient'; nested
> exception is org.springframework.beans.factory.BeanCreationException:
> Error creating bean with name 'sqlMapClient': Post-processing of the
> FactoryBean's object failed; nested exception is
> org.springframework.aop.framework.AopConfigException: Could not
> generate CGLIB subclass of class [class
> com.ibatis.sqlmap.engine.impl.SqlMapClientImpl]: Common causes of this
> problem include using a final class or a non-visible class; nested
> exception is java.lang.IllegalArgumentException: Superclass has no
> null constructors but no arguments were given
> On 3월25일, 오전11시12분, Sanghyuk Jung <bene...@gmail.com> wrote:
> > jdk proxy로 적용되고 있었다면 AOP 적용한후로는 sqlMapClientTemplate 가 더이상
> > sqlMapClientTemplate가 아니고 SqlMapClientOperations형인 proxy가 생성되어서 그럴지도
> 모르겠네요
> > proxy-target-class='true' 하면 될지도 몰라요
> > 2011년 3월 25일 오전 11:08, 가마우치 <yabgar...@gmail.com>님의 말:
> > > context:component-scan 으로 설정잡구 작업하는데 ..
> > > AOP 포인트컷 표현식이 잘안되서 낑낑대다가 전체를 한번 걸어 봤는데요...
> > > 즉 execution(* *(..)) 이런식으로요...그랬더니 페이지 마다 에러가 빵빵 뜨던데...잘쓰던 DAO 쪽
> > > sqlMapClientTemplate 찾을수 없다고...걍 막막
> > > 사실 설정을 이렇게 잡진 않을테니 문제는 없는데요..왜그런지 궁금하네욤....@_@ 혹 아시는분..ㅎㅎ
> > > error creating bean with name
> 'org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMap
> ping#0'
> > > defined in file [D:\Web\eclipse\workspace\.metadata\.plugins
> > > \org.eclipse.wst.server.core\tmp2\wtpwebapps\p3Sample\WEB-INF\classes
> > > \conf\dispatcher-servlet.xml]:
> > > Initialization of bean failed; nested exception is
> > > org.springframework.beans.factory.BeanCreationException:
> > > Error creating bean with name 'mainController': Injection of resource
> > > dependencies failed; nested exception is
> > > org.springframework.beans.factory.BeanCreationException:
> > > Error creating bean with name 'UserServiceImpl': Injection of
> > > autowired dependencies failed; nested exception is
> > > org.springframework.beans.factory.BeanCreationException:
> > > Could not autowire field: p3.sample.web.dao.UserDao
> > > p3.sample.web.service.impl.UserServiceImpl.userDao; nested exception
> > > is org.springframework.beans.factory.BeanCreationException: Error
> > > creating bean with name 'UserDaoImpl': Injection of autowired
> > > dependencies failed; nested exception is
> > > org.springframework.beans.factory.BeanCreationException: Could not
> > > autowire field: org.springframework.orm.ibatis.SqlMapClientTemplate
> > > p3.sample.web.dao.UserDaoImpl.sqlMapClientTemplate; nested exception
> > > is org.springframework.beans.factory.NoSuchBeanDefinitionException: No
> > > matching bean of type
> > > [org.springframework.orm.ibatis.SqlMapClientTemplate] 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)}
> > > --
> > > Google 그룹스 'Korea Spring User Group' 그룹에 가입했으므로 본 메일이 전송되었습니다.
> > > 이 그룹에 게시하려면 ksug@googlegroups.com(으)로 이메일을 보내세요.
> > > 그룹에서 탈퇴하려면 ksug+unsubscribe@googlegroups.com로 이메일을 보내주세요.
> > > 더 많은 옵션을 보려면http://groups.google.com/group/ksug?hl=ko에서 그룹을 방문하세요.
> --
> Google 그룹스 'Korea Spring User Group' 그룹에 가입했으므로 본 메일이 전송되었습니다.
> 이 그룹에 게시하려면 ksug@googlegroups.com(으)로 이메일을 보내세요.
> 그룹에서 탈퇴하려면 ksug+unsubscribe@googlegroups.com로 이메일을 보내주세요.
> 더 많은 옵션을 보려면 http://groups.google.com/group/ksug?hl=ko에서 그룹을 방문하세요.