赞
踩
- 八月 10, 2018 9:22:24 上午 org.apache.catalina.core.StandardWrapperValve invoke
- 严重: Servlet.service() for servlet [DispatcherServlet] in context with path [/spring.mvc] threw exception [Request processing failed; nested exception is java.lang.IllegalStateException: No DataSource set] with root cause
- java.lang.IllegalStateException: No DataSource set
- at org.springframework.util.Assert.state(Assert.java:73)
- at org.springframework.jdbc.support.JdbcAccessor.obtainDataSource(JdbcAccessor.java:77)
- at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:371)
- at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:446)
- at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:456)
- at org.springframework.jdbc.core.JdbcTemplate.queryForList(JdbcTemplate.java:484)
- at com.zzxt.spring.mvc.hello.entity.BankDaoImpl.getAllCardInfo(BankDaoImpl.java:86)
- at com.zzxt.spring.mvc.hello.action.HelloController.sayHi(HelloController.java:33)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:209)
- at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:136)
- at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102)
- at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:877)
- at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:783)
- at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
- at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:991)
- at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:925)
- at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:974)
- at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:866)
- at javax.servlet.http.HttpServlet.service(HttpServlet.java:622)
- at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:851)
- at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
- at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
- at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)
- at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:94)
- at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:492)
- at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.jav
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。