Vincent FUCHS created FINERACT-1180:
---------------------------------------
Summary: Failing to load securityContext.xml, prevents starting
Key: FINERACT-1180
URL: https://issues.apache.org/jira/browse/FINERACT-1180
Project: Apache Fineract
Issue Type: Bug
Components: Build
Affects Versions: 1.4.0
Reporter: Vincent FUCHS
following the documentation (I think), when running in local with "gradle
bootRun", I get an error at startup :
{quote}org.springframework.beans.factory.parsing.BeanDefinitionParsingException:
Configuration problem: Failed to import bean definitions from relative
location [securityContext.xml]
Offending resource: URL
[file:/C:/Users/vincent/IdeaProjects/fineract/build/classes/java/main/META-INF/spring/appContext.xml|file:///C:/Users/vincent/IdeaProjects/fineract/build/classes/java/main/META-INF/spring/appContext.xml];
nested exception is
org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 223
in XML
document from URL
[file:/C:/Users/vincent/IdeaProjects/fineract/build/classes/java/main/META-INF/spring/securityContext.xml|file:///C:/Users/vincent/IdeaProjects/fineract/build/classes/java/main/META-INF/spring/securityContext.xml]
is invalid; nested exception is org.xml.sax.SAXParseException; lineNumber:
223; columnNumber: 63; cvc-compl}}
ex-type.2.4.c: ▄bereinstimmungsplatzhalter ist streng, aber es kann keine
Deklaration f³r Element 'oauth:authorization-server' gefunden werden.
{quote}
When commenting out the last 2 elements (oauth:authorization-server and
oauth:resource-server), then the application starts.
If it's not normal, then maybe the documentation should be updated ?
--
This message was sent by Atlassian Jira
(v8.3.4#803005)