Thursday, February 4, 2010

Please make sure that the annotations are valid.

Interesting issue I came across today. Was providing support for a deployment that was going difficultly. Beyond the issues of getting the configuration repaired so the ADF Runtime installer could operate properly, when trying to deploy the application they wanted to put on the server we received the following:

"There was a failure when processing annotations for application [Webapp name redacted]. Please make sure that the annotations are valid. The error is oracle.adf.view.faces.webapp.ResourceServlet"

Interesting error, and after confirming that the ADF Runtime did indeed install correctly, I had to check some of my own developed applications to confirm my suspicion. The resource servlet utilized by ADF 11g is "org.apache.myfaces.trinidad.webapp.ResourceServlet", it is no longer the Oracle labeled one, (which makes sense since we donated the Trinidad libraries). Apparently, this must have been a migrated application that failed to update this particular entry and was utilizing old libraries in development...

C'est la vie!

2 comments:

  1. Hello I am working with Jdeveloper and am getting the same error when deploying to the integrated weblogic server. How do I fix it? How do I change the libraries?

    ReplyDelete
  2. Solution. Separately add the following lib.
    oracle.adf.view.faces.webapp.ResourceServlet

    ReplyDelete