We upgraded from JBoss 6 to Wildfly 11 and started seeing problems with the mime types being returned from requests for static css and pdf content. We have updated the web.xml file to now include the mappings:
<mime-mapping>
<extension>pdf</extension>
<mime-type>application/pdf</mime-type>
</mime-mapping>
<mime-mapping>
<extension>css</extension>
<mime-type>text/css</mime-type>
</mime-mapping>
However, everything is still being mapped to text/html.
Any suggestions?