java.lang.IllegalArgumentException: The benchmarkConfigResource (prova/src/prova/nurseRosteringBenchmarkConfig.xml) does not exist as a classpath resource in the classLoader (sun.misc.Launcher$AppClassLoader@73d16e93).

Stack Overflow | Marco Napalm | 6 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Optaplanner - The benchmarkConfigResource does not exist as a classpath resource in the classLoader

    Stack Overflow | 6 months ago | Marco Napalm
    java.lang.IllegalArgumentException: The benchmarkConfigResource (prova/src/prova/nurseRosteringBenchmarkConfig.xml) does not exist as a classpath resource in the classLoader (sun.misc.Launcher$AppClassLoader@73d16e93).
  2. 0

    Implementing a SolutionIO Interface for Benchmarking

    Stack Overflow | 9 months ago | Nikola Atanasov
    java.lang.IllegalArgumentException: Unmarshalling of benchmarkConfigResource (org/optaplanner/examples/nurserostering/benchmark/monetBenchmarkConfig.xml) fails.

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      The benchmarkConfigResource (prova/src/prova/nurseRosteringBenchmarkConfig.xml) does not exist as a classpath resource in the classLoader (sun.misc.Launcher$AppClassLoader@73d16e93).

      at org.optaplanner.benchmark.impl.XStreamXmlPlannerBenchmarkFactory.configure()
    2. org.optaplanner.benchmark
      PlannerBenchmarkFactory.createFromXmlResource
      1. org.optaplanner.benchmark.impl.XStreamXmlPlannerBenchmarkFactory.configure(XStreamXmlPlannerBenchmarkFactory.java:100)
      2. org.optaplanner.benchmark.api.PlannerBenchmarkFactory.createFromXmlResource(PlannerBenchmarkFactory.java:45)
      2 frames
    3. prova
      ClasseJava.main
      1. prova.ClasseJava.main(ClasseJava.java:10)
      1 frame