You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@rave.apache.org by Matt Franklin <m....@gmail.com> on 2013/12/04 14:55:16 UTC

Re: custom project with archetype: mvn cargo:run fails with missing bean definition

0.22 did have a bug with the custom archetype.  We are discussing a release
of 0.23 on the dev list now.


On Thu, Nov 28, 2013 at 8:20 AM, Harsha Kumara <ha...@gmail.com> wrote:

> Hi Geert,
>
> I think you can use the latest snapshot(0.23)  in trunk to build the custom
> portal.We are using it and it's more stable.
> Thanks,
> Harsha
>
>
> On Thu, Nov 28, 2013 at 3:50 PM, Geert van der Ploeg <
> gvanderploeg@iprofs.nl
> > wrote:
>
> > Hi all,
> >
> > I tried to create a custom portal project using the
> > custom-project-archetype as described on
> > http://rave.apache.org/documentation/rave-extensions.html
> > It uses 0.22 of the archetype plugin.
> >
> > Creating the project and 'mvn clean install' works, but running the
> portal
> > with 'mvn cargo:run' within the myraveportal-portal module fails during
> > startup:
> >
> > [INFO] [talledLocalContainer]
> > org.springframework.beans.factory.UnsatisfiedDependencyException: Error
> > creating bean with name 'defaultOAuthConsumerStoreService' defined in URL
> >
> >
> [jar:file:/x/myraveproject/myraveproject-portal/target/tomcat6x/webapps/ROOT/WEB-INF/lib/rave-opensocial-core-0.20.1.jar!/org/apache/rave/gadgets/oauth/service/impl/DefaultOAuthConsumerStoreService.class]:
> > Unsatisfied dependency expressed through constructor argument with index
> 0
> > of type
> [org.apache.rave.portal.repository.OAuthConsumerStoreRepository]: :
> > No matching bean of type
> > [org.apache.rave.portal.repository.OAuthConsumerStoreRepository] found
> for
> > dependency: expected at least 1 bean which qualifies as autowire
> candidate
> > for this dependency. Dependency annotations: {}; nested exception is
> > org.springframework.beans.factory.NoSuchBeanDefinitionException: No
> > matching bean of type
> > [org.apache.rave.portal.repository.OAuthConsumerStoreRepository] found
> for
> > dependency: expected at least 1 bean which qualifies as autowire
> candidate
> > for this dependency. Dependency annotations: {}
> >
> > I retried with other versions of the archetype: 0.20.1, 0.21.1, but they
> > all fail with the same message.
> >
> > Any ideas?
> >
> > Kind regards,
> > Geert
> >
>
>
>
> --
> *Harsha Kumara*
> *Undergraduate*
> *Department of Computer Science and Engineering*
> *University of Moratuwa*
> *Sri Lanka.*
>