You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@fineract.apache.org by "Michael Vorburger (Jira)" <ji...@apache.org> on 2020/10/09 16:47:00 UTC

[jira] [Resolved] (FINERACT-1180) Failing to load securityContext.xml, prevents starting

     [ https://issues.apache.org/jira/browse/FINERACT-1180?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Vorburger resolved FINERACT-1180.
-----------------------------------------
    Resolution: Fixed

> 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
>            Assignee: Vincent FUCHS
>            Priority: Major
>             Fix For: 1.5.0
>
>         Attachments: image-2020-10-09-16-47-21-425.png
>
>
> 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)