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

Failing to load securityContext.xml, prevents starting

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.4.0
    • Fix Version/s: 1.5.0
    • Component/s: Build
    • Labels:
      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

        Issue Links

          Activity

            People

            • Assignee:
              vincent.fuchs Vincent FUCHS
              Reporter:
              vincent.fuchs Vincent FUCHS

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment