Have you read the AppFuse tutorials?

http://appfuse.org/display/APF/Tutorials

They should help you figure out the issue. 

If you don't know much about Spring, you might start by reading up on Spring 
and learning what the error message means.

On Sep 17, 2010, at 12:57 AM, Cody zhang wrote:

> Hi,Matt
>     I will add something on xml file when new project class?
> applicationContext-struts.xml
> hibernate.cfg.xml
> ........
> How do it?
> 
>     Best Regards,
>         --Cody.Zhang 
> 
> 
> 2010/9/17 Matt Raible <m...@raibledesigns.com>
> 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