This discussion is archived
4 Replies Latest reply: Nov 19, 2012 6:27 AM by user696 RSS

class cast exception in weblogic

974147 Newbie
Currently Being Moderated
I have a web application (WAR file) which uses jersey jars.Now when i am trying to deploy this i am getting class cast exception(Some bootstrap servlet uses jersey)..On analysis i found that weblogic itself have jersey jars in common\modules..and my web app have different version of jersey jars. Now if i delete the common/modules jersey jar then my web app got deployed.I want to know how can i make my web app to use its own version of jersey jars so that it gets deployed without deleting common/module jars.. PS my .war file don't have weblogic.xml and weblogic is generating it on the fly.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points