1. pom.xml 第一行报错
Cannot access defaults field of Properties
添加以下maven-war-plugin依赖:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>3.2.2</version>
</plugin>
2. jsp页面中<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>报错:
Can not find the tag library descriptor for "http://java.sun.com/jsp/jstl/core"
添加jstl依赖:
<dependency>
<groupId>jstl</groupId>
<artifactId>jstl</artifactId>
<version>1.2</version>
</dependency>
Debug on server的时候,出现异常报告:
jakarta.servlet.ServletException: java.