WARNING: string with unknown version [3.1]. The default version will be used.

Whenever I run web aps in eclipse, I always get this warning:

WARNING: Unknown version string [3.1]. Default version will be used.

What is it? What should I do with this?

+4
source share
2 answers

Or you can just use a web server that does not support Servlet 3.1. For example, Tomcat 7 only supports Servlet 3.0 and below. While Tomcat 8 supports servlet 3.1.

+7
source

You receive a warning because XML is incorrect, but the application must work with effective version 2.3 based on DOCTYPE. Removing an unnecessary version attribute will cause this warning to disappear.

+2

Source: https://habr.com/ru/post/1544613/


All Articles