0 Replies Latest reply on Jun 5, 2011 6:42 AM by Vikas V

    No mime type could be found for file org.richfaces.renderkit.html.images.ButtonHoverBackgroundImage.

    Vikas V Newbie

      Hi,

       

      I am working on JSF 2.0. In my xhtml file am including a java script by saying <h:outputScript library="js" name="scriptName.js" target="head" />

       

      In my java script, am playing around an image.

       

      After deploying application, in my Jboss server log I get below warnings, and images are not displayed on browser.

       

      [javax.enterprise.resource.webcontainer.jsf.context] JSF1091: No mime type could be found for file org.richfaces.renderkit.html.images.ButtonHoverBackgroundImage.  To resolve this, add a mime-type mapping to the applications web.xml.

       

      [javax.enterprise.resource.webcontainer.jsf.application] JSF1064: Unable to find or serve resource, org.richfaces.renderkit.html.images.ButtonHoverBackgroundImage.

       

      My web.xml contaings(along with other stuffs),

       

      <mime-mapping>

        

       

      <extension>ecss</extension>

         

       

      <mime-type>text/css</mime-type>

      </mime-mapping>

       

      <mime-mapping>

           <extension>xcss</extension>

           <mime-type>text/css</mime-type>

      </mime-mapping>

       

       

      Jars that I have included are richfaces-core-api-4.0.0.Final, richfaces-core-impl-4.0.0.Final ,

       

      richfaces-components-api-4.0.0.Final, richfaces-components-ui-4.0.0.Final, guava-r08 and cssparser-0.9.5

       

      Is there anything am missing in web.xml or missing any jars?

       

      As per this thread http://community.jboss.org/message/591576#591576  is there anything to be released yet? (Not sure how much relevant is my thread with the above mentioned thread)

       

      Regards,