gpt4 book ai didi

java - Jetty 9.3 中的 JSP 支持

转载 作者:搜寻专家 更新时间:2023-11-01 01:25:39 34 4
gpt4 key购买 nike

我正在尝试将嵌入式 Jetty 从旧版本 (9.3.0.M1) 升级到最新版本 (9.3.2.v20150730 截至目前) .我正在使用 JSP,当前的 Maven 依赖项如下:

<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-jsp</artifactId>
<version>9.3.0.M1</version>
</dependency>

但是我在 maven central 中找不到此依赖项的新版本.

在 Jetty 9.3 的 9.3.0.M1 之后,他们似乎没有发布新的 jetty-jsp Artifact 。所有其他 jetty 相关 Artifact 的新版本都可用。

我应该使用什么替代方案来支持最新 Jetty 版本的 JSP?

最佳答案

我从 jett-users 邮件列表中得到了答案。更新的依赖项是:

    <dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>apache-jsp</artifactId>
<version>${jetty.version}</version>
</dependency>

此外,来自 jetty-announce 列表:

The 9.2 release has switched to using the Apache version of Jasper for JSP and JSTL. Early releases of Jetty used these implementations, but switched to Glassfish when it became the reference implementation. However the Apache version is now more rigorously maintained and hence we have switched back. Currently we are using a slightly modified version of 8.0.3, however our modifications have been contributed back to apache and have been accepted for their 8.0.9 release, so we will soon switch to using a standard jar from Apache.

显然他们已经从 Apache 切换回标准 jar。

关于java - Jetty 9.3 中的 JSP 支持,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32243063/

34 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com