title: Replacement for org.apache.log4j.helpers.Loader during migration to log4j2
body: <p>After migration to from log4j to log4j2 I get error:</p>
  
  <pre><code>java.lang.ClassNotFoundException: org.apache.log4j.helpers.Loader
  </code></pre>
  
  <p>I can't find out which class in log4j2 has overtaken function of this class. I need it for getting resources (<a href="https://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/helpers/Loader.html#getResource(java.lang.String)" rel="nofollow noreferrer">link</a>). I have in my project also bridge between 1 and 2 but it contains in helpers package only <code>NullEnumeration</code> class. Which class I could use to keep current functionality with new version?</p>