Failed to load a directory resource that exists in classpath root.
Issue
Failed to load a directory from a classpath root when build as a fast-jar
(default) with Quarkus 2.2.x.
Thread.currentThread().getContextClassLoader().getResource("<a directory that exists in classpath root>");
It returns null
even though the directory exists.
It worked with Quarkus 1.11.x.
Environment
- Red Hat Build of Quarkus (RHBQ)
- 2.2.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.