It has an influence on the classpath of the application. There is probably an older version of Servlet specification above undertown dependency. This answer explains why this particular error occurs for older Servlet specification.