When Eclipse create a web project, an error Dynamic Web Module 3.0 requires Java 1.6 or newer.

Error:

solution:

1. Open the eclipse toolbar window-> preferences

2. Open java-> compiler

3. Select the compiler compliance level of 1.6 or higher (here choose 1.8)

4. Click apply and close to save your changes, you can

 

Reproduced in: https: //www.cnblogs.com/MFlowers/p/11039977.html

Guess you like

Origin blog.csdn.net/weixin_34413802/article/details/93508252