Guava 15.0 jar conflict in WebLogic 12c

后端 未结 2 945
天命终不由人
天命终不由人 2020-12-18 10:33

I updated from guava 14.0.1 to 15.0 in an application that deploys on WebLogic 12c, and I get a java.lang.NoSuchMethodException during deployment that I\'ve been unable to r

2条回答
  •  鱼传尺愫
    2020-12-18 11:12

    As an aditional information, I landed on this question with a similar problem while upgrading to Weblogic 12c due to a conflit between WL and Guava (have tried with versions 11 and 18 of Guava).

    I found the solution to be to explicitly prefer my application's lib. I set this on my weblogic.xml:

    
      com.google.common
    
    

    Look at http://docs.oracle.com/middleware/1212/wls/WLPRG/classloading.htm#WLPRG315 for the reference.

提交回复
热议问题