title: Error: com.google.common.cache.CacheBuilder.from(Lcom/google/common/cache/CacheBuilderSpec;)Lcom/google/common/cache/CacheBuilder;
body: <p>A strange run time error when working with JPMML library (with <strong>guava</strong>).</p>
  
  <p>I used the jpmml related dependencies in my <strong>pom.xml</strong> like below</p>
  
  <pre><code>    &lt;dependency&gt;
          &lt;groupId&gt;org.jpmml&lt;/groupId&gt;
          &lt;artifactId&gt;pmml-evaluator&lt;/artifactId&gt;
          &lt;version&gt;1.3.6&lt;/version&gt;
          &lt;/exclusions&gt; 
      &lt;/dependency&gt;
  </code></pre>
  
  <p>It started throwing the exception. Then i tried like below.</p>
  
  <pre><code>    &lt;dependency&gt;
          &lt;groupId&gt;com.google.guava&lt;/groupId&gt;
          &lt;artifactId&gt;guava&lt;/artifactId&gt;
          &lt;version&gt;19.0&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.jpmml&lt;/groupId&gt;
          &lt;artifactId&gt;pmml-evaluator&lt;/artifactId&gt;
          &lt;version&gt;1.3.6&lt;/version&gt;
          &lt;exclusions&gt;
              &lt;exclusion&gt;
                  &lt;groupId&gt;com.google.guava&lt;/groupId&gt;
                  &lt;artifactId&gt;guava&lt;/artifactId&gt;
              &lt;/exclusion&gt;
          &lt;/exclusions&gt; 
      &lt;/dependency&gt;
  </code></pre>
  
  <p>I tried with 11.x/12.x/15.x/18.x/19.x/20.x versions of <strong>guava</strong> But still i am facing the same exception. I have gone through google and people have used <strong>guava-19.0</strong> version and it worked for them, But i am not able to achieve this. Can someone please tell me am i missing something.</p>
  
  <p>Please find the full stack trace below.</p>
  
  <pre><code>java.lang.NoSuchMethodError: com.google.common.cache.CacheBuilder.from(Lcom/google/common/cache/CacheBuilderSpec;)Lcom/google/common/cache/CacheBuilder;
      at org.jpmml.evaluator.CacheUtil.newCacheBuilder(CacheUtil.java:97)
      at org.jpmml.evaluator.CacheUtil.buildLoadingCache(CacheUtil.java:90)
      at org.jpmml.evaluator.ModelEvaluator.&lt;clinit&gt;(ModelEvaluator.java:660)
      at org.jpmml.evaluator.ModelEvaluatorFactory.newModelEvaluator(ModelEvaluatorFactory.java:80)
      at org.jpmml.evaluator.ModelEvaluatorFactory.newModelEvaluator(ModelEvaluatorFactory.java:66)
  .....
  .....
  </code></pre>