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 13:29:00 UTC

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

    [ https://issues.apache.org/jira/browse/FINERACT-1180?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17210946#comment-17210946 ] 

Michael Vorburger commented on FINERACT-1180:
---------------------------------------------

[~vincent.fuchs] that's curious.. {{./gradlew bootRun}} seems to work great for me, on current {{develop}} branch HEAD.

>  when running in local with "gradle bootRun", I get an error at startup : 

Note that you must use {{./gradlew}} which automatically downloads Gradle via the Wrapper, not {{gradle bootRun}} - can you try that?

I hope you don't have any special manually dropped XML parser in your JAVA_HOME?

> 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
>            Priority: Major
>
> 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)