Hi,

I am trying to resolve a problem that I assume relates to class loading.

My application contains a JAR that contains a file in META-INF\services:-

MyApp
  \-- WEB-INF
    \-- lib
      \-- AJar.jar
        \-- META-INF
          \-- services
            \-- Afile

MyApp tries to load Afile using:-

ClassLoader.getSystemResources("META-INF/services/AFile)

However the file is not found.

I have read the documentation relating to classloading and META-INF is not
shown as a path searched.

Am I doing something stupid? Should this work?

Thanks,

Mike

Reply via email to