Springboot项目创建成功后pom文件报错
pom.xml文件
第二行有红叉叉:
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
Problems报:
Description Resource Path Location Type cvc-elt.1: Cannot find the declaration of element 'project'. pom.xml /stuorg line 3 XML Problem
试试:项目右击》》maven》》update project》》勾选force update of snapshots/releases》》ok