Results 1 to 2 of 2
  1. #1
    butny is offline Member
    Join Date
    Nov 2011
    Posts
    14
    Rep Power
    0

    Unhappy UnsupportedOperationException

    Hi,

    After creating a demo dynamic web project in jsf, when i tried to run the project i am getting this exception. I am not able to understand its root cause. Please help me out of it.

    4 Nov, 2011 7:20:15 PM org.apache.catalina.core.StandardWrapperValve invoke
    SEVERE: Servlet.service() for servlet Faces Servlet threw exception
    java.lang.UnsupportedOperationException
    at javax.faces.application.Application.getResourceHan dler(Application.java:286)
    at javax.faces.webapp.FacesServlet.service(FacesServl et.java:307)
    at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:233)
    at org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:191)
    at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:127)
    at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:102)
    at org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:291)
    at org.apache.coyote.http11.Http11Processor.process(H ttp11Processor.java:859)
    at org.apache.coyote.http11.Http11Protocol$Http11Conn ectionHandler.process(Http11Protocol.java:602)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run( JIoEndpoint.java:489)
    at java.lang.Thread.run(Thread.java:662)
    4 Nov, 2011 7:21:01 PM org.apache.catalina.core.StandardWrapperValve invoke
    SEVERE: Servlet.service() for servlet Faces Servlet threw exception
    java.lang.UnsupportedOperationException
    at javax.faces.application.Application.getResourceHan dler(Application.java:286)
    at javax.faces.webapp.FacesServlet.service(FacesServl et.java:307)
    at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:233)
    at org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:191)
    at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:127)
    at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:102)
    at org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:291)
    at org.apache.coyote.http11.Http11Processor.process(H ttp11Processor.java:859)
    at org.apache.coyote.http11.Http11Protocol$Http11Conn ectionHandler.process(Http11Protocol.java:602)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run( JIoEndpoint.java:489)
    at java.lang.Thread.run(Thread.java:662)

    Thanks,
    Bunta

  2. #2
    nicephotog is offline Member
    Join Date
    Mar 2012
    Posts
    41
    Rep Power
    0

    Default Re: UnsupportedOperationException

    It appears it will not load the JSF application, is your faces-config.xml correct???
    What is the name of the application???
    is it in a .war , have you compiled it in the IDE first???
    do you have all the correct JSF .jar RESOURCES IN WEB-INF are your .xml tag lib descriptors in the WEB-INF uncompressed???
    Are the top of the markup pages with the correct markup importation for the JSF tags used.
    Are the initial path calls to resources structured properly???
    Is your web.xml properly configured.???
    Last edited by nicephotog; 05-31-2012 at 07:54 AM.

Similar Threads

  1. UnsupportedOperationException
    By butny in forum JavaServer Faces (JSF)
    Replies: 0
    Last Post: 11-04-2011, 03:43 PM
  2. Replies: 1
    Last Post: 03-20-2011, 05:11 PM
  3. Replies: 11
    Last Post: 10-10-2010, 06:31 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •