liuqi wu
liuqi wu

Reputation: 11

Encountering Class Not Found Exception Error After Upgrading Jetty

I have a question that needs help. In my program, I used to use jetty-util-6.1.26.jar, but due to security vulnerabilities, I recently upgraded it to jetty-util-9.4.53.v20231009.jar. After upgrading, I am getting a "class not found" exception when trying to start the project in IntelliJ IDEA.

File Explorer - jetty-util-6.1.26.jar

NoClassDefFoundError from Spring / Alibaba

File Explorer - jetty-util-9.4.53.v20231009.jar

I replaced the jetty-util.jar package.

Upvotes: 1

Views: 194

Answers (1)

Joakim Erdfelt
Joakim Erdfelt

Reputation: 49515

Wow! Jetty 6 was declared End of Life back in 2010, and should not be in use after that.

In the years since you started your project, both Dubbo and Jetty have been donated to various open source foundations.

In both cases, the package namespace changed to conform to the open source foundation rules.

In short, you'll need to upgrade both.

Upvotes: 0

Related Questions