There are 2 ways as given below. But in my environment , I had to apply both the following steps as solution for above issue.
1. Changes in weblogic-application.xml
Add the antlr.* in the
----------------------------------
<prefer-application-packages>
<package-name>antlr.*package-name>
prefer-application-packages>
-------------------------------------
2. Changes in weblogic.xml
----------------------------------------
WebLogic has it's own version of ANTLR. Set the prefer-web-inf-classes element in weblogic.xml to true.
<weblogic-web-app>
....
<container-descriptor>
<prefer-web-inf-classes>trueprefer-web-inf-classes>
container-descriptor>
....
weblogic-web-app>
------------------------------------------------