0
Follow
2
View

How to deal with ResolutionException?

czlaaaaaa 注册会员
2023-01-26 02:40

Try using JDK8 to run this code. It seems to be a compatability issue

The root cause is that this package has been removed. (https://jcp.org/en/jsr/detail?id=305) from the standard JVM installation after java 8.

Some of the dependencies in your code depends on it, therefore, there is a launch probelem. It comes from this dependency org.jvnet.staxex. Its used for XML parsing. Swapping it out for another package, which does not have this dependency is likely to be time consuming if you have a large XML-related code base.

What might work is trying to manually add the dependency which provides these classes. Try adding this to your dependencies

Also, this blog post might help

About the Author

Question Info

Publish Time
2023-01-26 02:40
Update Time
2023-01-26 02:40

Related Question