Exception in thread "main" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'baseDatasourceManage': Failed to introspect bean class [com.wsd.show.datasource.BaseDatasourceManage] for lookup method metadata: could not find class that it depends on; nested exception is java.lang.NoClassDefFoundError: javax/servlet/ServletContext。
解决方法:启动需要加载servelet-api的包,scope是为了重复加载,但是执行main函数的时候需要,去掉provided