Nikolai von Veh created RAVE-1080:
-------------------------------------
Summary: Project created with the archetype missing dependency
OAuthConsumerStoreRepository
Key: RAVE-1080
URL: https://issues.apache.org/jira/browse/RAVE-1080
Project: Rave
Issue Type: Bug
Affects Versions: 0.22
Reporter: Nikolai von Veh
Created a project from the archetype as per the instructions:
http://rave.apache.org/documentation/rave-extensions.html
Built the project, and ran using 'mvn cargo:run'
The portal failed to start, with the following exception:
[INFO] [talledLocalContainer] SEVERE: Context initialization failed
[INFO] [talledLocalContainer]
org.springframework.beans.factory.UnsatisfiedDependencyException: Error
creating bean with name 'defaultOAuthConsumerStoreService' defined in URL
[jar:file:/Users/nikolaiv/Documents/Development/a2e-rave/a2e-rave-portal/target/tomcat6x/webapps/ROOT/WEB-INF/lib/rave-opensocial-core-0.22.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: {}
--
This message was sent by Atlassian JIRA
(v6.1#6144)