title: Appium - Getting a java.lang.RuntimeException: java.lang.NoSuchMethodException: jdk.proxy2.$Proxy9.proxyClassLookup() at PageFactory
body: <p>I am getting this exception on running an Appium test. The test fails at PageFactory with the exception below.</p>
  <pre><code>My POM:
  &lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
  &lt;project xmlns=&quot;http://maven.apache.org/POM/4.0.0`
           xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;
           xsi:schemaLocation=&quot;http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd&quot;&gt;
      &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
  
      &lt;groupId&gt;com.telepathy.test&lt;/groupId&gt;
      &lt;artifactId&gt;twitter&lt;/artifactId&gt;
      &lt;version&gt;1.0-SNAPSHOT&lt;/version&gt;
      &lt;dependencies&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;junit&lt;/groupId&gt;
              &lt;artifactId&gt;junit&lt;/artifactId&gt;
              &lt;version&gt;4.12&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;!-- https://mvnrepository.com/artifact/io.appium/java-client --&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;io.appium&lt;/groupId&gt;
              &lt;artifactId&gt;java-client&lt;/artifactId&gt;
              &lt;version&gt;7.2.0&lt;/version&gt;
          &lt;/dependency&gt;
      &lt;/dependencies&gt;
  
  &lt;/project&gt;
  
  </code></pre>
  <ul>
  <li>This was working fine up until yesterday, my machine got restarted and this error started coming.</li>
  <li>Already tried with latest version of Appium (7.5.1)</li>
  <li>Did mvn clean and refresh, update</li>
  </ul>
  <p>Fails here:
  PageFactory.initElements(new AppiumFieldDecorator(this.driver), this);</p>
  <pre><code>java.lang.RuntimeException: java.lang.NoSuchMethodException: 
      jdk.proxy2.$Proxy9.proxyClassLookup()
      at  ​io.appium.java_client.pagefactory.bys.builder.AppiumByBuilder.prepareAnnotationMethods(
  ApiumByBuilder.java:84)
  </code></pre>