Friday, August 17, 2012

Problem while deploying Oracle ADF application - java.lang.ClassNotFoundException: oracle.adf.model.servlet.ADFBindingFilter

Problem while deploying Oracle ADF application - java.lang.ClassNotFoundException: oracle.adf.model.servlet.ADFBindingFilter

The following exception was thrown while deploying the Oracle ADF application to the server.

[08:38:30 PM] Weblogic Server Exception: weblogic.application.ModuleException: Failed to load webapp: 'ADF_OSR_ViewController_webapp1.war'
[08:38:30 PM] Caused by: java.lang.ClassNotFoundException: oracle.adf.model.servlet.ADFBindingFilter
[08:38:30 PM]   See server logs or server console for more details.
[08:38:30 PM] weblogic.application.ModuleException: Failed to load webapp: 'ADF_OSR_ViewController_webapp1.war'
[08:38:30 PM] ####  Deployment incomplete.  ####
[08:38:30 PM] Remote deployment failed

The issue is the ADFBindingFilter class is missing in the class path.

Steps to resolve the issue:

  • Right click on the project and click on Project properties.
  • Select the Deployment, the deployment profile and click on edit button.

  • Select WEB-INF/lib, Contributors 
  • Select the library ADF Web Runtime as shown below and click on ok
  • Deploy the application now.

5 comments:

  1. Excelente! Me ayudó mucho.
    Una pregunta adicional. ?Cómo saber que debe activarse "ADF Web Runtime" u otra librería?

    ReplyDelete
  2. Albin, you saved me twice! (And I am counting). This kind of altruistic gesture that makes computer industry a unique place in the world. Cheers!

    ReplyDelete
  3. Thanks a lot man .... very helpfull articale to resolve issue while change context or more modification while .war file name change

    ReplyDelete
  4. what about 12 c ?
    i can't find the WEB-INF/lib??

    ReplyDelete