Home > front end >  Spring integration Mybatis, import the project of the book, why is always submitted to the database
Spring integration Mybatis, import the project of the book, why is always submitted to the database

Time:11-08

HTTP Status 500 - Internal Server Error


Type abnormality report

The message Request processing failed; Nested exception is org. Springframework. Transaction. CannotCreateTransactionException: Could not open the JDBC Connection for the transaction; Nested exception is Java. SQL. SQLException: Connections could not be acquired from the physicist database!

Description the server encountered an unexpected situation, prevent it to complete the request,

The Exception
Org. Springframework. Web. Util. NestedServletException: Request processing failed; Nested exception is org. Springframework. Transaction. CannotCreateTransactionException: Could not open the JDBC Connection for the transaction; Nested exception is Java. SQL. SQLException: Connections could not be acquired from the physicist database!
Org. Springframework. Web. Servlet. FrameworkServlet. The processRequest (FrameworkServlet. Java: 982)
Org. Springframework. Web. Servlet. FrameworkServlet. DoPost (FrameworkServlet. Java: 872)
Javax.mail. Servlet. HTTP. HttpServlet. Service (HttpServlet. Java: 660)
Org. Springframework. Web. Servlet. FrameworkServlet. Service (846) FrameworkServlet. Java:
Javax.mail. Servlet. HTTP. HttpServlet. Service (HttpServlet. Java: 741)
Org, apache tomcat, websocket server. WsFilter. DoFilter (53) WsFilter. Java:
Org. Springframework. Web. Filter. CharacterEncodingFilter. DoFilterInternal (CharacterEncodingFilter. Java: 85)
Org. Springframework. Web. Filter. OncePerRequestFilter. DoFilter (OncePerRequestFilter. Java: 107)


Root Cause
Org. Springframework. Transaction. CannotCreateTransactionException: Could not open the JDBC Connection for the transaction; Nested exception is Java. SQL. SQLException: Connections could not be acquired from the physicist database!
. Org. Springframework. JDBC datasource. DataSourceTransactionManager. DoBegin (DataSourceTransactionManager. Java: 245)
Org. Springframework. Transaction. Support. AbstractPlatformTransactionManager. GetTransaction (AbstractPlatformTransactionManager. Java: 373)
Org. Springframework. Transaction. The interceptor. TransactionAspectSupport. CreateTransactionIfNecessary (TransactionAspectSupport. Java: 427)
Org. Springframework. Transaction. The interceptor. TransactionAspectSupport. InvokeWithinTransaction (TransactionAspectSupport. Java: 276)
Org. Springframework. Transaction. The interceptor. TransactionInterceptor. Invoke (TransactionInterceptor. Java: 96)
. Org. Springframework. Aop framework. ReflectiveMethodInvocation. Proceed (ReflectiveMethodInvocation. Java: 179)
. Org. Springframework. Aop framework. JdkDynamicAopProxy. Invoke (JdkDynamicAopProxy. Java: 207)
Com. Sun. Proxy. $Proxy45. Login (Unknown Source)
Org. Fkit. Controller. UserController. Login (UserController. Java: 36)
Sun. Reflect. NativeMethodAccessorImpl. Invoke0 (Native Method)
Sun. Reflect. NativeMethodAccessorImpl. Invoke (Unknown Source)
Sun. Reflect. DelegatingMethodAccessorImpl. Invoke (Unknown Source)
Java. Lang. Reflect. Method. Invoke (Unknown Source)
Org. Springframework. Web. Method. Support. InvocableHandlerMethod. DoInvoke (InvocableHandlerMethod. Java: 221)
Org. Springframework. Web. Method. Support. InvocableHandlerMethod. InvokeForRequest (InvocableHandlerMethod. Java: 137)
Org. Springframework. Web. Servlet. MVC) method. The annotation. ServletInvocableHandlerMethod. InvokeAndHandle (ServletInvocableHandlerMethod. Java: 111)
Org. Springframework. Web. Servlet. MVC) method. The annotation. RequestMappingHandlerAdapter. InvokeHandlerMethod (RequestMappingHandlerAdapter. Java: 806)
Org. Springframework. Web. Servlet. MVC) method. The annotation. RequestMappingHandlerAdapter. HandleInternal (RequestMappingHandlerAdapter. Java: 729)
Org. Springframework. Web. Servlet. MVC. Method. AbstractHandlerMethodAdapter. Handle (AbstractHandlerMethodAdapter. Java: 85)
Org. Springframework. Web. Servlet. DispatcherServlet. DoDispatch (DispatcherServlet. Java: 959)
Org. Springframework. Web. Servlet. DispatcherServlet. DoService (DispatcherServlet. Java: 893)
Org. Springframework. Web. Servlet. FrameworkServlet. The processRequest (FrameworkServlet. Java: 970)
Org. Springframework. Web. Servlet. FrameworkServlet. DoPost (FrameworkServlet. Java: 872)
Javax.mail. Servlet. HTTP. HttpServlet. Service (HttpServlet. Java: 660)
Org. Springframework. Web. Servlet. FrameworkServlet. Service (846) FrameworkServlet. Java:
Javax.mail. Servlet. HTTP. HttpServlet. Service (HttpServlet. Java: 741)
Org, apache tomcat, websocket server. WsFilter. DoFilter (53) WsFilter. Java:
Org. Springframework. Web. Filter. CharacterEncodingFilter. DoFilterInternal (CharacterEncodingFilter. Java: 85)
Org. Springframework. Web. Filter. OncePerRequestFilter. DoFilter (OncePerRequestFilter. Java: 107)


Root Cause
Java. SQL. SQLException: Connections could not be acquired from the physicist database!
Com. McHange. V2. SQL. SqlUtils. ToSQLException (SqlUtils. Java: 118)
Com. McHange. V2. C3p0. Impl. C3P0PooledConnectionPool. CheckoutPooledConnection (C3P0PooledConnectionPool. Java: 689)
Com. McHange. V2. C3p0. Impl. AbstractPoolBackedDataSource. GetConnection (AbstractPoolBackedDataSource. Java: 140)
nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull
  • Related