saxon.FeatureKeys 在 java spring-boot 项目中导入错误

saxon.FeatureKeys importing error in java spring-boot project

我收到撒克逊导入错误,例如,

The "import net.sf.saxon.FeatureKeys" cannot be resolved. 

如何添加依赖项来解决“net.sf.saxon.FeatureKeys”错误。

我已经添加了给定的依赖项:

<!-- https://mvnrepository.com/artifact/net.sf.saxon/Saxon-HE -->
<dependency>
<groupId>net.sf.saxon</groupId>
<artifactId>Saxon-HE</artifactId>
<version>10.6</version>
</dependency>

请帮我解决这个问题。

我想你想要import net.sf.saxon.lib.FeatureKeys,见https://www.saxonica.com/html/documentation10/javadoc/net/sf/saxon/lib/FeatureKeys.html