12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106 |
- 09:13:36.468 [http-nio-8080-exec-10] ERROR c.x.c.e.GlobalExceptionHandler - [globalExceptionHandler,34] - nested exception is org.apache.ibatis.exceptions.PersistenceException:
- ### Error querying database. Cause: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Failed to process, Error SQL: with textbook_class as (
- select
- t.base_semester_id,
- t.class_id,
- t1.textbook_id,
- sum(t2.stock) as num,
- sum(t1.issue_number) as claimNum
- from wf_textbook_claim t
- left join wf_textbook_claim_item t1 on t1.wf_textbook_claim_id = t.id
- left join textbook t2 on t2.id = t1.textbook_id
- where claim_type = 'claim_student'
-
- amd t.base_semester_id = ?
-
-
-
- group by t.base_semester_id, t.class_id, t1.textbook_id
- )
- select
- t.base_semester_id,
- t3.name as baseSemesterIdCn,
- t.class_id,
- t4.name as classIdCn,
- t5.name as headTeacherName,
- t6.name as classRoomName,
- t.textbook_id,
- t2.name as textbookTypeCn,
- t1.book_name,
- t1.editor_in_chief,
- t1.publishing_house,
- t1.issn,
- t1.appraisal_price,
- t1.subtotal,
- t.num,
- t.claimNum
- from textbook_class t
- left join textbook t1 on t1.id = t.textbook_id
- left join xjr_dictionary_detail t2 on t2.code = t1.textbook_type
- left join base_semester t3 on t3.id = t.base_semester_id
- left join base_class t4 on t4.id = t.class_id
- left join xjr_user t5 on t5.id = t4.teacher_id
- left join base_classroom t6 on t6.id = t4.classroom_id
- ### Cause: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Failed to process, Error SQL: with textbook_class as (
- select
- t.base_semester_id,
- t.class_id,
- t1.textbook_id,
- sum(t2.stock) as num,
- sum(t1.issue_number) as claimNum
- from wf_textbook_claim t
- left join wf_textbook_claim_item t1 on t1.wf_textbook_claim_id = t.id
- left join textbook t2 on t2.id = t1.textbook_id
- where claim_type = 'claim_student'
-
- amd t.base_semester_id = ?
-
-
-
- group by t.base_semester_id, t.class_id, t1.textbook_id
- )
- select
- t.base_semester_id,
- t3.name as baseSemesterIdCn,
- t.class_id,
- t4.name as classIdCn,
- t5.name as headTeacherName,
- t6.name as classRoomName,
- t.textbook_id,
- t2.name as textbookTypeCn,
- t1.book_name,
- t1.editor_in_chief,
- t1.publishing_house,
- t1.issn,
- t1.appraisal_price,
- t1.subtotal,
- t.num,
- t.claimNum
- from textbook_class t
- left join textbook t1 on t1.id = t.textbook_id
- left join xjr_dictionary_detail t2 on t2.code = t1.textbook_type
- left join base_semester t3 on t3.id = t.base_semester_id
- left join base_class t4 on t4.id = t.class_id
- left join xjr_user t5 on t5.id = t4.teacher_id
- left join base_classroom t6 on t6.id = t4.classroom_id
- org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exceptions.PersistenceException:
- ### Error querying database. Cause: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Failed to process, Error SQL: with textbook_class as (
- select
- t.base_semester_id,
- t.class_id,
- t1.textbook_id,
- sum(t2.stock) as num,
- sum(t1.issue_number) as claimNum
- from wf_textbook_claim t
- left join wf_textbook_claim_item t1 on t1.wf_textbook_claim_id = t.id
- left join textbook t2 on t2.id = t1.textbook_id
- where claim_type = 'claim_student'
-
- amd t.base_semester_id = ?
-
-
-
- group by t.base_semester_id, t.class_id, t1.textbook_id
- )
- select
- t.base_semester_id,
- t3.name as baseSemesterIdCn,
- t.class_id,
- t4.name as classIdCn,
- t5.name as headTeacherName,
- t6.name as classRoomName,
- t.textbook_id,
- t2.name as textbookTypeCn,
- t1.book_name,
- t1.editor_in_chief,
- t1.publishing_house,
- t1.issn,
- t1.appraisal_price,
- t1.subtotal,
- t.num,
- t.claimNum
- from textbook_class t
- left join textbook t1 on t1.id = t.textbook_id
- left join xjr_dictionary_detail t2 on t2.code = t1.textbook_type
- left join base_semester t3 on t3.id = t.base_semester_id
- left join base_class t4 on t4.id = t.class_id
- left join xjr_user t5 on t5.id = t4.teacher_id
- left join base_classroom t6 on t6.id = t4.classroom_id
- ### Cause: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Failed to process, Error SQL: with textbook_class as (
- select
- t.base_semester_id,
- t.class_id,
- t1.textbook_id,
- sum(t2.stock) as num,
- sum(t1.issue_number) as claimNum
- from wf_textbook_claim t
- left join wf_textbook_claim_item t1 on t1.wf_textbook_claim_id = t.id
- left join textbook t2 on t2.id = t1.textbook_id
- where claim_type = 'claim_student'
-
- amd t.base_semester_id = ?
-
-
-
- group by t.base_semester_id, t.class_id, t1.textbook_id
- )
- select
- t.base_semester_id,
- t3.name as baseSemesterIdCn,
- t.class_id,
- t4.name as classIdCn,
- t5.name as headTeacherName,
- t6.name as classRoomName,
- t.textbook_id,
- t2.name as textbookTypeCn,
- t1.book_name,
- t1.editor_in_chief,
- t1.publishing_house,
- t1.issn,
- t1.appraisal_price,
- t1.subtotal,
- t.num,
- t.claimNum
- from textbook_class t
- left join textbook t1 on t1.id = t.textbook_id
- left join xjr_dictionary_detail t2 on t2.code = t1.textbook_type
- left join base_semester t3 on t3.id = t.base_semester_id
- left join base_class t4 on t4.id = t.class_id
- left join xjr_user t5 on t5.id = t4.teacher_id
- left join base_classroom t6 on t6.id = t4.classroom_id
- at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:96)
- at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:441)
- at com.sun.proxy.$Proxy140.selectList(Unknown Source)
- at org.mybatis.spring.SqlSessionTemplate.selectList(SqlSessionTemplate.java:224)
- at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.executeForMany(MybatisMapperMethod.java:166)
- at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.execute(MybatisMapperMethod.java:77)
- at com.baomidou.mybatisplus.core.override.MybatisMapperProxy$PlainMethodInvoker.invoke(MybatisMapperProxy.java:148)
- at com.baomidou.mybatisplus.core.override.MybatisMapperProxy.invoke(MybatisMapperProxy.java:89)
- at com.sun.proxy.$Proxy332.listTextbookClaimExportQuery(Unknown Source)
- at com.xjrsoft.module.textbook.service.impl.TextbookServiceImpl.listTextbookClaimExportQuery(TextbookServiceImpl.java:590)
- at com.xjrsoft.module.textbook.service.impl.TextbookServiceImpl$$FastClassBySpringCGLIB$$f35afcd1.invoke(<generated>)
- at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
- at org.springframework.aop.framework.CglibAopProxy.invokeMethod(CglibAopProxy.java:386)
- at org.springframework.aop.framework.CglibAopProxy.access$000(CglibAopProxy.java:85)
- at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:704)
- at com.xjrsoft.module.textbook.service.impl.TextbookServiceImpl$$EnhancerBySpringCGLIB$$df5eabfc.listTextbookClaimExportQuery(<generated>)
- at com.xjrsoft.module.textbook.controller.TextbookController.textbookClaimExportQuery(TextbookController.java:281)
- at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.base/java.lang.reflect.Method.invoke(Method.java:566)
- at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205)
- at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150)
- at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117)
- at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895)
- at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808)
- at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
- at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1071)
- at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:964)
- at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006)
- at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909)
- at javax.servlet.http.HttpServlet.service(HttpServlet.java:696)
- at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883)
- at javax.servlet.http.HttpServlet.service(HttpServlet.java:779)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at com.xjrsoft.common.xss.XssFilter.doFilter(XssFilter.java:28)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at com.alibaba.druid.support.http.WebStatFilter.doFilter(WebStatFilter.java:124)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at cn.dev33.satoken.filter.SaServletFilter.doFilter(SaServletFilter.java:157)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at org.ssssssss.magicapi.servlet.javaee.MagicJavaEECorsFilter.doFilter(MagicJavaEECorsFilter.java:15)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)
- at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)
- at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)
- at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)
- at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
- at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)
- at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)
- at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)
- at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
- at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:893)
- at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1789)
- at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
- at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)
- at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
- at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
- at java.base/java.lang.Thread.run(Thread.java:834)
- Caused by: org.apache.ibatis.exceptions.PersistenceException:
- ### Error querying database. Cause: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Failed to process, Error SQL: with textbook_class as (
- select
- t.base_semester_id,
- t.class_id,
- t1.textbook_id,
- sum(t2.stock) as num,
- sum(t1.issue_number) as claimNum
- from wf_textbook_claim t
- left join wf_textbook_claim_item t1 on t1.wf_textbook_claim_id = t.id
- left join textbook t2 on t2.id = t1.textbook_id
- where claim_type = 'claim_student'
-
- amd t.base_semester_id = ?
-
-
-
- group by t.base_semester_id, t.class_id, t1.textbook_id
- )
- select
- t.base_semester_id,
- t3.name as baseSemesterIdCn,
- t.class_id,
- t4.name as classIdCn,
- t5.name as headTeacherName,
- t6.name as classRoomName,
- t.textbook_id,
- t2.name as textbookTypeCn,
- t1.book_name,
- t1.editor_in_chief,
- t1.publishing_house,
- t1.issn,
- t1.appraisal_price,
- t1.subtotal,
- t.num,
- t.claimNum
- from textbook_class t
- left join textbook t1 on t1.id = t.textbook_id
- left join xjr_dictionary_detail t2 on t2.code = t1.textbook_type
- left join base_semester t3 on t3.id = t.base_semester_id
- left join base_class t4 on t4.id = t.class_id
- left join xjr_user t5 on t5.id = t4.teacher_id
- left join base_classroom t6 on t6.id = t4.classroom_id
- ### Cause: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Failed to process, Error SQL: with textbook_class as (
- select
- t.base_semester_id,
- t.class_id,
- t1.textbook_id,
- sum(t2.stock) as num,
- sum(t1.issue_number) as claimNum
- from wf_textbook_claim t
- left join wf_textbook_claim_item t1 on t1.wf_textbook_claim_id = t.id
- left join textbook t2 on t2.id = t1.textbook_id
- where claim_type = 'claim_student'
-
- amd t.base_semester_id = ?
-
-
-
- group by t.base_semester_id, t.class_id, t1.textbook_id
- )
- select
- t.base_semester_id,
- t3.name as baseSemesterIdCn,
- t.class_id,
- t4.name as classIdCn,
- t5.name as headTeacherName,
- t6.name as classRoomName,
- t.textbook_id,
- t2.name as textbookTypeCn,
- t1.book_name,
- t1.editor_in_chief,
- t1.publishing_house,
- t1.issn,
- t1.appraisal_price,
- t1.subtotal,
- t.num,
- t.claimNum
- from textbook_class t
- left join textbook t1 on t1.id = t.textbook_id
- left join xjr_dictionary_detail t2 on t2.code = t1.textbook_type
- left join base_semester t3 on t3.id = t.base_semester_id
- left join base_class t4 on t4.id = t.class_id
- left join xjr_user t5 on t5.id = t4.teacher_id
- left join base_classroom t6 on t6.id = t4.classroom_id
- at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:30)
- at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:149)
- at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:140)
- at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.base/java.lang.reflect.Method.invoke(Method.java:566)
- at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:427)
- ... 77 common frames omitted
- Caused by: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Failed to process, Error SQL: with textbook_class as (
- select
- t.base_semester_id,
- t.class_id,
- t1.textbook_id,
- sum(t2.stock) as num,
- sum(t1.issue_number) as claimNum
- from wf_textbook_claim t
- left join wf_textbook_claim_item t1 on t1.wf_textbook_claim_id = t.id
- left join textbook t2 on t2.id = t1.textbook_id
- where claim_type = 'claim_student'
-
- amd t.base_semester_id = ?
-
-
-
- group by t.base_semester_id, t.class_id, t1.textbook_id
- )
- select
- t.base_semester_id,
- t3.name as baseSemesterIdCn,
- t.class_id,
- t4.name as classIdCn,
- t5.name as headTeacherName,
- t6.name as classRoomName,
- t.textbook_id,
- t2.name as textbookTypeCn,
- t1.book_name,
- t1.editor_in_chief,
- t1.publishing_house,
- t1.issn,
- t1.appraisal_price,
- t1.subtotal,
- t.num,
- t.claimNum
- from textbook_class t
- left join textbook t1 on t1.id = t.textbook_id
- left join xjr_dictionary_detail t2 on t2.code = t1.textbook_type
- left join base_semester t3 on t3.id = t.base_semester_id
- left join base_class t4 on t4.id = t.class_id
- left join xjr_user t5 on t5.id = t4.teacher_id
- left join base_classroom t6 on t6.id = t4.classroom_id
- at com.baomidou.mybatisplus.core.toolkit.ExceptionUtils.mpe(ExceptionUtils.java:39)
- at com.baomidou.mybatisplus.extension.parser.JsqlParserSupport.parserSingle(JsqlParserSupport.java:52)
- at com.xjrsoft.common.interceptor.DataScopeInnerInterceptor.beforeQuery(DataScopeInnerInterceptor.java:52)
- at com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor.intercept(MybatisPlusInterceptor.java:78)
- at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:61)
- at com.sun.proxy.$Proxy732.query(Unknown Source)
- at com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor.intercept(MybatisPlusInterceptor.java:81)
- at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:61)
- at com.sun.proxy.$Proxy732.query(Unknown Source)
- at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.base/java.lang.reflect.Method.invoke(Method.java:566)
- at org.apache.ibatis.plugin.Invocation.proceed(Invocation.java:49)
- at com.github.yulichang.interceptor.MPJInterceptor.intercept(MPJInterceptor.java:78)
- at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:61)
- at com.sun.proxy.$Proxy732.query(Unknown Source)
- at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:147)
- ... 83 common frames omitted
- Caused by: net.sf.jsqlparser.parser.ParseException: Encountered unexpected token: "amd" <S_IDENTIFIER>
- at line 13, column 17.
- Was expecting one of:
- "&"
- ")"
- "::"
- "<<"
- ">>"
- "COLLATE"
- "CONNECT"
- "EMIT"
- "GROUP"
- "HAVING"
- "START"
- "["
- "^"
- "|"
- at net.sf.jsqlparser.parser.CCJSqlParser.generateParseException(CCJSqlParser.java:31234)
- at net.sf.jsqlparser.parser.CCJSqlParser.jj_consume_token(CCJSqlParser.java:31067)
- at net.sf.jsqlparser.parser.CCJSqlParser.WithItem(CCJSqlParser.java:6199)
- at net.sf.jsqlparser.parser.CCJSqlParser.WithList(CCJSqlParser.java:6131)
- at net.sf.jsqlparser.parser.CCJSqlParser.SingleStatement(CCJSqlParser.java:220)
- at net.sf.jsqlparser.parser.CCJSqlParser.Statement(CCJSqlParser.java:153)
- at net.sf.jsqlparser.parser.CCJSqlParserUtil.parseStatement(CCJSqlParserUtil.java:188)
- at net.sf.jsqlparser.parser.CCJSqlParserUtil.parse(CCJSqlParserUtil.java:63)
- at net.sf.jsqlparser.parser.CCJSqlParserUtil.parse(CCJSqlParserUtil.java:38)
- at com.baomidou.mybatisplus.extension.parser.JsqlParserSupport.parserSingle(JsqlParserSupport.java:49)
- ... 99 common frames omitted
- 09:13:49.053 [http-nio-8080-exec-2] ERROR c.x.c.e.GlobalExceptionHandler - [globalExceptionHandler,34] - nested exception is org.apache.ibatis.exceptions.PersistenceException:
- ### Error querying database. Cause: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Failed to process, Error SQL: with textbook_class as (
- select
- t.base_semester_id,
- t.class_id,
- t1.textbook_id,
- sum(t2.stock) as num,
- sum(t1.issue_number) as claimNum
- from wf_textbook_claim t
- left join wf_textbook_claim_item t1 on t1.wf_textbook_claim_id = t.id
- left join textbook t2 on t2.id = t1.textbook_id
- where claim_type = 'claim_student'
-
- amd t.base_semester_id = ?
-
-
-
- group by t.base_semester_id, t.class_id, t1.textbook_id
- )
- select
- t.base_semester_id,
- t3.name as baseSemesterIdCn,
- t.class_id,
- t4.name as classIdCn,
- t5.name as headTeacherName,
- t6.name as classRoomName,
- t.textbook_id,
- t2.name as textbookTypeCn,
- t1.book_name,
- t1.editor_in_chief,
- t1.publishing_house,
- t1.issn,
- t1.appraisal_price,
- t1.subtotal,
- t.num,
- t.claimNum
- from textbook_class t
- left join textbook t1 on t1.id = t.textbook_id
- left join xjr_dictionary_detail t2 on t2.code = t1.textbook_type
- left join base_semester t3 on t3.id = t.base_semester_id
- left join base_class t4 on t4.id = t.class_id
- left join xjr_user t5 on t5.id = t4.teacher_id
- left join base_classroom t6 on t6.id = t4.classroom_id
- ### Cause: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Failed to process, Error SQL: with textbook_class as (
- select
- t.base_semester_id,
- t.class_id,
- t1.textbook_id,
- sum(t2.stock) as num,
- sum(t1.issue_number) as claimNum
- from wf_textbook_claim t
- left join wf_textbook_claim_item t1 on t1.wf_textbook_claim_id = t.id
- left join textbook t2 on t2.id = t1.textbook_id
- where claim_type = 'claim_student'
-
- amd t.base_semester_id = ?
-
-
-
- group by t.base_semester_id, t.class_id, t1.textbook_id
- )
- select
- t.base_semester_id,
- t3.name as baseSemesterIdCn,
- t.class_id,
- t4.name as classIdCn,
- t5.name as headTeacherName,
- t6.name as classRoomName,
- t.textbook_id,
- t2.name as textbookTypeCn,
- t1.book_name,
- t1.editor_in_chief,
- t1.publishing_house,
- t1.issn,
- t1.appraisal_price,
- t1.subtotal,
- t.num,
- t.claimNum
- from textbook_class t
- left join textbook t1 on t1.id = t.textbook_id
- left join xjr_dictionary_detail t2 on t2.code = t1.textbook_type
- left join base_semester t3 on t3.id = t.base_semester_id
- left join base_class t4 on t4.id = t.class_id
- left join xjr_user t5 on t5.id = t4.teacher_id
- left join base_classroom t6 on t6.id = t4.classroom_id
- org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exceptions.PersistenceException:
- ### Error querying database. Cause: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Failed to process, Error SQL: with textbook_class as (
- select
- t.base_semester_id,
- t.class_id,
- t1.textbook_id,
- sum(t2.stock) as num,
- sum(t1.issue_number) as claimNum
- from wf_textbook_claim t
- left join wf_textbook_claim_item t1 on t1.wf_textbook_claim_id = t.id
- left join textbook t2 on t2.id = t1.textbook_id
- where claim_type = 'claim_student'
-
- amd t.base_semester_id = ?
-
-
-
- group by t.base_semester_id, t.class_id, t1.textbook_id
- )
- select
- t.base_semester_id,
- t3.name as baseSemesterIdCn,
- t.class_id,
- t4.name as classIdCn,
- t5.name as headTeacherName,
- t6.name as classRoomName,
- t.textbook_id,
- t2.name as textbookTypeCn,
- t1.book_name,
- t1.editor_in_chief,
- t1.publishing_house,
- t1.issn,
- t1.appraisal_price,
- t1.subtotal,
- t.num,
- t.claimNum
- from textbook_class t
- left join textbook t1 on t1.id = t.textbook_id
- left join xjr_dictionary_detail t2 on t2.code = t1.textbook_type
- left join base_semester t3 on t3.id = t.base_semester_id
- left join base_class t4 on t4.id = t.class_id
- left join xjr_user t5 on t5.id = t4.teacher_id
- left join base_classroom t6 on t6.id = t4.classroom_id
- ### Cause: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Failed to process, Error SQL: with textbook_class as (
- select
- t.base_semester_id,
- t.class_id,
- t1.textbook_id,
- sum(t2.stock) as num,
- sum(t1.issue_number) as claimNum
- from wf_textbook_claim t
- left join wf_textbook_claim_item t1 on t1.wf_textbook_claim_id = t.id
- left join textbook t2 on t2.id = t1.textbook_id
- where claim_type = 'claim_student'
-
- amd t.base_semester_id = ?
-
-
-
- group by t.base_semester_id, t.class_id, t1.textbook_id
- )
- select
- t.base_semester_id,
- t3.name as baseSemesterIdCn,
- t.class_id,
- t4.name as classIdCn,
- t5.name as headTeacherName,
- t6.name as classRoomName,
- t.textbook_id,
- t2.name as textbookTypeCn,
- t1.book_name,
- t1.editor_in_chief,
- t1.publishing_house,
- t1.issn,
- t1.appraisal_price,
- t1.subtotal,
- t.num,
- t.claimNum
- from textbook_class t
- left join textbook t1 on t1.id = t.textbook_id
- left join xjr_dictionary_detail t2 on t2.code = t1.textbook_type
- left join base_semester t3 on t3.id = t.base_semester_id
- left join base_class t4 on t4.id = t.class_id
- left join xjr_user t5 on t5.id = t4.teacher_id
- left join base_classroom t6 on t6.id = t4.classroom_id
- at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:96)
- at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:441)
- at com.sun.proxy.$Proxy140.selectList(Unknown Source)
- at org.mybatis.spring.SqlSessionTemplate.selectList(SqlSessionTemplate.java:224)
- at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.executeForMany(MybatisMapperMethod.java:166)
- at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.execute(MybatisMapperMethod.java:77)
- at com.baomidou.mybatisplus.core.override.MybatisMapperProxy$PlainMethodInvoker.invoke(MybatisMapperProxy.java:148)
- at com.baomidou.mybatisplus.core.override.MybatisMapperProxy.invoke(MybatisMapperProxy.java:89)
- at com.sun.proxy.$Proxy332.listTextbookClaimExportQuery(Unknown Source)
- at com.xjrsoft.module.textbook.service.impl.TextbookServiceImpl.listTextbookClaimExportQuery(TextbookServiceImpl.java:590)
- at com.xjrsoft.module.textbook.service.impl.TextbookServiceImpl$$FastClassBySpringCGLIB$$f35afcd1.invoke(<generated>)
- at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
- at org.springframework.aop.framework.CglibAopProxy.invokeMethod(CglibAopProxy.java:386)
- at org.springframework.aop.framework.CglibAopProxy.access$000(CglibAopProxy.java:85)
- at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:704)
- at com.xjrsoft.module.textbook.service.impl.TextbookServiceImpl$$EnhancerBySpringCGLIB$$df5eabfc.listTextbookClaimExportQuery(<generated>)
- at com.xjrsoft.module.textbook.controller.TextbookController.textbookClaimExportQuery(TextbookController.java:281)
- at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.base/java.lang.reflect.Method.invoke(Method.java:566)
- at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205)
- at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150)
- at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117)
- at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895)
- at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808)
- at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
- at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1071)
- at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:964)
- at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006)
- at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909)
- at javax.servlet.http.HttpServlet.service(HttpServlet.java:696)
- at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883)
- at javax.servlet.http.HttpServlet.service(HttpServlet.java:779)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at com.xjrsoft.common.xss.XssFilter.doFilter(XssFilter.java:28)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at com.alibaba.druid.support.http.WebStatFilter.doFilter(WebStatFilter.java:124)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at cn.dev33.satoken.filter.SaServletFilter.doFilter(SaServletFilter.java:157)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at org.ssssssss.magicapi.servlet.javaee.MagicJavaEECorsFilter.doFilter(MagicJavaEECorsFilter.java:15)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)
- at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)
- at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)
- at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)
- at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
- at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)
- at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)
- at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)
- at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
- at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:893)
- at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1789)
- at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
- at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)
- at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
- at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
- at java.base/java.lang.Thread.run(Thread.java:834)
- Caused by: org.apache.ibatis.exceptions.PersistenceException:
- ### Error querying database. Cause: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Failed to process, Error SQL: with textbook_class as (
- select
- t.base_semester_id,
- t.class_id,
- t1.textbook_id,
- sum(t2.stock) as num,
- sum(t1.issue_number) as claimNum
- from wf_textbook_claim t
- left join wf_textbook_claim_item t1 on t1.wf_textbook_claim_id = t.id
- left join textbook t2 on t2.id = t1.textbook_id
- where claim_type = 'claim_student'
-
- amd t.base_semester_id = ?
-
-
-
- group by t.base_semester_id, t.class_id, t1.textbook_id
- )
- select
- t.base_semester_id,
- t3.name as baseSemesterIdCn,
- t.class_id,
- t4.name as classIdCn,
- t5.name as headTeacherName,
- t6.name as classRoomName,
- t.textbook_id,
- t2.name as textbookTypeCn,
- t1.book_name,
- t1.editor_in_chief,
- t1.publishing_house,
- t1.issn,
- t1.appraisal_price,
- t1.subtotal,
- t.num,
- t.claimNum
- from textbook_class t
- left join textbook t1 on t1.id = t.textbook_id
- left join xjr_dictionary_detail t2 on t2.code = t1.textbook_type
- left join base_semester t3 on t3.id = t.base_semester_id
- left join base_class t4 on t4.id = t.class_id
- left join xjr_user t5 on t5.id = t4.teacher_id
- left join base_classroom t6 on t6.id = t4.classroom_id
- ### Cause: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Failed to process, Error SQL: with textbook_class as (
- select
- t.base_semester_id,
- t.class_id,
- t1.textbook_id,
- sum(t2.stock) as num,
- sum(t1.issue_number) as claimNum
- from wf_textbook_claim t
- left join wf_textbook_claim_item t1 on t1.wf_textbook_claim_id = t.id
- left join textbook t2 on t2.id = t1.textbook_id
- where claim_type = 'claim_student'
-
- amd t.base_semester_id = ?
-
-
-
- group by t.base_semester_id, t.class_id, t1.textbook_id
- )
- select
- t.base_semester_id,
- t3.name as baseSemesterIdCn,
- t.class_id,
- t4.name as classIdCn,
- t5.name as headTeacherName,
- t6.name as classRoomName,
- t.textbook_id,
- t2.name as textbookTypeCn,
- t1.book_name,
- t1.editor_in_chief,
- t1.publishing_house,
- t1.issn,
- t1.appraisal_price,
- t1.subtotal,
- t.num,
- t.claimNum
- from textbook_class t
- left join textbook t1 on t1.id = t.textbook_id
- left join xjr_dictionary_detail t2 on t2.code = t1.textbook_type
- left join base_semester t3 on t3.id = t.base_semester_id
- left join base_class t4 on t4.id = t.class_id
- left join xjr_user t5 on t5.id = t4.teacher_id
- left join base_classroom t6 on t6.id = t4.classroom_id
- at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:30)
- at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:149)
- at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:140)
- at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.base/java.lang.reflect.Method.invoke(Method.java:566)
- at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:427)
- ... 77 common frames omitted
- Caused by: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Failed to process, Error SQL: with textbook_class as (
- select
- t.base_semester_id,
- t.class_id,
- t1.textbook_id,
- sum(t2.stock) as num,
- sum(t1.issue_number) as claimNum
- from wf_textbook_claim t
- left join wf_textbook_claim_item t1 on t1.wf_textbook_claim_id = t.id
- left join textbook t2 on t2.id = t1.textbook_id
- where claim_type = 'claim_student'
-
- amd t.base_semester_id = ?
-
-
-
- group by t.base_semester_id, t.class_id, t1.textbook_id
- )
- select
- t.base_semester_id,
- t3.name as baseSemesterIdCn,
- t.class_id,
- t4.name as classIdCn,
- t5.name as headTeacherName,
- t6.name as classRoomName,
- t.textbook_id,
- t2.name as textbookTypeCn,
- t1.book_name,
- t1.editor_in_chief,
- t1.publishing_house,
- t1.issn,
- t1.appraisal_price,
- t1.subtotal,
- t.num,
- t.claimNum
- from textbook_class t
- left join textbook t1 on t1.id = t.textbook_id
- left join xjr_dictionary_detail t2 on t2.code = t1.textbook_type
- left join base_semester t3 on t3.id = t.base_semester_id
- left join base_class t4 on t4.id = t.class_id
- left join xjr_user t5 on t5.id = t4.teacher_id
- left join base_classroom t6 on t6.id = t4.classroom_id
- at com.baomidou.mybatisplus.core.toolkit.ExceptionUtils.mpe(ExceptionUtils.java:39)
- at com.baomidou.mybatisplus.extension.parser.JsqlParserSupport.parserSingle(JsqlParserSupport.java:52)
- at com.xjrsoft.common.interceptor.DataScopeInnerInterceptor.beforeQuery(DataScopeInnerInterceptor.java:52)
- at com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor.intercept(MybatisPlusInterceptor.java:78)
- at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:61)
- at com.sun.proxy.$Proxy732.query(Unknown Source)
- at com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor.intercept(MybatisPlusInterceptor.java:81)
- at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:61)
- at com.sun.proxy.$Proxy732.query(Unknown Source)
- at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.base/java.lang.reflect.Method.invoke(Method.java:566)
- at org.apache.ibatis.plugin.Invocation.proceed(Invocation.java:49)
- at com.github.yulichang.interceptor.MPJInterceptor.intercept(MPJInterceptor.java:78)
- at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:61)
- at com.sun.proxy.$Proxy732.query(Unknown Source)
- at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:147)
- ... 83 common frames omitted
- Caused by: net.sf.jsqlparser.parser.ParseException: Encountered unexpected token: "amd" <S_IDENTIFIER>
- at line 13, column 17.
- Was expecting one of:
- "&"
- ")"
- "::"
- "<<"
- ">>"
- "COLLATE"
- "CONNECT"
- "EMIT"
- "GROUP"
- "HAVING"
- "START"
- "["
- "^"
- "|"
- at net.sf.jsqlparser.parser.CCJSqlParser.generateParseException(CCJSqlParser.java:31234)
- at net.sf.jsqlparser.parser.CCJSqlParser.jj_consume_token(CCJSqlParser.java:31067)
- at net.sf.jsqlparser.parser.CCJSqlParser.WithItem(CCJSqlParser.java:6199)
- at net.sf.jsqlparser.parser.CCJSqlParser.WithList(CCJSqlParser.java:6131)
- at net.sf.jsqlparser.parser.CCJSqlParser.SingleStatement(CCJSqlParser.java:220)
- at net.sf.jsqlparser.parser.CCJSqlParser.Statement(CCJSqlParser.java:153)
- at net.sf.jsqlparser.parser.CCJSqlParserUtil.parseStatement(CCJSqlParserUtil.java:188)
- at net.sf.jsqlparser.parser.CCJSqlParserUtil.parse(CCJSqlParserUtil.java:63)
- at net.sf.jsqlparser.parser.CCJSqlParserUtil.parse(CCJSqlParserUtil.java:38)
- at com.baomidou.mybatisplus.extension.parser.JsqlParserSupport.parserSingle(JsqlParserSupport.java:49)
- ... 99 common frames omitted
- 10:57:27.927 [JobExecutor[org.camunda.bpm.engine.spring.components.jobexecutor.SpringJobExecutor]] ERROR c.a.d.util.JdbcUtils - [close,96] - close connection error
- java.sql.SQLNonTransientConnectionException: Communications link failure during rollback(). Transaction resolution unknown.
- at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:110)
- at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97)
- at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:89)
- at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:63)
- at com.mysql.cj.jdbc.ConnectionImpl.rollback(ConnectionImpl.java:1835)
- at com.mysql.cj.jdbc.ConnectionImpl.realClose(ConnectionImpl.java:1693)
- at com.mysql.cj.jdbc.ConnectionImpl.close(ConnectionImpl.java:713)
- at com.alibaba.druid.util.JdbcUtils.close(JdbcUtils.java:94)
- at com.alibaba.druid.pool.DruidDataSource.discardConnection(DruidDataSource.java:1528)
- at com.alibaba.druid.pool.DruidDataSource.handleFatalError(DruidDataSource.java:1846)
- at com.alibaba.druid.pool.DruidDataSource.handleConnectionException(DruidDataSource.java:1770)
- at com.alibaba.druid.pool.DruidPooledConnection.handleException(DruidPooledConnection.java:133)
- at com.alibaba.druid.pool.DruidPooledConnection.setAutoCommit(DruidPooledConnection.java:717)
- at org.springframework.jdbc.datasource.DataSourceTransactionManager.doBegin(DataSourceTransactionManager.java:287)
- at org.springframework.transaction.support.AbstractPlatformTransactionManager.startTransaction(AbstractPlatformTransactionManager.java:400)
- at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:373)
- at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:137)
- at org.camunda.bpm.engine.spring.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:71)
- at org.camunda.bpm.engine.impl.interceptor.ProcessApplicationContextInterceptor.execute(ProcessApplicationContextInterceptor.java:70)
- at org.camunda.bpm.engine.impl.interceptor.CommandCounterInterceptor.execute(CommandCounterInterceptor.java:35)
- at org.camunda.bpm.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:33)
- at org.camunda.bpm.engine.impl.interceptor.ExceptionCodeInterceptor.execute(ExceptionCodeInterceptor.java:55)
- at org.camunda.bpm.engine.impl.jobexecutor.SequentialJobAcquisitionRunnable.acquireJobs(SequentialJobAcquisitionRunnable.java:164)
- at org.camunda.bpm.engine.impl.jobexecutor.SequentialJobAcquisitionRunnable.run(SequentialJobAcquisitionRunnable.java:80)
- at java.base/java.lang.Thread.run(Thread.java:834)
- 10:57:27.928 [JobExecutor[org.camunda.bpm.engine.spring.components.jobexecutor.SpringJobExecutor]] ERROR c.a.d.p.DruidDataSource - [handleFatalError,1849] - discard connection
- com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure
- The last packet successfully received from the server was 41,543 milliseconds ago. The last packet sent successfully to the server was 41,547 milliseconds ago.
- at com.mysql.cj.jdbc.exceptions.SQLError.createCommunicationsException(SQLError.java:174)
- at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:64)
- at com.mysql.cj.jdbc.ConnectionImpl.setAutoCommit(ConnectionImpl.java:2050)
- at com.alibaba.druid.pool.DruidPooledConnection.setAutoCommit(DruidPooledConnection.java:713)
- at org.springframework.jdbc.datasource.DataSourceTransactionManager.doBegin(DataSourceTransactionManager.java:287)
- at org.springframework.transaction.support.AbstractPlatformTransactionManager.startTransaction(AbstractPlatformTransactionManager.java:400)
- at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:373)
- at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:137)
- at org.camunda.bpm.engine.spring.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:71)
- at org.camunda.bpm.engine.impl.interceptor.ProcessApplicationContextInterceptor.execute(ProcessApplicationContextInterceptor.java:70)
- at org.camunda.bpm.engine.impl.interceptor.CommandCounterInterceptor.execute(CommandCounterInterceptor.java:35)
- at org.camunda.bpm.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:33)
- at org.camunda.bpm.engine.impl.interceptor.ExceptionCodeInterceptor.execute(ExceptionCodeInterceptor.java:55)
- at org.camunda.bpm.engine.impl.jobexecutor.SequentialJobAcquisitionRunnable.acquireJobs(SequentialJobAcquisitionRunnable.java:164)
- at org.camunda.bpm.engine.impl.jobexecutor.SequentialJobAcquisitionRunnable.run(SequentialJobAcquisitionRunnable.java:80)
- at java.base/java.lang.Thread.run(Thread.java:834)
- Caused by: com.mysql.cj.exceptions.CJCommunicationsException: Communications link failure
- The last packet successfully received from the server was 41,543 milliseconds ago. The last packet sent successfully to the server was 41,547 milliseconds ago.
- at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
- at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
- at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
- at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
- at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:61)
- at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:105)
- at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:151)
- at com.mysql.cj.exceptions.ExceptionFactory.createCommunicationsException(ExceptionFactory.java:167)
- at com.mysql.cj.protocol.a.NativeProtocol.readMessage(NativeProtocol.java:581)
- at com.mysql.cj.protocol.a.NativeProtocol.checkErrorMessage(NativeProtocol.java:761)
- at com.mysql.cj.protocol.a.NativeProtocol.sendCommand(NativeProtocol.java:700)
- at com.mysql.cj.protocol.a.NativeProtocol.sendQueryPacket(NativeProtocol.java:1051)
- at com.mysql.cj.protocol.a.NativeProtocol.sendQueryString(NativeProtocol.java:997)
- at com.mysql.cj.NativeSession.execSQL(NativeSession.java:663)
- at com.mysql.cj.jdbc.ConnectionImpl.setAutoCommit(ConnectionImpl.java:2033)
- ... 13 common frames omitted
- Caused by: java.net.SocketTimeoutException: Read timed out
- at java.base/java.net.SocketInputStream.socketRead0(Native Method)
- at java.base/java.net.SocketInputStream.socketRead(SocketInputStream.java:115)
- at java.base/java.net.SocketInputStream.read(SocketInputStream.java:168)
- at java.base/java.net.SocketInputStream.read(SocketInputStream.java:140)
- at java.base/sun.security.ssl.SSLSocketInputRecord.read(SSLSocketInputRecord.java:484)
- at java.base/sun.security.ssl.SSLSocketInputRecord.readHeader(SSLSocketInputRecord.java:478)
- at java.base/sun.security.ssl.SSLSocketInputRecord.bytesInCompletePacket(SSLSocketInputRecord.java:70)
- at java.base/sun.security.ssl.SSLSocketImpl.readApplicationRecord(SSLSocketImpl.java:1334)
- at java.base/sun.security.ssl.SSLSocketImpl$AppInputStream.read(SSLSocketImpl.java:977)
- at java.base/java.io.FilterInputStream.read(FilterInputStream.java:133)
- at com.mysql.cj.protocol.FullReadInputStream.readFully(FullReadInputStream.java:64)
- at com.mysql.cj.protocol.a.SimplePacketReader.readHeaderLocal(SimplePacketReader.java:81)
- at com.mysql.cj.protocol.a.SimplePacketReader.readHeader(SimplePacketReader.java:63)
- at com.mysql.cj.protocol.a.SimplePacketReader.readHeader(SimplePacketReader.java:45)
- at com.mysql.cj.protocol.a.TimeTrackingPacketReader.readHeader(TimeTrackingPacketReader.java:52)
- at com.mysql.cj.protocol.a.TimeTrackingPacketReader.readHeader(TimeTrackingPacketReader.java:41)
- at com.mysql.cj.protocol.a.MultiPacketReader.readHeader(MultiPacketReader.java:54)
- at com.mysql.cj.protocol.a.MultiPacketReader.readHeader(MultiPacketReader.java:44)
- at com.mysql.cj.protocol.a.NativeProtocol.readMessage(NativeProtocol.java:575)
- ... 19 common frames omitted
- 10:57:27.930 [JobExecutor[org.camunda.bpm.engine.spring.components.jobexecutor.SpringJobExecutor]] ERROR o.c.b.e.jobexecutor - [logError,215] - ENGINE-14019 Exception during job acquisition Could not open JDBC Connection for transaction; nested exception is com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure
- The last packet successfully received from the server was 41,543 milliseconds ago. The last packet sent successfully to the server was 41,547 milliseconds ago.
- org.springframework.transaction.CannotCreateTransactionException: Could not open JDBC Connection for transaction; nested exception is com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure
- The last packet successfully received from the server was 41,543 milliseconds ago. The last packet sent successfully to the server was 41,547 milliseconds ago.
- at org.springframework.jdbc.datasource.DataSourceTransactionManager.doBegin(DataSourceTransactionManager.java:309)
- at org.springframework.transaction.support.AbstractPlatformTransactionManager.startTransaction(AbstractPlatformTransactionManager.java:400)
- at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:373)
- at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:137)
- at org.camunda.bpm.engine.spring.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:71)
- at org.camunda.bpm.engine.impl.interceptor.ProcessApplicationContextInterceptor.execute(ProcessApplicationContextInterceptor.java:70)
- at org.camunda.bpm.engine.impl.interceptor.CommandCounterInterceptor.execute(CommandCounterInterceptor.java:35)
- at org.camunda.bpm.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:33)
- at org.camunda.bpm.engine.impl.interceptor.ExceptionCodeInterceptor.execute(ExceptionCodeInterceptor.java:55)
- at org.camunda.bpm.engine.impl.jobexecutor.SequentialJobAcquisitionRunnable.acquireJobs(SequentialJobAcquisitionRunnable.java:164)
- at org.camunda.bpm.engine.impl.jobexecutor.SequentialJobAcquisitionRunnable.run(SequentialJobAcquisitionRunnable.java:80)
- at java.base/java.lang.Thread.run(Thread.java:834)
- Caused by: com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure
- The last packet successfully received from the server was 41,543 milliseconds ago. The last packet sent successfully to the server was 41,547 milliseconds ago.
- at com.mysql.cj.jdbc.exceptions.SQLError.createCommunicationsException(SQLError.java:174)
- at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:64)
- at com.mysql.cj.jdbc.ConnectionImpl.setAutoCommit(ConnectionImpl.java:2050)
- at com.alibaba.druid.pool.DruidPooledConnection.setAutoCommit(DruidPooledConnection.java:713)
- at org.springframework.jdbc.datasource.DataSourceTransactionManager.doBegin(DataSourceTransactionManager.java:287)
- ... 11 common frames omitted
- Caused by: com.mysql.cj.exceptions.CJCommunicationsException: Communications link failure
- The last packet successfully received from the server was 41,543 milliseconds ago. The last packet sent successfully to the server was 41,547 milliseconds ago.
- at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
- at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
- at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
- at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
- at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:61)
- at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:105)
- at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:151)
- at com.mysql.cj.exceptions.ExceptionFactory.createCommunicationsException(ExceptionFactory.java:167)
- at com.mysql.cj.protocol.a.NativeProtocol.readMessage(NativeProtocol.java:581)
- at com.mysql.cj.protocol.a.NativeProtocol.checkErrorMessage(NativeProtocol.java:761)
- at com.mysql.cj.protocol.a.NativeProtocol.sendCommand(NativeProtocol.java:700)
- at com.mysql.cj.protocol.a.NativeProtocol.sendQueryPacket(NativeProtocol.java:1051)
- at com.mysql.cj.protocol.a.NativeProtocol.sendQueryString(NativeProtocol.java:997)
- at com.mysql.cj.NativeSession.execSQL(NativeSession.java:663)
- at com.mysql.cj.jdbc.ConnectionImpl.setAutoCommit(ConnectionImpl.java:2033)
- ... 13 common frames omitted
- Caused by: java.net.SocketTimeoutException: Read timed out
- at java.base/java.net.SocketInputStream.socketRead0(Native Method)
- at java.base/java.net.SocketInputStream.socketRead(SocketInputStream.java:115)
- at java.base/java.net.SocketInputStream.read(SocketInputStream.java:168)
- at java.base/java.net.SocketInputStream.read(SocketInputStream.java:140)
- at java.base/sun.security.ssl.SSLSocketInputRecord.read(SSLSocketInputRecord.java:484)
- at java.base/sun.security.ssl.SSLSocketInputRecord.readHeader(SSLSocketInputRecord.java:478)
- at java.base/sun.security.ssl.SSLSocketInputRecord.bytesInCompletePacket(SSLSocketInputRecord.java:70)
- at java.base/sun.security.ssl.SSLSocketImpl.readApplicationRecord(SSLSocketImpl.java:1334)
- at java.base/sun.security.ssl.SSLSocketImpl$AppInputStream.read(SSLSocketImpl.java:977)
- at java.base/java.io.FilterInputStream.read(FilterInputStream.java:133)
- at com.mysql.cj.protocol.FullReadInputStream.readFully(FullReadInputStream.java:64)
- at com.mysql.cj.protocol.a.SimplePacketReader.readHeaderLocal(SimplePacketReader.java:81)
- at com.mysql.cj.protocol.a.SimplePacketReader.readHeader(SimplePacketReader.java:63)
- at com.mysql.cj.protocol.a.SimplePacketReader.readHeader(SimplePacketReader.java:45)
- at com.mysql.cj.protocol.a.TimeTrackingPacketReader.readHeader(TimeTrackingPacketReader.java:52)
- at com.mysql.cj.protocol.a.TimeTrackingPacketReader.readHeader(TimeTrackingPacketReader.java:41)
- at com.mysql.cj.protocol.a.MultiPacketReader.readHeader(MultiPacketReader.java:54)
- at com.mysql.cj.protocol.a.MultiPacketReader.readHeader(MultiPacketReader.java:44)
- at com.mysql.cj.protocol.a.NativeProtocol.readMessage(NativeProtocol.java:575)
- ... 19 common frames omitted
- 10:58:35.090 [Druid-ConnectionPool-Create-1818817180] ERROR c.a.d.p.DruidDataSource - [run,2781] - create connection SQLException, url: jdbc:mysql://10.150.10.139:3306/tl?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&nullCatalogMeansCurrent=true&autoReconnect=true&failOverReadOnly=false, errorCode 0, state 08001
- java.sql.SQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 3 times. Giving up.
- at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:110)
- at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97)
- at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:89)
- at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:63)
- at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:73)
- at com.mysql.cj.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.java:898)
- at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:823)
- at com.mysql.cj.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:448)
- at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:241)
- at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:198)
- at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1644)
- at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1710)
- at com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2779)
- Caused by: com.mysql.cj.exceptions.CJCommunicationsException: Communications link failure
- The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
- at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
- at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
- at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
- at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
- at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:61)
- at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:105)
- at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:151)
- at com.mysql.cj.exceptions.ExceptionFactory.createCommunicationsException(ExceptionFactory.java:167)
- at com.mysql.cj.protocol.a.NativeSocketConnection.connect(NativeSocketConnection.java:89)
- at com.mysql.cj.NativeSession.connect(NativeSession.java:120)
- at com.mysql.cj.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.java:842)
- ... 7 common frames omitted
- Caused by: java.net.ConnectException: Connection timed out: connect
- at java.base/java.net.PlainSocketImpl.connect0(Native Method)
- at java.base/java.net.PlainSocketImpl.socketConnect(PlainSocketImpl.java:101)
- at java.base/java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:412)
- at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:255)
- at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:237)
- at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
- at java.base/java.net.Socket.connect(Socket.java:608)
- at com.mysql.cj.protocol.StandardSocketFactory.connect(StandardSocketFactory.java:153)
- at com.mysql.cj.protocol.a.NativeSocketConnection.connect(NativeSocketConnection.java:63)
- ... 9 common frames omitted
- 10:59:42.220 [Druid-ConnectionPool-Create-1818817180] ERROR c.a.d.p.DruidDataSource - [run,2781] - create connection SQLException, url: jdbc:mysql://10.150.10.139:3306/tl?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&nullCatalogMeansCurrent=true&autoReconnect=true&failOverReadOnly=false, errorCode 0, state 08001
- java.sql.SQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 3 times. Giving up.
- at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:110)
- at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97)
- at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:89)
- at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:63)
- at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:73)
- at com.mysql.cj.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.java:898)
- at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:823)
- at com.mysql.cj.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:448)
- at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:241)
- at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:198)
- at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1644)
- at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1710)
- at com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2779)
- Caused by: com.mysql.cj.exceptions.CJCommunicationsException: Communications link failure
- The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
- at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
- at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
- at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
- at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
- at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:61)
- at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:105)
- at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:151)
- at com.mysql.cj.exceptions.ExceptionFactory.createCommunicationsException(ExceptionFactory.java:167)
- at com.mysql.cj.protocol.a.NativeSocketConnection.connect(NativeSocketConnection.java:89)
- at com.mysql.cj.NativeSession.connect(NativeSession.java:120)
- at com.mysql.cj.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.java:842)
- ... 7 common frames omitted
- Caused by: java.net.ConnectException: Connection timed out: connect
- at java.base/java.net.PlainSocketImpl.connect0(Native Method)
- at java.base/java.net.PlainSocketImpl.socketConnect(PlainSocketImpl.java:101)
- at java.base/java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:412)
- at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:255)
- at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:237)
- at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
- at java.base/java.net.Socket.connect(Socket.java:608)
- at com.mysql.cj.protocol.StandardSocketFactory.connect(StandardSocketFactory.java:153)
- at com.mysql.cj.protocol.a.NativeSocketConnection.connect(NativeSocketConnection.java:63)
- ... 9 common frames omitted
|