在IBM Bluemix上部署Cloud Foundry UAA后,访问已部署的服务时出现以下错误。
Error Message: java.lang.IllegalStateException: No WebApplicationContext found: no ContextLoaderListener or DispatcherServlet registered?
Error Code: 500
Target Servlet: spring
Error Stack:
java.lang.IllegalStateException: No WebApplicationContext found: no ContextLoaderListener or DispatcherServlet registered?
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingF ilterProxy.java:252)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:207)
UAA是在OSX和Java 8(1.8.0_025-b17)上本地构建的,而它直接部署在IBM Bluemix Liberty Java上。