启动时出现: 1. NoClassDefFoundError: javax/xml/registry/infomodel/User 是需要导入jaxr-api包, <dependency> <groupId>javax.xml</groupId> <artifactId>jaxr-api</artifactId> <version>1.0_04</version> </dependency> 这个错误是jetty端口被占用了, 相关文章: