Is this a Spring 3.1 issue?
Running greenhouse with mv clean install t7:run
Code:org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Config uration problem: Failed to import bean definitions from relative location [secur ity-oauth-provider.xml] Offending resource: class path resource [com/springsource/greenhouse/config/secu rity.xml]; nested exception is org.springframework.beans.factory.xml.XmlBeanDefi nitionStoreException: Line 18 in XML document from class path resource [com/spri ngsource/greenhouse/config/security-oauth-provider.xml] is invalid; nested excep tion is org.xml.sax.SAXParseException; lineNumber: 18; columnNumber: 113; cvc-co mplex-type.3.2.2: Attribute 'authentication-failed-url' is not allowed to appear in element 'oauth:provider'. at org.springframework.beans.factory.parsing.FailFastProblemReporter.err or(FailFastProblemReporter.java:68) at org.springframework.beans.factory.parsing.ReaderContext.error(ReaderC ontext.java:85) at org.springframework.beans.factory.parsing.ReaderContext.error(ReaderC ontext.java:76) at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentRe ader.importBeanDefinitionResource(DefaultBeanDefinitionDocumentReader.java:271) at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentRe ader.parseDefaultElement(DefaultBeanDefinitionDocumentReader.java:196) at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentRe ader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:181) at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentRe ader.doRegisterBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:140) at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentRe ader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:111) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registe rBeanDefinitions(XmlBeanDefinitionReader.java:493) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadB eanDefinitions(XmlBeanDefinitionReader.java:390) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBea nDefinitions(XmlBeanDefinitionReader.java:334) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBea nDefinitions(XmlBeanDefinitionReader.java:302) at org.springframework.beans.factory.support.AbstractBeanDefinitionReade r.loadBeanDefinitions(AbstractBeanDefinitionReader.java:174) at org.springframework.beans.factory.support.AbstractBeanDefinitionReade r.loadBeanDefinitions(AbstractBeanDefinitionReader.java:209) at org.springframework.beans.factory.support.AbstractBeanDefinitionReade r.loadBeanDefinitions(AbstractBeanDefinitionReader.java:180) at org.springframework.context.annotation.ConfigurationClassBeanDefiniti onReader.loadBeanDefinitionsFromImportedResources(ConfigurationClassBeanDefiniti onReader.java:293) at org.springframework.context.annotation.ConfigurationClassBeanDefiniti onReader.loadBeanDefinitionsForConfigurationClass(ConfigurationClassBeanDefiniti onReader.java:118) at org.springframework.context.annotation.ConfigurationClassBeanDefiniti onReader.loadBeanDefinitions(ConfigurationClassBeanDefinitionReader.java:105) at org.springframework.context.annotation.ConfigurationClassPostProcesso r.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:261) at org.springframework.context.annotation.ConfigurationClassPostProcesso r.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:178) at org.springframework.context.support.AbstractApplicationContext.invoke BeanFactoryPostProcessors(AbstractApplicationContext.java:617) at org.springframework.context.support.AbstractApplicationContext.refres h(AbstractApplicationContext.java:446) at org.springframework.web.context.ContextLoader.configureAndRefreshWebA pplicationContext(ContextLoader.java:384) at org.springframework.web.context.ContextLoader.initWebApplicationConte xt(ContextLoader.java:283) at org.springframework.web.context.ContextLoaderListener.contextInitiali zed(ContextLoaderListener.java:111) at org.apache.catalina.core.StandardContext.listenerStart(StandardContex t.java:4723) at org.apache.catalina.core.StandardContext$1.call(StandardContext.java: 5226) at org.apache.catalina.core.StandardContext$1.call(StandardContext.java: 5221) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor. java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor .java:603) at java.lang.Thread.run(Thread.java:722) Caused by: org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException : Line 18 in XML document from class path resource [com/springsource/greenhouse/ config/security-oauth-provider.xml] is invalid; nested exception is org.xml.sax. SAXParseException; lineNumber: 18; columnNumber: 113; cvc-complex-type.3.2.2: At tribute 'authentication-failed-url' is not allowed to appear in element 'oauth:p rovider'. at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadB


Reply With Quote
