The maven project name reports an error. Is there any wrong solution when opening the project?

The maven project name reports an error, is there any error in opening the project, as shown in the figure


Error Yuanying: This is because your Maven compilation level is jdk1.5 or below, and you have imported dependencies above jdk1.6

Solution: add in the pom.xml file

Other reference methods:

https://blog.csdn.net/weixin_35806606/article/details/70237965

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325788968&siteId=291194637