编辑:由于我的问题似乎特定于我的设置,我在这里提供一个完整的最小工作示例。 这是我的Maven设置(pom.xml): <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/20...