org.apache.commons.configuration2.ex.ConfigurationException: Could not locate: org.apache.commons.configuration2.io.FileLocator@61dc03ce[fileName=tmp.xml,basePath=<null>,sourceURL=,encoding=<null>,fileSystem=<null>,locationStrategy=<null>]

Stack Overflow | Bruce | 3 months ago
  1. 0

    Apache Commons Configuration2 how to read data from InputStream

    Stack Overflow | 3 months ago | Bruce
    org.apache.commons.configuration2.ex.ConfigurationException: Could not locate: org.apache.commons.configuration2.io.FileLocator@61dc03ce[fileName=tmp.xml,basePath=<null>,sourceURL=,encoding=<null>,fileSystem=<null>,locationStrategy=<null>]
  2. 0

    Apache Commons Configuration2 how to read data from InputStream

    Stack Overflow | 3 months ago | Bruce
    org.apache.commons.configuration2.ex.ConfigurationException: Unable to load the configuration

    1 unregistered visitors

    Root Cause Analysis

    1. org.apache.commons.configuration2.ex.ConfigurationException

      Could not locate: org.apache.commons.configuration2.io.FileLocator@61dc03ce[fileName=tmp.xml,basePath=<null>,sourceURL=,encoding=<null>,fileSystem=<null>,locationStrategy=<null>]

      at org.apache.commons.configuration2.io.FileLocatorUtils.locateOrThrow()
    2. org.apache.commons
      BasicConfigurationBuilder.getConfiguration
      1. org.apache.commons.configuration2.io.FileLocatorUtils.locateOrThrow(FileLocatorUtils.java:346)
      2. org.apache.commons.configuration2.io.FileHandler.load(FileHandler.java:972)
      3. org.apache.commons.configuration2.io.FileHandler.load(FileHandler.java:702)
      4. org.apache.commons.configuration2.builder.FileBasedConfigurationBuilder.initFileHandler(FileBasedConfigurationBuilder.java:312)
      5. org.apache.commons.configuration2.builder.FileBasedConfigurationBuilder.initResultInstance(FileBasedConfigurationBuilder.java:291)
      6. org.apache.commons.configuration2.builder.FileBasedConfigurationBuilder.initResultInstance(FileBasedConfigurationBuilder.java:60)
      7. org.apache.commons.configuration2.builder.BasicConfigurationBuilder.createResult(BasicConfigurationBuilder.java:421)
      8. org.apache.commons.configuration2.builder.BasicConfigurationBuilder.getConfiguration(BasicConfigurationBuilder.java:285)
      8 frames
    3. com.test.installer
      App.getXMLConfigurationProperties
      1. com.test.installer.App.getXMLConfigurationProperties(App.java:185)
      1 frame