Note that there are some explanatory texts on larger screens.

plurals
  1. POGuava and Weblogic:ClassNotFoundException
    text
    copied!<p>I'm trying to work on a web application that deploys to Weblogic 10.3.5. One of the maven dependencies is Guava.</p> <p>Unfortunately, upon attempting to publish the project, weblogic throws this exception:</p> <pre><code>java.lang.ClassNotFoundException: com.google.common.eventbus.EventBus at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297) at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270) at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:64) </code></pre> <p>The rest of my maven dependencies SEEM to be working, but I'm unsure what the problem is.</p> <p>Can anyone assist in troubleshooting? Environment is Eclipse with M2E plugin, Weblogic Server is integrated into Eclipse.</p> <p><strong>Update</strong>: Guava entry in pom.xml:</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;11.0.2&lt;/version&gt; &lt;/dependency&gt; </code></pre> <p>I included another library (commons-lang) and it worked fine.</p> <p><strong>Update 2</strong>: This may be a classloader issue. I got a clue from this blog: <a href="http://blog.eisele.net/2011/12/running-richfaces-410final-on-weblogic.html" rel="nofollow">http://blog.eisele.net/2011/12/running-richfaces-410final-on-weblogic.html</a>. It seems WLS uses some google-commons library.</p> <p>I'm trying to force it to use my version by making changes in the weblogic.xml file, but it doesn't seem to be working.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload