org.openrdf.repository.config.RepositoryConfigException: Multiple ID-statements for repository ID knora-test

Stack Overflow | loic.jaouen | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    error "Multiple ID-statements for repository ID" on repository drop/create

    Stack Overflow | 8 months ago | loic.jaouen
    org.openrdf.repository.config.RepositoryConfigException: Multiple ID-statements for repository ID knora-test

    Root Cause Analysis

    1. org.openrdf.repository.config.RepositoryConfigException

      Multiple ID-statements for repository ID knora-test

      at org.openrdf.repository.config.RepositoryConfigUtil.getIDStatement()
    2. org.openrdf.repository
      RemoteRepositoryManager.removeRepository
      1. org.openrdf.repository.config.RepositoryConfigUtil.getIDStatement(RepositoryConfigUtil.java:269)
      2. org.openrdf.repository.config.RepositoryConfigUtil.hasRepositoryConfig(RepositoryConfigUtil.java:91)
      3. org.openrdf.repository.manager.RemoteRepositoryManager.removeRepository(RemoteRepositoryManager.java:269)
      3 frames
    3. org.openrdf.console
      Console.main
      1. org.openrdf.console.Drop.dropRepository(Drop.java:99)
      2. org.openrdf.console.Drop.execute(Drop.java:59)
      3. org.openrdf.console.Console.executeCommand(Console.java:290)
      4. org.openrdf.console.Console.start(Console.java:271)
      5. org.openrdf.console.Console.main(Console.java:129)
      5 frames