我认为这个问题与JDK9中的模块排除(就像java.se.ee一样)无关,而是因为JDK9在模块中包含了更新版本的,该模块没有DocumentLS类。document from class path resource [spring-test/test-container.xml]; nested exception is java.lang.NoClassDefFoundError(XmlBeanDefinitionReader.java:414)
at org.springframework
web.xml:<!-- This web.xml file is not required when using Servlet 3.0 container,
see implementation details http://jersey.java.net/nonav/documentation/latest/jax-rs.