Uploaded image for project: 'Apache Fineract'
  1. Apache Fineract
  2. FINERACT-1180

Failing to load securityContext.xml, prevents starting

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.4.0
    • 1.5.0
    • Build
    • None

    Description

      following the documentation (I think), when running in local with "gradle bootRun", I get an error at startup : 

      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; 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 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.

       

      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 ? 

       

       

       

       

      Attachments

        1. image-2020-10-09-16-47-21-425.png
          65 kB
          Vincent FUCHS

        Issue Links

          Activity

            People

              vincent.fuchs Vincent FUCHS
              vincent.fuchs Vincent FUCHS
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: