maven pom.xml中dependency配置了<scope>provided<scope/>,运行时该依赖无效,导致异常。 转载于:https://www.cnblogs.com/bj20170624/p/7794150.html