We are migrating our JSF 1.2 project to JSF 2.0 and using a command button in a JSP page .Clicking command button get a reponse from external system and display response.
The presence of Ajax4jsf 1.x specific org.ajax4jsf.*
classes in the stacktrace tells that you're still using Ajax4jsf for JSF 1.x.
This is not compatible with JSF 2.x. You must remove all Ajax4jsf 1.x related JAR files and registrations in web.xml
. You need to use JSF's own
facilities instead, or to upgrade to RichFaces 4.x which bundles a newer, JSF 2.0 compatible, version of
tags. Note that this in turn requires Facelets instead of JSP. So you have to migrate from JSP to Facelets as well.