Pages

Monday, August 29, 2011

java.lang.ClassNotFoundException: oracle.adf.model.servlet.ADFBindingFilter

When deploying an ADF web application after development in JDeveloper, you might see the below errors on the console:

[01:58:13 PM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application WorkItemTaskFlow_ViewController_webapp1 on AdminServer.: Failed to load webapp: 'WorkItemTaskFlow_ViewController_webapp1.war'.
[01:58:13 PM] Weblogic Server Exception: weblogic.application.ModuleException: Failed to load webapp: 'WorkItemTaskFlow_ViewController_webapp1.war'
[01:58:13 PM] Caused by: java.lang.ClassNotFoundException: oracle.adf.model.servlet.ADFBindingFilter

Reason:
The above error will be thrown if deploying it by right-clicking web project.




Solution:

It can be fixed by right-click application and select Deploy, e.g.:



No comments: