title: JFrame Restricted due to restriction on required library
body: <p>I am making a new Java project in eclipse. The only problem is that I didn't even get five lines in before I got an error that reads:</p>
  
  <pre><code>Access Restriction: The type JFrame is not accessible due to restriction on 
  required library C:\Program Files\Java\jre8\lib\rt.jar
  </code></pre>
  
  <p>How do I fix this issue? Please forgive me if someone already asked a similar question. I am still a beginner. </p>