Did you create a PersonDao interface and implementation in your project? If
so, did you register them in an XML file or with annotations? If so, what
version of AppFuse are you using?

2010/9/16 Cody Zhang <codyzhang.w...@gmail.com>

> Hi,All
>    Can you help me?
>   error:
>
>
>
> Unable to instantiate Action, projectAction,  defined for 'project' in 
> namespace '/'Error creating bean with name 'projectAction' defined in 
> ServletContext resource [/WEB-INF/applicationContext-struts.xml]: Cannot 
> resolve reference to bean 'projectManager' while setting bean property 
> 'projectManager'; nested exception is 
> org.springframework.beans.factory.BeanCreationException: Error creating bean 
> with name 'projectManager': Autowiring of methods failed; nested exception is 
> org.springframework.beans.factory.BeanCreationException: Could not autowire 
> method: public void 
> com.infowarelab.service.impl.ProjectManagerImpl.setProjectDao(com.infowarelab.dao.ProjectDao);
>  nested exception is 
> org.springframework.beans.factory.NoSuchBeanDefinitionException: No unique 
> bean of type [com.infowarelab.dao.ProjectDao] is defined: Unsatisfied 
> dependency of type [interface com.infowarelab.dao.ProjectDao]: expected at 
> least 1 matching bean
>
>     Best Regards,
>         --Cody.Zhang
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
> For additional commands, e-mail: users-h...@appfuse.dev.java.net
>

Reply via email to