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 <[email protected] > 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.*
