[
https://issues.apache.org/jira/browse/RAVE-904?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13591898#comment-13591898
]
Matt Franklin commented on RAVE-904:
------------------------------------
To be clear, this is only a problem when you specify he dist profile.
Specifying a profile overrides the active by default flag for all other profiles
> Distribution building failing at rave-integration-tests
> -------------------------------------------------------
>
> Key: RAVE-904
> URL: https://issues.apache.org/jira/browse/RAVE-904
> Project: Rave
> Issue Type: Bug
> Components: build & development
> Affects Versions: 0.21
> Reporter: Raminderjeet Singh
> Attachments: integration-test-failure.txt
>
>
> INFO : org.springframework.beans.factory.xml.XmlBeanDefinitionReader -
> Loading XML bean definitions from class path resource
> [org/apache/rave/web-applicationContext.xml]
> INFO : org.springframework.beans.factory.xml.XmlBeanDefinitionReader -
> Loading XML bean definitions from class path resource
> [org/apache/rave/opensocial-provider-applicationContext.xml]
> INFO : org.springframework.beans.factory.support.DefaultListableBeanFactory -
> Overriding bean definition for bean 'openSocialEnvironment': replacing
> [Generic bean: class
> [org.apache.rave.provider.opensocial.config.OpenSocialEnvironment];
> scope=singleton; abstract=false; lazyInit=false; autowireMode=0;
> dependencyCheck=0; autowireCandidate=true; primary=false;
> factoryBeanName=null; factoryMethodName=null; initMethodName=null;
> destroyMethodName=null; defined in URL
> [jar:file:/home/raminder/rave/rave-providers/rave-opensocial-provider/rave-opensocial-client/target/rave-opensocial-client-0.21-SNAPSHOT.jar!/org/apache/rave/provider/opensocial/config/OpenSocialEnvironment.class]]
> with [Generic bean: class
> [org.apache.rave.provider.opensocial.config.OpenSocialEnvironment]; scope=;
> abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0;
> autowireCandidate=true; primary=false; factoryBeanName=null;
> factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined
> in class path resource
> [org/apache/rave/opensocial-provider-applicationContext.xml]]
> INFO : org.springframework.beans.factory.xml.XmlBeanDefinitionReader -
> Loading XML bean definitions from class path resource [test-dataContext.xml]
> ERROR: org.springframework.test.context.TestContextManager - Caught exception
> while allowing TestExecutionListener
> [org.springframework.test.context.web.ServletTestExecutionListener@73aecc3a]
> to prepare test instance [renderer.RenderServiceIntegrationTest@58e22f2b]
> java.lang.IllegalStateException: Failed to load ApplicationContext
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira