I try run project,
log error>>>>>>>Context initialization failed
org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class path resource [cn/com/dataocean/eas/rest-dispatcher-spring.xml]; nested exception is java.io.FileNotFoundException: class path resource [cn/com/dataocean/eas/rest-dispatcher-spring.xml] cannot be opened because it does not exist
,but I run my restfull api done well,
rest-dispatcher-spring.xml:
<!-- Swagger resources -->
<mvc:resources mapping="swagger-ui.html" location="classpath:/META-INF/resources/"/>
<mvc:resources mapping="/webjars/**" location="classpath:/META-INF/resources/webjars/"/>
<bean id="sf_SwaggerConfig" class="cn.com.dataocean.eas.web.controller.SwaggerConfiguration"/>
<!-- Define a base package for your controllers-->
<context:component-scan base-package="cn.com.dataocean.eas.web.controller"/>
<!-- Define a base package for your controllers-->
<security:http pattern="/rest/autoApi/**"
create-session="stateless"
entry-point-ref="oauthAuthenticationEntryPoint"
xmlns="http://www.springframework.org/schema/security">
<intercept-url pattern="/rest/autoApi/**" access="isAuthenticated()"/>
<anonymous enabled="false"/>
<csrf disabled="true"/>
<cors configuration-source-ref="cuba_RestCorsSource"/>
<custom-filter ref="resourceFilter" before="PRE_AUTH_FILTER"/>
<custom-filter ref="cuba_AnonymousAuthenticationFilter" after="PRE_AUTH_FILTER"/>
</security:http>
swagger ui can run and swagger-ui.html I can see,this file is beloaded;I run this project in local env,this
error is not exist, help me!