当我从我的Junit
课程中点击Spring集成应用程序时,我收到了以下错误。
12:48:10.854 INFO [main]
[org.springframework.integration.http.inbound.IntegrationRequestMappingHandlerMa
pping] Mapped "{[/getBillServiceImplReq],methods=[POST],params=[],headers=
[],consumes=[],produces=[],custom=[]}" onto public abstract void
org.springframework.web.HttpRequestHandler.handleRequest(javax.servlet.http.Http
ServletRequest,javax.servlet.http.HttpServletResponse) throws
javax.servlet.ServletException,java.io.IOException
见im running junit:
@RunWith(SpringJUnit4ClassRunner.class)
@WebAppConfiguration
@ContextConfiguration(locations = { "classpath:/WEB-INF/servlet-config.xml" })
和servlet-context是:
<int-http:inbound-gateway request-channel="getBillServiceImplChannel" supported-methods="POST" path="/getBillServiceImplReq" mapped-request-headers="HttpHeaders.REQUEST_URL"/>