You normally get this error when you have multiple conflicting JAR's in your class path. One of the more common reasons is if you include an artifact in your classpath that is supposed to be provided by the application container. Looking at your POM, you have several redundant and overlapping dependencies. Remove these: