java.lang.IllegalArgumentException: Invalid URL Pattern: [xhtml] [duplicate]
This question already has an answer here: java.lang.IllegalArgumentException: Invalid <url-pattern> in servlet mapping 2 answers I am trying to deploy a very simple & my first JSF application (following a really good tutorial by BalusC ) on glassfish local server. I completed all the steps to create the application. And when I tried to deploy the application on the glassfish server, it just failed with the following exception message:- cannot Deploy Playground Deployment Error for module: Playground: Exception while deploying the app : java.lang.IllegalArgumentException: Invalid URL Pattern: