title: java.lang.IllegalAccessException: is related to public / private attribute for classes?
body: <p>I get the following error in my Java code:</p>
  
  <pre><code>java.lang.IllegalAccessException: Class org.apache.commons.digester.ObjectCreateRule can not access a member of class Response with modifiers ""
  </code></pre>
  
  <p>Is it maybe because class Response is not public class ?
  If so, how can I make it accessible and keep the class Response in the same file with the main class ?</p>
  
  <p>thanks</p>
  
  <p>Update, Code: <a href="http://www.smipple.net/snippet/aneuryzma/on:%20is%20related%20to%20public%20/%20private%20attribute%20for%20classes%20%3F" rel="noreferrer">http://www.smipple.net/snippet/aneuryzma/on:%20is%20related%20to%20public%20/%20private%20attribute%20for%20classes%20%3F</a></p>