From 32a55418b95776986bc19edbac0f6008e25abbec Mon Sep 17 00:00:00 2001 From: wenzhihuai <1570631036@qq.com> Date: Tue, 11 Apr 2023 23:57:17 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=87=E6=8D=A2=E8=87=B3spring=20boot=203?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 4 ++++ pom.xml | 6 ++---- src/main/resources/application-common.yml | 4 +--- src/main/webapp/aboutme.jsp | 2 +- src/main/webapp/blogdetail.jsp | 2 +- src/main/webapp/board.jsp | 2 +- src/main/webapp/checkcookie.jsp | 2 +- src/main/webapp/donate.jsp | 2 +- src/main/webapp/elk.jsp | 4 ++-- src/main/webapp/foot.jsp | 2 +- src/main/webapp/fortrip.jsp | 2 +- src/main/webapp/head.jsp | 2 +- src/main/webapp/index.jsp | 4 ++-- src/main/webapp/interest.jsp | 2 +- src/main/webapp/life.jsp | 4 ++-- src/main/webapp/live.jsp | 2 +- src/main/webapp/log.jsp | 4 ++-- src/main/webapp/myreading.jsp | 2 +- src/main/webapp/myresume.jsp | 4 ++-- src/main/webapp/searchresult.jsp | 2 +- src/main/webapp/sidebar.jsp | 2 +- src/main/webapp/tech.jsp | 4 ++-- src/main/webapp/test.jsp | 2 +- src/main/webapp/trip.jsp | 2 +- src/main/webapp/websocket.jsp | 2 +- src/main/webapp/weibonlp.jsp | 2 +- src/main/webapp/wscharts.jsp | 4 ++-- src/main/webapp/zhoubao.jsp | 2 +- 28 files changed, 39 insertions(+), 39 deletions(-) diff --git a/README.md b/README.md index 7c650d3..6f4b85e 100644 --- a/README.md +++ b/README.md @@ -96,6 +96,10 @@ API给java调用,可以点击[这里](http://www.wenzhihuai.com/weibonlp.html) + +### 切换至spring boot 3.0 +https://stackoverflow.com/questions/4928271/how-to-install-jstl-the-absolute-uri-http-java-sun-com-jstl-core-cannot-be-r + ### 更新日志 **2016-3-21**:学完ssh,感觉不扎实,心想要整个自己的博客网站 diff --git a/pom.xml b/pom.xml index 9a6f727..0bdee92 100644 --- a/pom.xml +++ b/pom.xml @@ -44,7 +44,6 @@ org.apache.tomcat tomcat-servlet-api - 10.1.2 @@ -66,9 +65,8 @@ 4.0.0 - javax.servlet - jstl - 1.2 + org.glassfish.web + jakarta.servlet.jsp.jstl diff --git a/src/main/resources/application-common.yml b/src/main/resources/application-common.yml index 88a49a8..bc71ac2 100644 --- a/src/main/resources/application-common.yml +++ b/src/main/resources/application-common.yml @@ -36,6 +36,4 @@ management: include: "*" metrics: tags: - application: ${spring.application.name} - prometheus: - push \ No newline at end of file + application: ${spring.application.name} \ No newline at end of file diff --git a/src/main/webapp/aboutme.jsp b/src/main/webapp/aboutme.jsp index 0d5e73e..eec6783 100644 --- a/src/main/webapp/aboutme.jsp +++ b/src/main/webapp/aboutme.jsp @@ -6,7 +6,7 @@ To change this template use File | Settings | File Templates. --%> <%@ page contentType="text/html;charset=UTF-8" language="java" %> -<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> +<%@taglib prefix="c" uri="jakarta.tags.core" %> <%@ page isELIgnored="false" %> diff --git a/src/main/webapp/blogdetail.jsp b/src/main/webapp/blogdetail.jsp index b57c006..29cb516 100644 --- a/src/main/webapp/blogdetail.jsp +++ b/src/main/webapp/blogdetail.jsp @@ -1,5 +1,5 @@ <%@ page contentType="text/html;charset=UTF-8" language="java" %> -<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> +<%@taglib prefix="c" uri="jakarta.tags.core" %> <%@ page isELIgnored="false" %> diff --git a/src/main/webapp/board.jsp b/src/main/webapp/board.jsp index 444bb06..32ce2e9 100644 --- a/src/main/webapp/board.jsp +++ b/src/main/webapp/board.jsp @@ -6,7 +6,7 @@ To change this template use File | Settings | File Templates. --%> <%@ page contentType="text/html;charset=UTF-8" language="java" %> -<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> +<%@taglib prefix="c" uri="jakarta.tags.core" %> <%@ page isELIgnored="false" %> diff --git a/src/main/webapp/checkcookie.jsp b/src/main/webapp/checkcookie.jsp index a1bd2c6..06bcec5 100644 --- a/src/main/webapp/checkcookie.jsp +++ b/src/main/webapp/checkcookie.jsp @@ -6,7 +6,7 @@ To change this template use File | Settings | File Templates. --%> <%@ page contentType="text/html;charset=UTF-8" language="java" %> -<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> +<%@taglib prefix="c" uri="jakarta.tags.core" %> <%@ page isELIgnored="false" %> diff --git a/src/main/webapp/donate.jsp b/src/main/webapp/donate.jsp index 6b1735a..b523833 100644 --- a/src/main/webapp/donate.jsp +++ b/src/main/webapp/donate.jsp @@ -6,7 +6,7 @@ To change this template use File | Settings | File Templates. --%> <%@ page contentType="text/html;charset=UTF-8" language="java" %> -<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> +<%@taglib prefix="c" uri="jakarta.tags.core" %> <%@ page isELIgnored="false" %> diff --git a/src/main/webapp/elk.jsp b/src/main/webapp/elk.jsp index afcef84..d5031bf 100644 --- a/src/main/webapp/elk.jsp +++ b/src/main/webapp/elk.jsp @@ -6,8 +6,8 @@ To change this template use File | Settings | File Templates. --%> <%@ page contentType="text/html;charset=UTF-8" language="java" %> -<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> -<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %> +<%@taglib prefix="c" uri="jakarta.tags.core" %> +<%@ taglib prefix="fn" uri="jakarta.tags.functions" %> <%@ page isELIgnored="false" %> diff --git a/src/main/webapp/foot.jsp b/src/main/webapp/foot.jsp index 038677a..a9869e9 100644 --- a/src/main/webapp/foot.jsp +++ b/src/main/webapp/foot.jsp @@ -8,7 +8,7 @@ To change this template use File | Settings | File Templates. --%> <%@ page contentType="text/html;charset=UTF-8" language="java" %> -<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> +<%@taglib prefix="c" uri="jakarta.tags.core" %> <%@ page isELIgnored="false" %>