error.2023-04-25.log 450 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582
  1. 11:58:46.030 [XNIO-1 task-4] ERROR c.z.x.c.e.GlobalExceptionHandler -
  2. ### Error querying database. Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  3. left join goaf_checklist_item AS B ON' at line 8
  4. ### The error may exist in file [E:\syf3prj\xps-server-3\xps-goaf\target\classes\mapper\GoafChecklistMapper.xml]
  5. ### The error may involve com.zhyc.xps.goaf.mapper.GoafChecklistMapper.getByPage-Inline
  6. ### The error occurred while setting parameters
  7. ### SQL: select count(0) from ( SELECT A.checklist_id, A.oc_id, A.checklist_title, A.checklist_desc, B.checklist_item_id, B.checklist_item_content, FROM goaf_checklist AS A left join goaf_checklist_item AS B ON B.checklist_id = A.checklist_id WHERE A.oc_id = ? ) tmp_count
  8. ### Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  9. left join goaf_checklist_item AS B ON' at line 8
  10. ; bad SQL grammar []
  11. org.springframework.jdbc.BadSqlGrammarException:
  12. ### Error querying database. Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  13. left join goaf_checklist_item AS B ON' at line 8
  14. ### The error may exist in file [E:\syf3prj\xps-server-3\xps-goaf\target\classes\mapper\GoafChecklistMapper.xml]
  15. ### The error may involve com.zhyc.xps.goaf.mapper.GoafChecklistMapper.getByPage-Inline
  16. ### The error occurred while setting parameters
  17. ### SQL: select count(0) from ( SELECT A.checklist_id, A.oc_id, A.checklist_title, A.checklist_desc, B.checklist_item_id, B.checklist_item_content, FROM goaf_checklist AS A left join goaf_checklist_item AS B ON B.checklist_id = A.checklist_id WHERE A.oc_id = ? ) tmp_count
  18. ### Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  19. left join goaf_checklist_item AS B ON' at line 8
  20. ; bad SQL grammar []
  21. at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:243)
  22. at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:70)
  23. at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:92)
  24. at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:439)
  25. at jdk.proxy2/jdk.proxy2.$Proxy108.selectList(Unknown Source)
  26. at org.mybatis.spring.SqlSessionTemplate.selectList(SqlSessionTemplate.java:224)
  27. at org.apache.ibatis.binding.MapperMethod.executeForMany(MapperMethod.java:147)
  28. at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:80)
  29. at org.apache.ibatis.binding.MapperProxy$PlainMethodInvoker.invoke(MapperProxy.java:145)
  30. at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:86)
  31. at jdk.proxy3/jdk.proxy3.$Proxy366.getByPage(Unknown Source)
  32. at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  33. at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
  34. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  35. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  36. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
  37. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:196)
  38. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
  39. at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:137)
  40. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
  41. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:218)
  42. at jdk.proxy3/jdk.proxy3.$Proxy367.getByPage(Unknown Source)
  43. at com.zhyc.xps.goaf.service.impl.GoafChecklistServiceImpl.getByPage(GoafChecklistServiceImpl.java:57)
  44. at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  45. at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
  46. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  47. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  48. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
  49. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:196)
  50. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
  51. at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750)
  52. at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:123)
  53. at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:390)
  54. at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119)
  55. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
  56. at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750)
  57. at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:702)
  58. at com.zhyc.xps.goaf.service.impl.GoafChecklistServiceImpl$$SpringCGLIB$$0.getByPage(<generated>)
  59. at com.zhyc.xps.goaf.controller.GoafChecklistController.getGoafChecklistBypage(GoafChecklistController.java:54)
  60. at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  61. at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
  62. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  63. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  64. at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:207)
  65. at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:152)
  66. at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117)
  67. at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:884)
  68. at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797)
  69. at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
  70. at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1081)
  71. at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:974)
  72. at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1011)
  73. at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:903)
  74. at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:527)
  75. at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:885)
  76. at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:614)
  77. at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)
  78. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129)
  79. at io.undertow.websockets.jsr.JsrWebSocketFilter.doFilter(JsrWebSocketFilter.java:172)
  80. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  81. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  82. at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
  83. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
  84. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  85. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  86. at org.springframework.web.filter.ServerHttpObservationFilter.doFilterInternal(ServerHttpObservationFilter.java:109)
  87. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
  88. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  89. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  90. at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
  91. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
  92. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  93. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  94. at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)
  95. at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
  96. at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68)
  97. at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
  98. at io.undertow.servlet.handlers.RedirectDirHandler.handleRequest(RedirectDirHandler.java:68)
  99. at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:117)
  100. at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
  101. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  102. at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
  103. at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
  104. at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
  105. at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)
  106. at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
  107. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  108. at io.undertow.servlet.handlers.SendErrorPageHandler.handleRequest(SendErrorPageHandler.java:52)
  109. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  110. at io.undertow.servlet.handlers.SessionRestoringHandler.handleRequest(SessionRestoringHandler.java:119)
  111. at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:276)
  112. at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135)
  113. at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:132)
  114. at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
  115. at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
  116. at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:256)
  117. at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:101)
  118. at io.undertow.server.Connectors.executeRootHandler(Connectors.java:393)
  119. at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:859)
  120. at org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18)
  121. at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2513)
  122. at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1538)
  123. at org.xnio.XnioWorker$WorkerThreadFactory$1$1.run(XnioWorker.java:1282)
  124. at java.base/java.lang.Thread.run(Thread.java:833)
  125. Caused by: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  126. left join goaf_checklist_item AS B ON' at line 8
  127. at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120)
  128. at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122)
  129. at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:916)
  130. at com.mysql.cj.jdbc.ClientPreparedStatement.execute(ClientPreparedStatement.java:354)
  131. at com.p6spy.engine.wrapper.PreparedStatementWrapper.execute(PreparedStatementWrapper.java:362)
  132. at com.zaxxer.hikari.pool.ProxyPreparedStatement.execute(ProxyPreparedStatement.java:44)
  133. at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.execute(HikariProxyPreparedStatement.java)
  134. at org.apache.ibatis.executor.statement.PreparedStatementHandler.query(PreparedStatementHandler.java:64)
  135. at org.apache.ibatis.executor.statement.RoutingStatementHandler.query(RoutingStatementHandler.java:79)
  136. at org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:63)
  137. at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:325)
  138. at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:156)
  139. at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:109)
  140. at com.github.pagehelper.util.ExecutorUtil.executeAutoCount(ExecutorUtil.java:169)
  141. at com.github.pagehelper.PageInterceptor.count(PageInterceptor.java:197)
  142. at com.github.pagehelper.PageInterceptor.intercept(PageInterceptor.java:140)
  143. at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:62)
  144. at jdk.proxy2/jdk.proxy2.$Proxy417.query(Unknown Source)
  145. at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:151)
  146. at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:145)
  147. at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:140)
  148. at jdk.internal.reflect.GeneratedMethodAccessor87.invoke(Unknown Source)
  149. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  150. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  151. at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:425)
  152. ... 100 common frames omitted
  153. 14:39:54.755 [XNIO-1 task-5] ERROR c.z.x.c.e.GlobalExceptionHandler - Request method 'POST' is not supported
  154. org.springframework.web.HttpRequestMethodNotSupportedException: Request method 'POST' is not supported
  155. at org.springframework.web.servlet.mvc.method.RequestMappingInfoHandlerMapping.handleNoMatch(RequestMappingInfoHandlerMapping.java:265)
  156. at org.springframework.web.servlet.handler.AbstractHandlerMethodMapping.lookupHandlerMethod(AbstractHandlerMethodMapping.java:441)
  157. at org.springframework.web.servlet.handler.AbstractHandlerMethodMapping.getHandlerInternal(AbstractHandlerMethodMapping.java:382)
  158. at org.springframework.web.servlet.mvc.method.RequestMappingInfoHandlerMapping.getHandlerInternal(RequestMappingInfoHandlerMapping.java:126)
  159. at org.springframework.web.servlet.mvc.method.RequestMappingInfoHandlerMapping.getHandlerInternal(RequestMappingInfoHandlerMapping.java:68)
  160. at org.springframework.web.servlet.handler.AbstractHandlerMapping.getHandler(AbstractHandlerMapping.java:505)
  161. at org.springframework.web.servlet.DispatcherServlet.getHandler(DispatcherServlet.java:1275)
  162. at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1057)
  163. at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:974)
  164. at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1011)
  165. at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:914)
  166. at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:547)
  167. at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:885)
  168. at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:614)
  169. at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)
  170. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129)
  171. at io.undertow.websockets.jsr.JsrWebSocketFilter.doFilter(JsrWebSocketFilter.java:172)
  172. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  173. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  174. at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
  175. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
  176. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  177. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  178. at org.springframework.web.filter.ServerHttpObservationFilter.doFilterInternal(ServerHttpObservationFilter.java:109)
  179. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
  180. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  181. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  182. at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
  183. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
  184. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  185. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  186. at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)
  187. at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
  188. at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68)
  189. at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
  190. at io.undertow.servlet.handlers.RedirectDirHandler.handleRequest(RedirectDirHandler.java:68)
  191. at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:117)
  192. at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
  193. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  194. at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
  195. at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
  196. at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
  197. at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)
  198. at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
  199. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  200. at io.undertow.servlet.handlers.SendErrorPageHandler.handleRequest(SendErrorPageHandler.java:52)
  201. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  202. at io.undertow.servlet.handlers.SessionRestoringHandler.handleRequest(SessionRestoringHandler.java:119)
  203. at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:276)
  204. at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135)
  205. at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:132)
  206. at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
  207. at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
  208. at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:256)
  209. at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:101)
  210. at io.undertow.server.Connectors.executeRootHandler(Connectors.java:393)
  211. at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:859)
  212. at org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18)
  213. at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2513)
  214. at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1538)
  215. at org.xnio.XnioWorker$WorkerThreadFactory$1$1.run(XnioWorker.java:1282)
  216. at java.base/java.lang.Thread.run(Thread.java:833)
  217. 14:57:36.216 [XNIO-1 task-4] ERROR c.z.x.c.e.GlobalExceptionHandler -
  218. ### Error querying database. Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  219. left join goaf_checklist_item AS B ON' at line 8
  220. ### The error may exist in file [E:\syf3prj\xps-server-3\xps-goaf\target\classes\mapper\GoafChecklistMapper.xml]
  221. ### The error may involve com.zhyc.xps.goaf.mapper.GoafChecklistMapper.getByPage-Inline
  222. ### The error occurred while setting parameters
  223. ### SQL: select count(0) from ( SELECT A.checklist_id, A.oc_id, A.checklist_title, A.checklist_desc, B.checklist_item_id, B.checklist_item_content, FROM goaf_checklist AS A left join goaf_checklist_item AS B ON B.checklist_id = A.checklist_id WHERE A.oc_id = ? ) tmp_count
  224. ### Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  225. left join goaf_checklist_item AS B ON' at line 8
  226. ; bad SQL grammar []
  227. org.springframework.jdbc.BadSqlGrammarException:
  228. ### Error querying database. Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  229. left join goaf_checklist_item AS B ON' at line 8
  230. ### The error may exist in file [E:\syf3prj\xps-server-3\xps-goaf\target\classes\mapper\GoafChecklistMapper.xml]
  231. ### The error may involve com.zhyc.xps.goaf.mapper.GoafChecklistMapper.getByPage-Inline
  232. ### The error occurred while setting parameters
  233. ### SQL: select count(0) from ( SELECT A.checklist_id, A.oc_id, A.checklist_title, A.checklist_desc, B.checklist_item_id, B.checklist_item_content, FROM goaf_checklist AS A left join goaf_checklist_item AS B ON B.checklist_id = A.checklist_id WHERE A.oc_id = ? ) tmp_count
  234. ### Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  235. left join goaf_checklist_item AS B ON' at line 8
  236. ; bad SQL grammar []
  237. at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:243)
  238. at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:70)
  239. at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:92)
  240. at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:439)
  241. at jdk.proxy2/jdk.proxy2.$Proxy108.selectList(Unknown Source)
  242. at org.mybatis.spring.SqlSessionTemplate.selectList(SqlSessionTemplate.java:224)
  243. at org.apache.ibatis.binding.MapperMethod.executeForMany(MapperMethod.java:147)
  244. at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:80)
  245. at org.apache.ibatis.binding.MapperProxy$PlainMethodInvoker.invoke(MapperProxy.java:145)
  246. at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:86)
  247. at jdk.proxy3/jdk.proxy3.$Proxy366.getByPage(Unknown Source)
  248. at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  249. at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
  250. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  251. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  252. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
  253. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:196)
  254. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
  255. at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:137)
  256. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
  257. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:218)
  258. at jdk.proxy3/jdk.proxy3.$Proxy367.getByPage(Unknown Source)
  259. at com.zhyc.xps.goaf.service.impl.GoafChecklistServiceImpl.getByPage(GoafChecklistServiceImpl.java:57)
  260. at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  261. at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
  262. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  263. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  264. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
  265. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:196)
  266. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
  267. at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750)
  268. at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:123)
  269. at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:390)
  270. at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119)
  271. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
  272. at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750)
  273. at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:702)
  274. at com.zhyc.xps.goaf.service.impl.GoafChecklistServiceImpl$$SpringCGLIB$$0.getByPage(<generated>)
  275. at com.zhyc.xps.goaf.controller.GoafChecklistController.getGoafChecklistBypage(GoafChecklistController.java:54)
  276. at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  277. at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
  278. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  279. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  280. at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:207)
  281. at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:152)
  282. at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117)
  283. at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:884)
  284. at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797)
  285. at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
  286. at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1081)
  287. at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:974)
  288. at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1011)
  289. at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:903)
  290. at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:527)
  291. at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:885)
  292. at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:614)
  293. at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)
  294. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129)
  295. at io.undertow.websockets.jsr.JsrWebSocketFilter.doFilter(JsrWebSocketFilter.java:172)
  296. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  297. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  298. at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
  299. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
  300. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  301. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  302. at org.springframework.web.filter.ServerHttpObservationFilter.doFilterInternal(ServerHttpObservationFilter.java:109)
  303. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
  304. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  305. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  306. at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
  307. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
  308. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  309. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  310. at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)
  311. at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
  312. at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68)
  313. at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
  314. at io.undertow.servlet.handlers.RedirectDirHandler.handleRequest(RedirectDirHandler.java:68)
  315. at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:117)
  316. at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
  317. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  318. at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
  319. at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
  320. at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
  321. at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)
  322. at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
  323. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  324. at io.undertow.servlet.handlers.SendErrorPageHandler.handleRequest(SendErrorPageHandler.java:52)
  325. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  326. at io.undertow.servlet.handlers.SessionRestoringHandler.handleRequest(SessionRestoringHandler.java:119)
  327. at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:276)
  328. at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135)
  329. at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:132)
  330. at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
  331. at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
  332. at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:256)
  333. at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:101)
  334. at io.undertow.server.Connectors.executeRootHandler(Connectors.java:393)
  335. at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:859)
  336. at org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18)
  337. at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2513)
  338. at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1538)
  339. at org.xnio.XnioWorker$WorkerThreadFactory$1$1.run(XnioWorker.java:1282)
  340. at java.base/java.lang.Thread.run(Thread.java:833)
  341. Caused by: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  342. left join goaf_checklist_item AS B ON' at line 8
  343. at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120)
  344. at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122)
  345. at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:916)
  346. at com.mysql.cj.jdbc.ClientPreparedStatement.execute(ClientPreparedStatement.java:354)
  347. at com.p6spy.engine.wrapper.PreparedStatementWrapper.execute(PreparedStatementWrapper.java:362)
  348. at com.zaxxer.hikari.pool.ProxyPreparedStatement.execute(ProxyPreparedStatement.java:44)
  349. at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.execute(HikariProxyPreparedStatement.java)
  350. at org.apache.ibatis.executor.statement.PreparedStatementHandler.query(PreparedStatementHandler.java:64)
  351. at org.apache.ibatis.executor.statement.RoutingStatementHandler.query(RoutingStatementHandler.java:79)
  352. at org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:63)
  353. at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:325)
  354. at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:156)
  355. at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:109)
  356. at com.github.pagehelper.util.ExecutorUtil.executeAutoCount(ExecutorUtil.java:169)
  357. at com.github.pagehelper.PageInterceptor.count(PageInterceptor.java:197)
  358. at com.github.pagehelper.PageInterceptor.intercept(PageInterceptor.java:140)
  359. at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:62)
  360. at jdk.proxy2/jdk.proxy2.$Proxy417.query(Unknown Source)
  361. at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:151)
  362. at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:145)
  363. at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:140)
  364. at jdk.internal.reflect.GeneratedMethodAccessor87.invoke(Unknown Source)
  365. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  366. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  367. at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:425)
  368. ... 100 common frames omitted
  369. 14:58:13.332 [XNIO-1 task-5] ERROR c.z.x.c.e.GlobalExceptionHandler -
  370. ### Error querying database. Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  371. left join goaf_checklist_item AS B ON' at line 8
  372. ### The error may exist in file [E:\syf3prj\xps-server-3\xps-goaf\target\classes\mapper\GoafChecklistMapper.xml]
  373. ### The error may involve com.zhyc.xps.goaf.mapper.GoafChecklistMapper.getByPage-Inline
  374. ### The error occurred while setting parameters
  375. ### SQL: select count(0) from ( SELECT A.checklist_id, A.oc_id, A.checklist_title, A.checklist_desc, B.checklist_item_id, B.checklist_item_content, FROM goaf_checklist AS A left join goaf_checklist_item AS B ON B.checklist_id = A.checklist_id WHERE A.oc_id = ? ) tmp_count
  376. ### Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  377. left join goaf_checklist_item AS B ON' at line 8
  378. ; bad SQL grammar []
  379. org.springframework.jdbc.BadSqlGrammarException:
  380. ### Error querying database. Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  381. left join goaf_checklist_item AS B ON' at line 8
  382. ### The error may exist in file [E:\syf3prj\xps-server-3\xps-goaf\target\classes\mapper\GoafChecklistMapper.xml]
  383. ### The error may involve com.zhyc.xps.goaf.mapper.GoafChecklistMapper.getByPage-Inline
  384. ### The error occurred while setting parameters
  385. ### SQL: select count(0) from ( SELECT A.checklist_id, A.oc_id, A.checklist_title, A.checklist_desc, B.checklist_item_id, B.checklist_item_content, FROM goaf_checklist AS A left join goaf_checklist_item AS B ON B.checklist_id = A.checklist_id WHERE A.oc_id = ? ) tmp_count
  386. ### Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  387. left join goaf_checklist_item AS B ON' at line 8
  388. ; bad SQL grammar []
  389. at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:243)
  390. at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:70)
  391. at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:92)
  392. at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:439)
  393. at jdk.proxy2/jdk.proxy2.$Proxy108.selectList(Unknown Source)
  394. at org.mybatis.spring.SqlSessionTemplate.selectList(SqlSessionTemplate.java:224)
  395. at org.apache.ibatis.binding.MapperMethod.executeForMany(MapperMethod.java:147)
  396. at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:80)
  397. at org.apache.ibatis.binding.MapperProxy$PlainMethodInvoker.invoke(MapperProxy.java:145)
  398. at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:86)
  399. at jdk.proxy3/jdk.proxy3.$Proxy366.getByPage(Unknown Source)
  400. at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  401. at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
  402. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  403. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  404. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
  405. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:196)
  406. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
  407. at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:137)
  408. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
  409. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:218)
  410. at jdk.proxy3/jdk.proxy3.$Proxy367.getByPage(Unknown Source)
  411. at com.zhyc.xps.goaf.service.impl.GoafChecklistServiceImpl.getByPage(GoafChecklistServiceImpl.java:57)
  412. at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  413. at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
  414. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  415. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  416. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
  417. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:196)
  418. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
  419. at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750)
  420. at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:123)
  421. at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:390)
  422. at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119)
  423. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
  424. at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750)
  425. at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:702)
  426. at com.zhyc.xps.goaf.service.impl.GoafChecklistServiceImpl$$SpringCGLIB$$0.getByPage(<generated>)
  427. at com.zhyc.xps.goaf.controller.GoafChecklistController.getGoafChecklistBypage(GoafChecklistController.java:54)
  428. at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  429. at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
  430. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  431. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  432. at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:207)
  433. at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:152)
  434. at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117)
  435. at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:884)
  436. at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797)
  437. at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
  438. at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1081)
  439. at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:974)
  440. at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1011)
  441. at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:903)
  442. at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:527)
  443. at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:885)
  444. at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:614)
  445. at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)
  446. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129)
  447. at io.undertow.websockets.jsr.JsrWebSocketFilter.doFilter(JsrWebSocketFilter.java:172)
  448. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  449. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  450. at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
  451. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
  452. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  453. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  454. at org.springframework.web.filter.ServerHttpObservationFilter.doFilterInternal(ServerHttpObservationFilter.java:109)
  455. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
  456. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  457. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  458. at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
  459. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
  460. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  461. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  462. at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)
  463. at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
  464. at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68)
  465. at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
  466. at io.undertow.servlet.handlers.RedirectDirHandler.handleRequest(RedirectDirHandler.java:68)
  467. at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:117)
  468. at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
  469. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  470. at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
  471. at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
  472. at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
  473. at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)
  474. at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
  475. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  476. at io.undertow.servlet.handlers.SendErrorPageHandler.handleRequest(SendErrorPageHandler.java:52)
  477. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  478. at io.undertow.servlet.handlers.SessionRestoringHandler.handleRequest(SessionRestoringHandler.java:119)
  479. at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:276)
  480. at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135)
  481. at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:132)
  482. at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
  483. at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
  484. at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:256)
  485. at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:101)
  486. at io.undertow.server.Connectors.executeRootHandler(Connectors.java:393)
  487. at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:859)
  488. at org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18)
  489. at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2513)
  490. at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1538)
  491. at org.xnio.XnioWorker$WorkerThreadFactory$1$1.run(XnioWorker.java:1282)
  492. at java.base/java.lang.Thread.run(Thread.java:833)
  493. Caused by: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  494. left join goaf_checklist_item AS B ON' at line 8
  495. at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120)
  496. at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122)
  497. at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:916)
  498. at com.mysql.cj.jdbc.ClientPreparedStatement.execute(ClientPreparedStatement.java:354)
  499. at com.p6spy.engine.wrapper.PreparedStatementWrapper.execute(PreparedStatementWrapper.java:362)
  500. at com.zaxxer.hikari.pool.ProxyPreparedStatement.execute(ProxyPreparedStatement.java:44)
  501. at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.execute(HikariProxyPreparedStatement.java)
  502. at org.apache.ibatis.executor.statement.PreparedStatementHandler.query(PreparedStatementHandler.java:64)
  503. at org.apache.ibatis.executor.statement.RoutingStatementHandler.query(RoutingStatementHandler.java:79)
  504. at org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:63)
  505. at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:325)
  506. at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:156)
  507. at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:109)
  508. at com.github.pagehelper.util.ExecutorUtil.executeAutoCount(ExecutorUtil.java:169)
  509. at com.github.pagehelper.PageInterceptor.count(PageInterceptor.java:197)
  510. at com.github.pagehelper.PageInterceptor.intercept(PageInterceptor.java:140)
  511. at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:62)
  512. at jdk.proxy2/jdk.proxy2.$Proxy417.query(Unknown Source)
  513. at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:151)
  514. at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:145)
  515. at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:140)
  516. at jdk.internal.reflect.GeneratedMethodAccessor87.invoke(Unknown Source)
  517. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  518. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  519. at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:425)
  520. ... 100 common frames omitted
  521. 14:58:45.373 [XNIO-1 task-2] ERROR c.z.x.c.e.GlobalExceptionHandler -
  522. ### Error querying database. Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  523. left join goaf_checklist_item AS B ON' at line 8
  524. ### The error may exist in file [E:\syf3prj\xps-server-3\xps-goaf\target\classes\mapper\GoafChecklistMapper.xml]
  525. ### The error may involve com.zhyc.xps.goaf.mapper.GoafChecklistMapper.getByPage-Inline
  526. ### The error occurred while setting parameters
  527. ### SQL: select count(0) from ( SELECT A.checklist_id, A.oc_id, A.checklist_title, A.checklist_desc, B.checklist_item_id, B.checklist_item_content, FROM goaf_checklist AS A left join goaf_checklist_item AS B ON B.checklist_id = A.checklist_id WHERE A.oc_id = ? ) tmp_count
  528. ### Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  529. left join goaf_checklist_item AS B ON' at line 8
  530. ; bad SQL grammar []
  531. org.springframework.jdbc.BadSqlGrammarException:
  532. ### Error querying database. Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  533. left join goaf_checklist_item AS B ON' at line 8
  534. ### The error may exist in file [E:\syf3prj\xps-server-3\xps-goaf\target\classes\mapper\GoafChecklistMapper.xml]
  535. ### The error may involve com.zhyc.xps.goaf.mapper.GoafChecklistMapper.getByPage-Inline
  536. ### The error occurred while setting parameters
  537. ### SQL: select count(0) from ( SELECT A.checklist_id, A.oc_id, A.checklist_title, A.checklist_desc, B.checklist_item_id, B.checklist_item_content, FROM goaf_checklist AS A left join goaf_checklist_item AS B ON B.checklist_id = A.checklist_id WHERE A.oc_id = ? ) tmp_count
  538. ### Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  539. left join goaf_checklist_item AS B ON' at line 8
  540. ; bad SQL grammar []
  541. at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:243)
  542. at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:70)
  543. at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:92)
  544. at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:439)
  545. at jdk.proxy2/jdk.proxy2.$Proxy108.selectList(Unknown Source)
  546. at org.mybatis.spring.SqlSessionTemplate.selectList(SqlSessionTemplate.java:224)
  547. at org.apache.ibatis.binding.MapperMethod.executeForMany(MapperMethod.java:147)
  548. at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:80)
  549. at org.apache.ibatis.binding.MapperProxy$PlainMethodInvoker.invoke(MapperProxy.java:145)
  550. at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:86)
  551. at jdk.proxy3/jdk.proxy3.$Proxy366.getByPage(Unknown Source)
  552. at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  553. at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
  554. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  555. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  556. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
  557. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:196)
  558. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
  559. at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:137)
  560. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
  561. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:218)
  562. at jdk.proxy3/jdk.proxy3.$Proxy367.getByPage(Unknown Source)
  563. at com.zhyc.xps.goaf.service.impl.GoafChecklistServiceImpl.getByPage(GoafChecklistServiceImpl.java:57)
  564. at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  565. at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
  566. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  567. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  568. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
  569. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:196)
  570. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
  571. at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750)
  572. at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:123)
  573. at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:390)
  574. at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119)
  575. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
  576. at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750)
  577. at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:702)
  578. at com.zhyc.xps.goaf.service.impl.GoafChecklistServiceImpl$$SpringCGLIB$$0.getByPage(<generated>)
  579. at com.zhyc.xps.goaf.controller.GoafChecklistController.getGoafChecklistBypage(GoafChecklistController.java:54)
  580. at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  581. at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
  582. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  583. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  584. at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:207)
  585. at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:152)
  586. at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117)
  587. at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:884)
  588. at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797)
  589. at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
  590. at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1081)
  591. at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:974)
  592. at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1011)
  593. at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:903)
  594. at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:527)
  595. at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:885)
  596. at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:614)
  597. at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)
  598. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129)
  599. at io.undertow.websockets.jsr.JsrWebSocketFilter.doFilter(JsrWebSocketFilter.java:172)
  600. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  601. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  602. at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
  603. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
  604. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  605. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  606. at org.springframework.web.filter.ServerHttpObservationFilter.doFilterInternal(ServerHttpObservationFilter.java:109)
  607. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
  608. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  609. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  610. at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
  611. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
  612. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  613. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  614. at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)
  615. at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
  616. at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68)
  617. at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
  618. at io.undertow.servlet.handlers.RedirectDirHandler.handleRequest(RedirectDirHandler.java:68)
  619. at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:117)
  620. at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
  621. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  622. at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
  623. at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
  624. at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
  625. at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)
  626. at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
  627. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  628. at io.undertow.servlet.handlers.SendErrorPageHandler.handleRequest(SendErrorPageHandler.java:52)
  629. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  630. at io.undertow.servlet.handlers.SessionRestoringHandler.handleRequest(SessionRestoringHandler.java:119)
  631. at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:276)
  632. at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135)
  633. at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:132)
  634. at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
  635. at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
  636. at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:256)
  637. at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:101)
  638. at io.undertow.server.Connectors.executeRootHandler(Connectors.java:393)
  639. at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:859)
  640. at org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18)
  641. at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2513)
  642. at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1538)
  643. at org.xnio.XnioWorker$WorkerThreadFactory$1$1.run(XnioWorker.java:1282)
  644. at java.base/java.lang.Thread.run(Thread.java:833)
  645. Caused by: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  646. left join goaf_checklist_item AS B ON' at line 8
  647. at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120)
  648. at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122)
  649. at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:916)
  650. at com.mysql.cj.jdbc.ClientPreparedStatement.execute(ClientPreparedStatement.java:354)
  651. at com.p6spy.engine.wrapper.PreparedStatementWrapper.execute(PreparedStatementWrapper.java:362)
  652. at com.zaxxer.hikari.pool.ProxyPreparedStatement.execute(ProxyPreparedStatement.java:44)
  653. at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.execute(HikariProxyPreparedStatement.java)
  654. at org.apache.ibatis.executor.statement.PreparedStatementHandler.query(PreparedStatementHandler.java:64)
  655. at org.apache.ibatis.executor.statement.RoutingStatementHandler.query(RoutingStatementHandler.java:79)
  656. at org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:63)
  657. at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:325)
  658. at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:156)
  659. at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:109)
  660. at com.github.pagehelper.util.ExecutorUtil.executeAutoCount(ExecutorUtil.java:169)
  661. at com.github.pagehelper.PageInterceptor.count(PageInterceptor.java:197)
  662. at com.github.pagehelper.PageInterceptor.intercept(PageInterceptor.java:140)
  663. at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:62)
  664. at jdk.proxy2/jdk.proxy2.$Proxy417.query(Unknown Source)
  665. at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:151)
  666. at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:145)
  667. at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:140)
  668. at jdk.internal.reflect.GeneratedMethodAccessor87.invoke(Unknown Source)
  669. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  670. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  671. at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:425)
  672. ... 100 common frames omitted
  673. 15:01:11.772 [XNIO-1 task-5] ERROR c.z.x.c.e.GlobalExceptionHandler -
  674. ### Error querying database. Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  675. left join goaf_checklist_item AS B ON' at line 8
  676. ### The error may exist in file [E:\syf3prj\xps-server-3\xps-goaf\target\classes\mapper\GoafChecklistMapper.xml]
  677. ### The error may involve com.zhyc.xps.goaf.mapper.GoafChecklistMapper.getByPage-Inline
  678. ### The error occurred while setting parameters
  679. ### SQL: select count(0) from ( SELECT A.checklist_id, A.oc_id, A.checklist_title, A.checklist_desc, B.checklist_item_id, B.checklist_item_content, FROM goaf_checklist AS A left join goaf_checklist_item AS B ON B.checklist_id = A.checklist_id WHERE A.oc_id = ? ) tmp_count
  680. ### Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  681. left join goaf_checklist_item AS B ON' at line 8
  682. ; bad SQL grammar []
  683. org.springframework.jdbc.BadSqlGrammarException:
  684. ### Error querying database. Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  685. left join goaf_checklist_item AS B ON' at line 8
  686. ### The error may exist in file [E:\syf3prj\xps-server-3\xps-goaf\target\classes\mapper\GoafChecklistMapper.xml]
  687. ### The error may involve com.zhyc.xps.goaf.mapper.GoafChecklistMapper.getByPage-Inline
  688. ### The error occurred while setting parameters
  689. ### SQL: select count(0) from ( SELECT A.checklist_id, A.oc_id, A.checklist_title, A.checklist_desc, B.checklist_item_id, B.checklist_item_content, FROM goaf_checklist AS A left join goaf_checklist_item AS B ON B.checklist_id = A.checklist_id WHERE A.oc_id = ? ) tmp_count
  690. ### Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  691. left join goaf_checklist_item AS B ON' at line 8
  692. ; bad SQL grammar []
  693. at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:243)
  694. at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:70)
  695. at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:92)
  696. at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:439)
  697. at jdk.proxy2/jdk.proxy2.$Proxy108.selectList(Unknown Source)
  698. at org.mybatis.spring.SqlSessionTemplate.selectList(SqlSessionTemplate.java:224)
  699. at org.apache.ibatis.binding.MapperMethod.executeForMany(MapperMethod.java:147)
  700. at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:80)
  701. at org.apache.ibatis.binding.MapperProxy$PlainMethodInvoker.invoke(MapperProxy.java:145)
  702. at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:86)
  703. at jdk.proxy3/jdk.proxy3.$Proxy366.getByPage(Unknown Source)
  704. at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  705. at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
  706. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  707. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  708. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
  709. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:196)
  710. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
  711. at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:137)
  712. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
  713. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:218)
  714. at jdk.proxy3/jdk.proxy3.$Proxy367.getByPage(Unknown Source)
  715. at com.zhyc.xps.goaf.service.impl.GoafChecklistServiceImpl.getByPage(GoafChecklistServiceImpl.java:57)
  716. at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  717. at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
  718. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  719. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  720. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
  721. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:196)
  722. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
  723. at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750)
  724. at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:123)
  725. at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:390)
  726. at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119)
  727. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
  728. at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750)
  729. at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:702)
  730. at com.zhyc.xps.goaf.service.impl.GoafChecklistServiceImpl$$SpringCGLIB$$0.getByPage(<generated>)
  731. at com.zhyc.xps.goaf.controller.GoafChecklistController.getGoafChecklistBypage(GoafChecklistController.java:54)
  732. at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  733. at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
  734. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  735. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  736. at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:207)
  737. at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:152)
  738. at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117)
  739. at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:884)
  740. at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797)
  741. at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
  742. at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1081)
  743. at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:974)
  744. at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1011)
  745. at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:903)
  746. at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:527)
  747. at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:885)
  748. at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:614)
  749. at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)
  750. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129)
  751. at io.undertow.websockets.jsr.JsrWebSocketFilter.doFilter(JsrWebSocketFilter.java:172)
  752. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  753. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  754. at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
  755. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
  756. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  757. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  758. at org.springframework.web.filter.ServerHttpObservationFilter.doFilterInternal(ServerHttpObservationFilter.java:109)
  759. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
  760. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  761. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  762. at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
  763. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
  764. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  765. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  766. at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)
  767. at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
  768. at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68)
  769. at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
  770. at io.undertow.servlet.handlers.RedirectDirHandler.handleRequest(RedirectDirHandler.java:68)
  771. at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:117)
  772. at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
  773. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  774. at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
  775. at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
  776. at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
  777. at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)
  778. at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
  779. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  780. at io.undertow.servlet.handlers.SendErrorPageHandler.handleRequest(SendErrorPageHandler.java:52)
  781. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  782. at io.undertow.servlet.handlers.SessionRestoringHandler.handleRequest(SessionRestoringHandler.java:119)
  783. at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:276)
  784. at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135)
  785. at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:132)
  786. at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
  787. at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
  788. at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:256)
  789. at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:101)
  790. at io.undertow.server.Connectors.executeRootHandler(Connectors.java:393)
  791. at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:859)
  792. at org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18)
  793. at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2513)
  794. at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1538)
  795. at org.xnio.XnioWorker$WorkerThreadFactory$1$1.run(XnioWorker.java:1282)
  796. at java.base/java.lang.Thread.run(Thread.java:833)
  797. Caused by: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  798. left join goaf_checklist_item AS B ON' at line 8
  799. at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120)
  800. at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122)
  801. at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:916)
  802. at com.mysql.cj.jdbc.ClientPreparedStatement.execute(ClientPreparedStatement.java:354)
  803. at com.p6spy.engine.wrapper.PreparedStatementWrapper.execute(PreparedStatementWrapper.java:362)
  804. at com.zaxxer.hikari.pool.ProxyPreparedStatement.execute(ProxyPreparedStatement.java:44)
  805. at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.execute(HikariProxyPreparedStatement.java)
  806. at org.apache.ibatis.executor.statement.PreparedStatementHandler.query(PreparedStatementHandler.java:64)
  807. at org.apache.ibatis.executor.statement.RoutingStatementHandler.query(RoutingStatementHandler.java:79)
  808. at org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:63)
  809. at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:325)
  810. at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:156)
  811. at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:109)
  812. at com.github.pagehelper.util.ExecutorUtil.executeAutoCount(ExecutorUtil.java:169)
  813. at com.github.pagehelper.PageInterceptor.count(PageInterceptor.java:197)
  814. at com.github.pagehelper.PageInterceptor.intercept(PageInterceptor.java:140)
  815. at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:62)
  816. at jdk.proxy2/jdk.proxy2.$Proxy417.query(Unknown Source)
  817. at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:151)
  818. at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:145)
  819. at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:140)
  820. at jdk.internal.reflect.GeneratedMethodAccessor87.invoke(Unknown Source)
  821. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  822. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  823. at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:425)
  824. ... 100 common frames omitted
  825. 15:01:54.369 [XNIO-1 task-5] ERROR c.z.x.c.e.GlobalExceptionHandler -
  826. ### Error querying database. Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  827. left join goaf_checklist_item AS B ON' at line 8
  828. ### The error may exist in file [E:\syf3prj\xps-server-3\xps-goaf\target\classes\mapper\GoafChecklistMapper.xml]
  829. ### The error may involve com.zhyc.xps.goaf.mapper.GoafChecklistMapper.getByPage-Inline
  830. ### The error occurred while setting parameters
  831. ### SQL: select count(0) from ( SELECT A.checklist_id, A.oc_id, A.checklist_title, A.checklist_desc, B.checklist_item_id, B.checklist_item_content, FROM goaf_checklist AS A left join goaf_checklist_item AS B ON B.checklist_id = A.checklist_id WHERE A.oc_id = ? ) tmp_count
  832. ### Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  833. left join goaf_checklist_item AS B ON' at line 8
  834. ; bad SQL grammar []
  835. org.springframework.jdbc.BadSqlGrammarException:
  836. ### Error querying database. Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  837. left join goaf_checklist_item AS B ON' at line 8
  838. ### The error may exist in file [E:\syf3prj\xps-server-3\xps-goaf\target\classes\mapper\GoafChecklistMapper.xml]
  839. ### The error may involve com.zhyc.xps.goaf.mapper.GoafChecklistMapper.getByPage-Inline
  840. ### The error occurred while setting parameters
  841. ### SQL: select count(0) from ( SELECT A.checklist_id, A.oc_id, A.checklist_title, A.checklist_desc, B.checklist_item_id, B.checklist_item_content, FROM goaf_checklist AS A left join goaf_checklist_item AS B ON B.checklist_id = A.checklist_id WHERE A.oc_id = ? ) tmp_count
  842. ### Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  843. left join goaf_checklist_item AS B ON' at line 8
  844. ; bad SQL grammar []
  845. at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:243)
  846. at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:70)
  847. at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:92)
  848. at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:439)
  849. at jdk.proxy2/jdk.proxy2.$Proxy108.selectList(Unknown Source)
  850. at org.mybatis.spring.SqlSessionTemplate.selectList(SqlSessionTemplate.java:224)
  851. at org.apache.ibatis.binding.MapperMethod.executeForMany(MapperMethod.java:147)
  852. at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:80)
  853. at org.apache.ibatis.binding.MapperProxy$PlainMethodInvoker.invoke(MapperProxy.java:145)
  854. at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:86)
  855. at jdk.proxy3/jdk.proxy3.$Proxy366.getByPage(Unknown Source)
  856. at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  857. at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
  858. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  859. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  860. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
  861. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:196)
  862. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
  863. at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:137)
  864. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
  865. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:218)
  866. at jdk.proxy3/jdk.proxy3.$Proxy367.getByPage(Unknown Source)
  867. at com.zhyc.xps.goaf.service.impl.GoafChecklistServiceImpl.getByPage(GoafChecklistServiceImpl.java:57)
  868. at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  869. at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
  870. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  871. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  872. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
  873. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:196)
  874. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
  875. at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750)
  876. at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:123)
  877. at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:390)
  878. at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119)
  879. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
  880. at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750)
  881. at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:702)
  882. at com.zhyc.xps.goaf.service.impl.GoafChecklistServiceImpl$$SpringCGLIB$$0.getByPage(<generated>)
  883. at com.zhyc.xps.goaf.controller.GoafChecklistController.getGoafChecklistBypage(GoafChecklistController.java:54)
  884. at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  885. at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
  886. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  887. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  888. at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:207)
  889. at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:152)
  890. at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117)
  891. at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:884)
  892. at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797)
  893. at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
  894. at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1081)
  895. at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:974)
  896. at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1011)
  897. at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:903)
  898. at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:527)
  899. at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:885)
  900. at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:614)
  901. at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)
  902. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129)
  903. at io.undertow.websockets.jsr.JsrWebSocketFilter.doFilter(JsrWebSocketFilter.java:172)
  904. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  905. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  906. at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
  907. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
  908. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  909. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  910. at org.springframework.web.filter.ServerHttpObservationFilter.doFilterInternal(ServerHttpObservationFilter.java:109)
  911. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
  912. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  913. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  914. at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
  915. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
  916. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  917. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  918. at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)
  919. at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
  920. at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68)
  921. at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
  922. at io.undertow.servlet.handlers.RedirectDirHandler.handleRequest(RedirectDirHandler.java:68)
  923. at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:117)
  924. at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
  925. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  926. at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
  927. at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
  928. at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
  929. at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)
  930. at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
  931. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  932. at io.undertow.servlet.handlers.SendErrorPageHandler.handleRequest(SendErrorPageHandler.java:52)
  933. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  934. at io.undertow.servlet.handlers.SessionRestoringHandler.handleRequest(SessionRestoringHandler.java:119)
  935. at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:276)
  936. at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135)
  937. at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:132)
  938. at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
  939. at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
  940. at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:256)
  941. at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:101)
  942. at io.undertow.server.Connectors.executeRootHandler(Connectors.java:393)
  943. at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:859)
  944. at org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18)
  945. at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2513)
  946. at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1538)
  947. at org.xnio.XnioWorker$WorkerThreadFactory$1$1.run(XnioWorker.java:1282)
  948. at java.base/java.lang.Thread.run(Thread.java:833)
  949. Caused by: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  950. left join goaf_checklist_item AS B ON' at line 8
  951. at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120)
  952. at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122)
  953. at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:916)
  954. at com.mysql.cj.jdbc.ClientPreparedStatement.execute(ClientPreparedStatement.java:354)
  955. at com.p6spy.engine.wrapper.PreparedStatementWrapper.execute(PreparedStatementWrapper.java:362)
  956. at com.zaxxer.hikari.pool.ProxyPreparedStatement.execute(ProxyPreparedStatement.java:44)
  957. at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.execute(HikariProxyPreparedStatement.java)
  958. at org.apache.ibatis.executor.statement.PreparedStatementHandler.query(PreparedStatementHandler.java:64)
  959. at org.apache.ibatis.executor.statement.RoutingStatementHandler.query(RoutingStatementHandler.java:79)
  960. at org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:63)
  961. at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:325)
  962. at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:156)
  963. at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:109)
  964. at com.github.pagehelper.util.ExecutorUtil.executeAutoCount(ExecutorUtil.java:169)
  965. at com.github.pagehelper.PageInterceptor.count(PageInterceptor.java:197)
  966. at com.github.pagehelper.PageInterceptor.intercept(PageInterceptor.java:140)
  967. at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:62)
  968. at jdk.proxy2/jdk.proxy2.$Proxy417.query(Unknown Source)
  969. at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:151)
  970. at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:145)
  971. at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:140)
  972. at jdk.internal.reflect.GeneratedMethodAccessor87.invoke(Unknown Source)
  973. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  974. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  975. at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:425)
  976. ... 100 common frames omitted
  977. 15:02:30.589 [XNIO-1 task-5] ERROR c.z.x.c.e.GlobalExceptionHandler -
  978. ### Error querying database. Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  979. left join goaf_checklist_item AS B ON' at line 8
  980. ### The error may exist in file [E:\syf3prj\xps-server-3\xps-goaf\target\classes\mapper\GoafChecklistMapper.xml]
  981. ### The error may involve com.zhyc.xps.goaf.mapper.GoafChecklistMapper.getByPage-Inline
  982. ### The error occurred while setting parameters
  983. ### SQL: select count(0) from ( SELECT A.checklist_id, A.oc_id, A.checklist_title, A.checklist_desc, B.checklist_item_id, B.checklist_item_content, FROM goaf_checklist AS A left join goaf_checklist_item AS B ON B.checklist_id = A.checklist_id WHERE A.oc_id = ? ) tmp_count
  984. ### Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  985. left join goaf_checklist_item AS B ON' at line 8
  986. ; bad SQL grammar []
  987. org.springframework.jdbc.BadSqlGrammarException:
  988. ### Error querying database. Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  989. left join goaf_checklist_item AS B ON' at line 8
  990. ### The error may exist in file [E:\syf3prj\xps-server-3\xps-goaf\target\classes\mapper\GoafChecklistMapper.xml]
  991. ### The error may involve com.zhyc.xps.goaf.mapper.GoafChecklistMapper.getByPage-Inline
  992. ### The error occurred while setting parameters
  993. ### SQL: select count(0) from ( SELECT A.checklist_id, A.oc_id, A.checklist_title, A.checklist_desc, B.checklist_item_id, B.checklist_item_content, FROM goaf_checklist AS A left join goaf_checklist_item AS B ON B.checklist_id = A.checklist_id WHERE A.oc_id = ? ) tmp_count
  994. ### Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  995. left join goaf_checklist_item AS B ON' at line 8
  996. ; bad SQL grammar []
  997. at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:243)
  998. at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:70)
  999. at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:92)
  1000. at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:439)
  1001. at jdk.proxy2/jdk.proxy2.$Proxy108.selectList(Unknown Source)
  1002. at org.mybatis.spring.SqlSessionTemplate.selectList(SqlSessionTemplate.java:224)
  1003. at org.apache.ibatis.binding.MapperMethod.executeForMany(MapperMethod.java:147)
  1004. at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:80)
  1005. at org.apache.ibatis.binding.MapperProxy$PlainMethodInvoker.invoke(MapperProxy.java:145)
  1006. at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:86)
  1007. at jdk.proxy3/jdk.proxy3.$Proxy366.getByPage(Unknown Source)
  1008. at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  1009. at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
  1010. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  1011. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  1012. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
  1013. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:196)
  1014. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
  1015. at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:137)
  1016. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
  1017. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:218)
  1018. at jdk.proxy3/jdk.proxy3.$Proxy367.getByPage(Unknown Source)
  1019. at com.zhyc.xps.goaf.service.impl.GoafChecklistServiceImpl.getByPage(GoafChecklistServiceImpl.java:57)
  1020. at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  1021. at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
  1022. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  1023. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  1024. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
  1025. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:196)
  1026. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
  1027. at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750)
  1028. at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:123)
  1029. at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:390)
  1030. at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119)
  1031. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
  1032. at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750)
  1033. at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:702)
  1034. at com.zhyc.xps.goaf.service.impl.GoafChecklistServiceImpl$$SpringCGLIB$$0.getByPage(<generated>)
  1035. at com.zhyc.xps.goaf.controller.GoafChecklistController.getGoafChecklistBypage(GoafChecklistController.java:54)
  1036. at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  1037. at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
  1038. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  1039. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  1040. at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:207)
  1041. at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:152)
  1042. at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117)
  1043. at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:884)
  1044. at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797)
  1045. at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
  1046. at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1081)
  1047. at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:974)
  1048. at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1011)
  1049. at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:903)
  1050. at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:527)
  1051. at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:885)
  1052. at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:614)
  1053. at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)
  1054. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129)
  1055. at io.undertow.websockets.jsr.JsrWebSocketFilter.doFilter(JsrWebSocketFilter.java:172)
  1056. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  1057. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  1058. at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
  1059. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
  1060. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  1061. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  1062. at org.springframework.web.filter.ServerHttpObservationFilter.doFilterInternal(ServerHttpObservationFilter.java:109)
  1063. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
  1064. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  1065. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  1066. at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
  1067. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
  1068. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  1069. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  1070. at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)
  1071. at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
  1072. at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68)
  1073. at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
  1074. at io.undertow.servlet.handlers.RedirectDirHandler.handleRequest(RedirectDirHandler.java:68)
  1075. at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:117)
  1076. at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
  1077. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  1078. at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
  1079. at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
  1080. at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
  1081. at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)
  1082. at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
  1083. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  1084. at io.undertow.servlet.handlers.SendErrorPageHandler.handleRequest(SendErrorPageHandler.java:52)
  1085. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  1086. at io.undertow.servlet.handlers.SessionRestoringHandler.handleRequest(SessionRestoringHandler.java:119)
  1087. at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:276)
  1088. at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135)
  1089. at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:132)
  1090. at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
  1091. at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
  1092. at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:256)
  1093. at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:101)
  1094. at io.undertow.server.Connectors.executeRootHandler(Connectors.java:393)
  1095. at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:859)
  1096. at org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18)
  1097. at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2513)
  1098. at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1538)
  1099. at org.xnio.XnioWorker$WorkerThreadFactory$1$1.run(XnioWorker.java:1282)
  1100. at java.base/java.lang.Thread.run(Thread.java:833)
  1101. Caused by: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  1102. left join goaf_checklist_item AS B ON' at line 8
  1103. at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120)
  1104. at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122)
  1105. at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:916)
  1106. at com.mysql.cj.jdbc.ClientPreparedStatement.execute(ClientPreparedStatement.java:354)
  1107. at com.p6spy.engine.wrapper.PreparedStatementWrapper.execute(PreparedStatementWrapper.java:362)
  1108. at com.zaxxer.hikari.pool.ProxyPreparedStatement.execute(ProxyPreparedStatement.java:44)
  1109. at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.execute(HikariProxyPreparedStatement.java)
  1110. at org.apache.ibatis.executor.statement.PreparedStatementHandler.query(PreparedStatementHandler.java:64)
  1111. at org.apache.ibatis.executor.statement.RoutingStatementHandler.query(RoutingStatementHandler.java:79)
  1112. at org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:63)
  1113. at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:325)
  1114. at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:156)
  1115. at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:109)
  1116. at com.github.pagehelper.util.ExecutorUtil.executeAutoCount(ExecutorUtil.java:169)
  1117. at com.github.pagehelper.PageInterceptor.count(PageInterceptor.java:197)
  1118. at com.github.pagehelper.PageInterceptor.intercept(PageInterceptor.java:140)
  1119. at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:62)
  1120. at jdk.proxy2/jdk.proxy2.$Proxy417.query(Unknown Source)
  1121. at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:151)
  1122. at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:145)
  1123. at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:140)
  1124. at jdk.internal.reflect.GeneratedMethodAccessor87.invoke(Unknown Source)
  1125. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  1126. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  1127. at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:425)
  1128. ... 100 common frames omitted
  1129. 15:03:23.283 [XNIO-1 task-2] ERROR c.z.x.c.e.GlobalExceptionHandler -
  1130. ### Error querying database. Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  1131. left join goaf_checklist_item AS B ON' at line 8
  1132. ### The error may exist in file [E:\syf3prj\xps-server-3\xps-goaf\target\classes\mapper\GoafChecklistMapper.xml]
  1133. ### The error may involve com.zhyc.xps.goaf.mapper.GoafChecklistMapper.getByPage-Inline
  1134. ### The error occurred while setting parameters
  1135. ### SQL: select count(0) from ( SELECT A.checklist_id, A.oc_id, A.checklist_title, A.checklist_desc, B.checklist_item_id, B.checklist_item_content, FROM goaf_checklist AS A left join goaf_checklist_item AS B ON B.checklist_id = A.checklist_id WHERE A.oc_id = ? ) tmp_count
  1136. ### Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  1137. left join goaf_checklist_item AS B ON' at line 8
  1138. ; bad SQL grammar []
  1139. org.springframework.jdbc.BadSqlGrammarException:
  1140. ### Error querying database. Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  1141. left join goaf_checklist_item AS B ON' at line 8
  1142. ### The error may exist in file [E:\syf3prj\xps-server-3\xps-goaf\target\classes\mapper\GoafChecklistMapper.xml]
  1143. ### The error may involve com.zhyc.xps.goaf.mapper.GoafChecklistMapper.getByPage-Inline
  1144. ### The error occurred while setting parameters
  1145. ### SQL: select count(0) from ( SELECT A.checklist_id, A.oc_id, A.checklist_title, A.checklist_desc, B.checklist_item_id, B.checklist_item_content, FROM goaf_checklist AS A left join goaf_checklist_item AS B ON B.checklist_id = A.checklist_id WHERE A.oc_id = ? ) tmp_count
  1146. ### Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  1147. left join goaf_checklist_item AS B ON' at line 8
  1148. ; bad SQL grammar []
  1149. at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:243)
  1150. at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:70)
  1151. at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:92)
  1152. at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:439)
  1153. at jdk.proxy2/jdk.proxy2.$Proxy108.selectList(Unknown Source)
  1154. at org.mybatis.spring.SqlSessionTemplate.selectList(SqlSessionTemplate.java:224)
  1155. at org.apache.ibatis.binding.MapperMethod.executeForMany(MapperMethod.java:147)
  1156. at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:80)
  1157. at org.apache.ibatis.binding.MapperProxy$PlainMethodInvoker.invoke(MapperProxy.java:145)
  1158. at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:86)
  1159. at jdk.proxy3/jdk.proxy3.$Proxy366.getByPage(Unknown Source)
  1160. at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  1161. at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
  1162. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  1163. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  1164. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
  1165. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:196)
  1166. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
  1167. at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:137)
  1168. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
  1169. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:218)
  1170. at jdk.proxy3/jdk.proxy3.$Proxy367.getByPage(Unknown Source)
  1171. at com.zhyc.xps.goaf.service.impl.GoafChecklistServiceImpl.getByPage(GoafChecklistServiceImpl.java:57)
  1172. at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  1173. at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
  1174. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  1175. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  1176. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
  1177. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:196)
  1178. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
  1179. at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750)
  1180. at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:123)
  1181. at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:390)
  1182. at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119)
  1183. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
  1184. at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750)
  1185. at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:702)
  1186. at com.zhyc.xps.goaf.service.impl.GoafChecklistServiceImpl$$SpringCGLIB$$0.getByPage(<generated>)
  1187. at com.zhyc.xps.goaf.controller.GoafChecklistController.getGoafChecklistBypage(GoafChecklistController.java:54)
  1188. at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  1189. at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
  1190. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  1191. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  1192. at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:207)
  1193. at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:152)
  1194. at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117)
  1195. at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:884)
  1196. at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797)
  1197. at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
  1198. at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1081)
  1199. at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:974)
  1200. at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1011)
  1201. at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:903)
  1202. at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:527)
  1203. at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:885)
  1204. at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:614)
  1205. at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)
  1206. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129)
  1207. at io.undertow.websockets.jsr.JsrWebSocketFilter.doFilter(JsrWebSocketFilter.java:172)
  1208. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  1209. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  1210. at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
  1211. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
  1212. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  1213. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  1214. at org.springframework.web.filter.ServerHttpObservationFilter.doFilterInternal(ServerHttpObservationFilter.java:109)
  1215. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
  1216. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  1217. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  1218. at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
  1219. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
  1220. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  1221. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  1222. at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)
  1223. at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
  1224. at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68)
  1225. at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
  1226. at io.undertow.servlet.handlers.RedirectDirHandler.handleRequest(RedirectDirHandler.java:68)
  1227. at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:117)
  1228. at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
  1229. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  1230. at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
  1231. at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
  1232. at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
  1233. at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)
  1234. at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
  1235. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  1236. at io.undertow.servlet.handlers.SendErrorPageHandler.handleRequest(SendErrorPageHandler.java:52)
  1237. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  1238. at io.undertow.servlet.handlers.SessionRestoringHandler.handleRequest(SessionRestoringHandler.java:119)
  1239. at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:276)
  1240. at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135)
  1241. at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:132)
  1242. at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
  1243. at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
  1244. at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:256)
  1245. at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:101)
  1246. at io.undertow.server.Connectors.executeRootHandler(Connectors.java:393)
  1247. at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:859)
  1248. at org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18)
  1249. at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2513)
  1250. at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1538)
  1251. at org.xnio.XnioWorker$WorkerThreadFactory$1$1.run(XnioWorker.java:1282)
  1252. at java.base/java.lang.Thread.run(Thread.java:833)
  1253. Caused by: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  1254. left join goaf_checklist_item AS B ON' at line 8
  1255. at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120)
  1256. at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122)
  1257. at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:916)
  1258. at com.mysql.cj.jdbc.ClientPreparedStatement.execute(ClientPreparedStatement.java:354)
  1259. at com.p6spy.engine.wrapper.PreparedStatementWrapper.execute(PreparedStatementWrapper.java:362)
  1260. at com.zaxxer.hikari.pool.ProxyPreparedStatement.execute(ProxyPreparedStatement.java:44)
  1261. at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.execute(HikariProxyPreparedStatement.java)
  1262. at org.apache.ibatis.executor.statement.PreparedStatementHandler.query(PreparedStatementHandler.java:64)
  1263. at org.apache.ibatis.executor.statement.RoutingStatementHandler.query(RoutingStatementHandler.java:79)
  1264. at org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:63)
  1265. at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:325)
  1266. at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:156)
  1267. at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:109)
  1268. at com.github.pagehelper.util.ExecutorUtil.executeAutoCount(ExecutorUtil.java:169)
  1269. at com.github.pagehelper.PageInterceptor.count(PageInterceptor.java:197)
  1270. at com.github.pagehelper.PageInterceptor.intercept(PageInterceptor.java:140)
  1271. at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:62)
  1272. at jdk.proxy2/jdk.proxy2.$Proxy417.query(Unknown Source)
  1273. at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:151)
  1274. at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:145)
  1275. at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:140)
  1276. at jdk.internal.reflect.GeneratedMethodAccessor87.invoke(Unknown Source)
  1277. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  1278. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  1279. at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:425)
  1280. ... 100 common frames omitted
  1281. 15:04:04.296 [XNIO-1 task-5] ERROR c.z.x.c.e.GlobalExceptionHandler -
  1282. ### Error querying database. Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  1283. left join goaf_checklist_item AS B ON' at line 8
  1284. ### The error may exist in file [E:\syf3prj\xps-server-3\xps-goaf\target\classes\mapper\GoafChecklistMapper.xml]
  1285. ### The error may involve com.zhyc.xps.goaf.mapper.GoafChecklistMapper.getByPage-Inline
  1286. ### The error occurred while setting parameters
  1287. ### SQL: select count(0) from ( SELECT A.checklist_id, A.oc_id, A.checklist_title, A.checklist_desc, B.checklist_item_id, B.checklist_item_content, FROM goaf_checklist AS A left join goaf_checklist_item AS B ON B.checklist_id = A.checklist_id WHERE A.oc_id = ? ) tmp_count
  1288. ### Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  1289. left join goaf_checklist_item AS B ON' at line 8
  1290. ; bad SQL grammar []
  1291. org.springframework.jdbc.BadSqlGrammarException:
  1292. ### Error querying database. Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  1293. left join goaf_checklist_item AS B ON' at line 8
  1294. ### The error may exist in file [E:\syf3prj\xps-server-3\xps-goaf\target\classes\mapper\GoafChecklistMapper.xml]
  1295. ### The error may involve com.zhyc.xps.goaf.mapper.GoafChecklistMapper.getByPage-Inline
  1296. ### The error occurred while setting parameters
  1297. ### SQL: select count(0) from ( SELECT A.checklist_id, A.oc_id, A.checklist_title, A.checklist_desc, B.checklist_item_id, B.checklist_item_content, FROM goaf_checklist AS A left join goaf_checklist_item AS B ON B.checklist_id = A.checklist_id WHERE A.oc_id = ? ) tmp_count
  1298. ### Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  1299. left join goaf_checklist_item AS B ON' at line 8
  1300. ; bad SQL grammar []
  1301. at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:243)
  1302. at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:70)
  1303. at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:92)
  1304. at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:439)
  1305. at jdk.proxy2/jdk.proxy2.$Proxy108.selectList(Unknown Source)
  1306. at org.mybatis.spring.SqlSessionTemplate.selectList(SqlSessionTemplate.java:224)
  1307. at org.apache.ibatis.binding.MapperMethod.executeForMany(MapperMethod.java:147)
  1308. at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:80)
  1309. at org.apache.ibatis.binding.MapperProxy$PlainMethodInvoker.invoke(MapperProxy.java:145)
  1310. at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:86)
  1311. at jdk.proxy3/jdk.proxy3.$Proxy366.getByPage(Unknown Source)
  1312. at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  1313. at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
  1314. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  1315. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  1316. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
  1317. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:196)
  1318. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
  1319. at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:137)
  1320. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
  1321. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:218)
  1322. at jdk.proxy3/jdk.proxy3.$Proxy367.getByPage(Unknown Source)
  1323. at com.zhyc.xps.goaf.service.impl.GoafChecklistServiceImpl.getByPage(GoafChecklistServiceImpl.java:57)
  1324. at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  1325. at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
  1326. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  1327. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  1328. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
  1329. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:196)
  1330. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
  1331. at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750)
  1332. at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:123)
  1333. at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:390)
  1334. at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119)
  1335. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
  1336. at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750)
  1337. at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:702)
  1338. at com.zhyc.xps.goaf.service.impl.GoafChecklistServiceImpl$$SpringCGLIB$$0.getByPage(<generated>)
  1339. at com.zhyc.xps.goaf.controller.GoafChecklistController.getGoafChecklistBypage(GoafChecklistController.java:54)
  1340. at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  1341. at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
  1342. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  1343. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  1344. at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:207)
  1345. at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:152)
  1346. at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117)
  1347. at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:884)
  1348. at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797)
  1349. at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
  1350. at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1081)
  1351. at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:974)
  1352. at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1011)
  1353. at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:903)
  1354. at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:527)
  1355. at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:885)
  1356. at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:614)
  1357. at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)
  1358. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129)
  1359. at io.undertow.websockets.jsr.JsrWebSocketFilter.doFilter(JsrWebSocketFilter.java:172)
  1360. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  1361. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  1362. at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
  1363. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
  1364. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  1365. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  1366. at org.springframework.web.filter.ServerHttpObservationFilter.doFilterInternal(ServerHttpObservationFilter.java:109)
  1367. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
  1368. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  1369. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  1370. at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
  1371. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
  1372. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  1373. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  1374. at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)
  1375. at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
  1376. at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68)
  1377. at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
  1378. at io.undertow.servlet.handlers.RedirectDirHandler.handleRequest(RedirectDirHandler.java:68)
  1379. at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:117)
  1380. at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
  1381. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  1382. at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
  1383. at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
  1384. at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
  1385. at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)
  1386. at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
  1387. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  1388. at io.undertow.servlet.handlers.SendErrorPageHandler.handleRequest(SendErrorPageHandler.java:52)
  1389. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  1390. at io.undertow.servlet.handlers.SessionRestoringHandler.handleRequest(SessionRestoringHandler.java:119)
  1391. at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:276)
  1392. at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135)
  1393. at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:132)
  1394. at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
  1395. at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
  1396. at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:256)
  1397. at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:101)
  1398. at io.undertow.server.Connectors.executeRootHandler(Connectors.java:393)
  1399. at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:859)
  1400. at org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18)
  1401. at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2513)
  1402. at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1538)
  1403. at org.xnio.XnioWorker$WorkerThreadFactory$1$1.run(XnioWorker.java:1282)
  1404. at java.base/java.lang.Thread.run(Thread.java:833)
  1405. Caused by: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  1406. left join goaf_checklist_item AS B ON' at line 8
  1407. at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120)
  1408. at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122)
  1409. at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:916)
  1410. at com.mysql.cj.jdbc.ClientPreparedStatement.execute(ClientPreparedStatement.java:354)
  1411. at com.p6spy.engine.wrapper.PreparedStatementWrapper.execute(PreparedStatementWrapper.java:362)
  1412. at com.zaxxer.hikari.pool.ProxyPreparedStatement.execute(ProxyPreparedStatement.java:44)
  1413. at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.execute(HikariProxyPreparedStatement.java)
  1414. at org.apache.ibatis.executor.statement.PreparedStatementHandler.query(PreparedStatementHandler.java:64)
  1415. at org.apache.ibatis.executor.statement.RoutingStatementHandler.query(RoutingStatementHandler.java:79)
  1416. at org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:63)
  1417. at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:325)
  1418. at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:156)
  1419. at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:109)
  1420. at com.github.pagehelper.util.ExecutorUtil.executeAutoCount(ExecutorUtil.java:169)
  1421. at com.github.pagehelper.PageInterceptor.count(PageInterceptor.java:197)
  1422. at com.github.pagehelper.PageInterceptor.intercept(PageInterceptor.java:140)
  1423. at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:62)
  1424. at jdk.proxy2/jdk.proxy2.$Proxy417.query(Unknown Source)
  1425. at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:151)
  1426. at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:145)
  1427. at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:140)
  1428. at jdk.internal.reflect.GeneratedMethodAccessor87.invoke(Unknown Source)
  1429. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  1430. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  1431. at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:425)
  1432. ... 100 common frames omitted
  1433. 15:04:53.434 [XNIO-1 task-5] ERROR c.z.x.c.e.GlobalExceptionHandler -
  1434. ### Error querying database. Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  1435. left join goaf_checklist_item AS B ON' at line 8
  1436. ### The error may exist in file [E:\syf3prj\xps-server-3\xps-goaf\target\classes\mapper\GoafChecklistMapper.xml]
  1437. ### The error may involve com.zhyc.xps.goaf.mapper.GoafChecklistMapper.getByPage-Inline
  1438. ### The error occurred while setting parameters
  1439. ### SQL: select count(0) from ( SELECT A.checklist_id, A.oc_id, A.checklist_title, A.checklist_desc, B.checklist_item_id, B.checklist_item_content, FROM goaf_checklist AS A left join goaf_checklist_item AS B ON B.checklist_id = A.checklist_id WHERE A.oc_id = ? ) tmp_count
  1440. ### Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  1441. left join goaf_checklist_item AS B ON' at line 8
  1442. ; bad SQL grammar []
  1443. org.springframework.jdbc.BadSqlGrammarException:
  1444. ### Error querying database. Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  1445. left join goaf_checklist_item AS B ON' at line 8
  1446. ### The error may exist in file [E:\syf3prj\xps-server-3\xps-goaf\target\classes\mapper\GoafChecklistMapper.xml]
  1447. ### The error may involve com.zhyc.xps.goaf.mapper.GoafChecklistMapper.getByPage-Inline
  1448. ### The error occurred while setting parameters
  1449. ### SQL: select count(0) from ( SELECT A.checklist_id, A.oc_id, A.checklist_title, A.checklist_desc, B.checklist_item_id, B.checklist_item_content, FROM goaf_checklist AS A left join goaf_checklist_item AS B ON B.checklist_id = A.checklist_id WHERE A.oc_id = ? ) tmp_count
  1450. ### Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  1451. left join goaf_checklist_item AS B ON' at line 8
  1452. ; bad SQL grammar []
  1453. at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:243)
  1454. at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:70)
  1455. at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:92)
  1456. at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:439)
  1457. at jdk.proxy2/jdk.proxy2.$Proxy108.selectList(Unknown Source)
  1458. at org.mybatis.spring.SqlSessionTemplate.selectList(SqlSessionTemplate.java:224)
  1459. at org.apache.ibatis.binding.MapperMethod.executeForMany(MapperMethod.java:147)
  1460. at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:80)
  1461. at org.apache.ibatis.binding.MapperProxy$PlainMethodInvoker.invoke(MapperProxy.java:145)
  1462. at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:86)
  1463. at jdk.proxy3/jdk.proxy3.$Proxy366.getByPage(Unknown Source)
  1464. at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  1465. at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
  1466. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  1467. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  1468. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
  1469. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:196)
  1470. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
  1471. at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:137)
  1472. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
  1473. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:218)
  1474. at jdk.proxy3/jdk.proxy3.$Proxy367.getByPage(Unknown Source)
  1475. at com.zhyc.xps.goaf.service.impl.GoafChecklistServiceImpl.getByPage(GoafChecklistServiceImpl.java:57)
  1476. at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  1477. at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
  1478. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  1479. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  1480. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
  1481. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:196)
  1482. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
  1483. at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750)
  1484. at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:123)
  1485. at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:390)
  1486. at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119)
  1487. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
  1488. at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750)
  1489. at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:702)
  1490. at com.zhyc.xps.goaf.service.impl.GoafChecklistServiceImpl$$SpringCGLIB$$0.getByPage(<generated>)
  1491. at com.zhyc.xps.goaf.controller.GoafChecklistController.getGoafChecklistBypage(GoafChecklistController.java:54)
  1492. at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  1493. at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
  1494. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  1495. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  1496. at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:207)
  1497. at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:152)
  1498. at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117)
  1499. at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:884)
  1500. at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797)
  1501. at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
  1502. at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1081)
  1503. at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:974)
  1504. at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1011)
  1505. at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:903)
  1506. at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:527)
  1507. at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:885)
  1508. at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:614)
  1509. at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)
  1510. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129)
  1511. at io.undertow.websockets.jsr.JsrWebSocketFilter.doFilter(JsrWebSocketFilter.java:172)
  1512. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  1513. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  1514. at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
  1515. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
  1516. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  1517. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  1518. at org.springframework.web.filter.ServerHttpObservationFilter.doFilterInternal(ServerHttpObservationFilter.java:109)
  1519. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
  1520. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  1521. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  1522. at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
  1523. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
  1524. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  1525. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  1526. at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)
  1527. at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
  1528. at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68)
  1529. at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
  1530. at io.undertow.servlet.handlers.RedirectDirHandler.handleRequest(RedirectDirHandler.java:68)
  1531. at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:117)
  1532. at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
  1533. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  1534. at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
  1535. at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
  1536. at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
  1537. at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)
  1538. at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
  1539. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  1540. at io.undertow.servlet.handlers.SendErrorPageHandler.handleRequest(SendErrorPageHandler.java:52)
  1541. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  1542. at io.undertow.servlet.handlers.SessionRestoringHandler.handleRequest(SessionRestoringHandler.java:119)
  1543. at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:276)
  1544. at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135)
  1545. at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:132)
  1546. at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
  1547. at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
  1548. at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:256)
  1549. at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:101)
  1550. at io.undertow.server.Connectors.executeRootHandler(Connectors.java:393)
  1551. at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:859)
  1552. at org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18)
  1553. at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2513)
  1554. at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1538)
  1555. at org.xnio.XnioWorker$WorkerThreadFactory$1$1.run(XnioWorker.java:1282)
  1556. at java.base/java.lang.Thread.run(Thread.java:833)
  1557. Caused by: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  1558. left join goaf_checklist_item AS B ON' at line 8
  1559. at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120)
  1560. at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122)
  1561. at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:916)
  1562. at com.mysql.cj.jdbc.ClientPreparedStatement.execute(ClientPreparedStatement.java:354)
  1563. at com.p6spy.engine.wrapper.PreparedStatementWrapper.execute(PreparedStatementWrapper.java:362)
  1564. at com.zaxxer.hikari.pool.ProxyPreparedStatement.execute(ProxyPreparedStatement.java:44)
  1565. at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.execute(HikariProxyPreparedStatement.java)
  1566. at org.apache.ibatis.executor.statement.PreparedStatementHandler.query(PreparedStatementHandler.java:64)
  1567. at org.apache.ibatis.executor.statement.RoutingStatementHandler.query(RoutingStatementHandler.java:79)
  1568. at org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:63)
  1569. at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:325)
  1570. at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:156)
  1571. at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:109)
  1572. at com.github.pagehelper.util.ExecutorUtil.executeAutoCount(ExecutorUtil.java:169)
  1573. at com.github.pagehelper.PageInterceptor.count(PageInterceptor.java:197)
  1574. at com.github.pagehelper.PageInterceptor.intercept(PageInterceptor.java:140)
  1575. at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:62)
  1576. at jdk.proxy2/jdk.proxy2.$Proxy417.query(Unknown Source)
  1577. at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:151)
  1578. at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:145)
  1579. at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:140)
  1580. at jdk.internal.reflect.GeneratedMethodAccessor87.invoke(Unknown Source)
  1581. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  1582. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  1583. at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:425)
  1584. ... 100 common frames omitted
  1585. 15:05:37.293 [XNIO-1 task-5] ERROR c.z.x.c.e.GlobalExceptionHandler -
  1586. ### Error querying database. Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  1587. left join goaf_checklist_item AS B ON' at line 8
  1588. ### The error may exist in file [E:\syf3prj\xps-server-3\xps-goaf\target\classes\mapper\GoafChecklistMapper.xml]
  1589. ### The error may involve com.zhyc.xps.goaf.mapper.GoafChecklistMapper.getByPage-Inline
  1590. ### The error occurred while setting parameters
  1591. ### SQL: select count(0) from ( SELECT A.checklist_id, A.oc_id, A.checklist_title, A.checklist_desc, B.checklist_item_id, B.checklist_item_content, FROM goaf_checklist AS A left join goaf_checklist_item AS B ON B.checklist_id = A.checklist_id WHERE A.oc_id = ? ) tmp_count
  1592. ### Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  1593. left join goaf_checklist_item AS B ON' at line 8
  1594. ; bad SQL grammar []
  1595. org.springframework.jdbc.BadSqlGrammarException:
  1596. ### Error querying database. Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  1597. left join goaf_checklist_item AS B ON' at line 8
  1598. ### The error may exist in file [E:\syf3prj\xps-server-3\xps-goaf\target\classes\mapper\GoafChecklistMapper.xml]
  1599. ### The error may involve com.zhyc.xps.goaf.mapper.GoafChecklistMapper.getByPage-Inline
  1600. ### The error occurred while setting parameters
  1601. ### SQL: select count(0) from ( SELECT A.checklist_id, A.oc_id, A.checklist_title, A.checklist_desc, B.checklist_item_id, B.checklist_item_content, FROM goaf_checklist AS A left join goaf_checklist_item AS B ON B.checklist_id = A.checklist_id WHERE A.oc_id = ? ) tmp_count
  1602. ### Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  1603. left join goaf_checklist_item AS B ON' at line 8
  1604. ; bad SQL grammar []
  1605. at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:243)
  1606. at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:70)
  1607. at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:92)
  1608. at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:439)
  1609. at jdk.proxy2/jdk.proxy2.$Proxy108.selectList(Unknown Source)
  1610. at org.mybatis.spring.SqlSessionTemplate.selectList(SqlSessionTemplate.java:224)
  1611. at org.apache.ibatis.binding.MapperMethod.executeForMany(MapperMethod.java:147)
  1612. at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:80)
  1613. at org.apache.ibatis.binding.MapperProxy$PlainMethodInvoker.invoke(MapperProxy.java:145)
  1614. at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:86)
  1615. at jdk.proxy3/jdk.proxy3.$Proxy366.getByPage(Unknown Source)
  1616. at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  1617. at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
  1618. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  1619. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  1620. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
  1621. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:196)
  1622. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
  1623. at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:137)
  1624. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
  1625. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:218)
  1626. at jdk.proxy3/jdk.proxy3.$Proxy367.getByPage(Unknown Source)
  1627. at com.zhyc.xps.goaf.service.impl.GoafChecklistServiceImpl.getByPage(GoafChecklistServiceImpl.java:57)
  1628. at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  1629. at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
  1630. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  1631. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  1632. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
  1633. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:196)
  1634. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
  1635. at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750)
  1636. at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:123)
  1637. at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:390)
  1638. at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119)
  1639. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
  1640. at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750)
  1641. at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:702)
  1642. at com.zhyc.xps.goaf.service.impl.GoafChecklistServiceImpl$$SpringCGLIB$$0.getByPage(<generated>)
  1643. at com.zhyc.xps.goaf.controller.GoafChecklistController.getGoafChecklistBypage(GoafChecklistController.java:54)
  1644. at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  1645. at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
  1646. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  1647. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  1648. at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:207)
  1649. at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:152)
  1650. at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117)
  1651. at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:884)
  1652. at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797)
  1653. at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
  1654. at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1081)
  1655. at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:974)
  1656. at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1011)
  1657. at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:903)
  1658. at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:527)
  1659. at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:885)
  1660. at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:614)
  1661. at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)
  1662. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129)
  1663. at io.undertow.websockets.jsr.JsrWebSocketFilter.doFilter(JsrWebSocketFilter.java:172)
  1664. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  1665. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  1666. at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
  1667. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
  1668. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  1669. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  1670. at org.springframework.web.filter.ServerHttpObservationFilter.doFilterInternal(ServerHttpObservationFilter.java:109)
  1671. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
  1672. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  1673. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  1674. at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
  1675. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
  1676. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  1677. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  1678. at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)
  1679. at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
  1680. at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68)
  1681. at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
  1682. at io.undertow.servlet.handlers.RedirectDirHandler.handleRequest(RedirectDirHandler.java:68)
  1683. at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:117)
  1684. at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
  1685. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  1686. at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
  1687. at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
  1688. at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
  1689. at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)
  1690. at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
  1691. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  1692. at io.undertow.servlet.handlers.SendErrorPageHandler.handleRequest(SendErrorPageHandler.java:52)
  1693. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  1694. at io.undertow.servlet.handlers.SessionRestoringHandler.handleRequest(SessionRestoringHandler.java:119)
  1695. at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:276)
  1696. at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135)
  1697. at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:132)
  1698. at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
  1699. at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
  1700. at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:256)
  1701. at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:101)
  1702. at io.undertow.server.Connectors.executeRootHandler(Connectors.java:393)
  1703. at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:859)
  1704. at org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18)
  1705. at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2513)
  1706. at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1538)
  1707. at org.xnio.XnioWorker$WorkerThreadFactory$1$1.run(XnioWorker.java:1282)
  1708. at java.base/java.lang.Thread.run(Thread.java:833)
  1709. Caused by: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  1710. left join goaf_checklist_item AS B ON' at line 8
  1711. at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120)
  1712. at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122)
  1713. at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:916)
  1714. at com.mysql.cj.jdbc.ClientPreparedStatement.execute(ClientPreparedStatement.java:354)
  1715. at com.p6spy.engine.wrapper.PreparedStatementWrapper.execute(PreparedStatementWrapper.java:362)
  1716. at com.zaxxer.hikari.pool.ProxyPreparedStatement.execute(ProxyPreparedStatement.java:44)
  1717. at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.execute(HikariProxyPreparedStatement.java)
  1718. at org.apache.ibatis.executor.statement.PreparedStatementHandler.query(PreparedStatementHandler.java:64)
  1719. at org.apache.ibatis.executor.statement.RoutingStatementHandler.query(RoutingStatementHandler.java:79)
  1720. at org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:63)
  1721. at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:325)
  1722. at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:156)
  1723. at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:109)
  1724. at com.github.pagehelper.util.ExecutorUtil.executeAutoCount(ExecutorUtil.java:169)
  1725. at com.github.pagehelper.PageInterceptor.count(PageInterceptor.java:197)
  1726. at com.github.pagehelper.PageInterceptor.intercept(PageInterceptor.java:140)
  1727. at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:62)
  1728. at jdk.proxy2/jdk.proxy2.$Proxy417.query(Unknown Source)
  1729. at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:151)
  1730. at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:145)
  1731. at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:140)
  1732. at jdk.internal.reflect.GeneratedMethodAccessor87.invoke(Unknown Source)
  1733. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  1734. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  1735. at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:425)
  1736. ... 100 common frames omitted
  1737. 15:06:51.583 [XNIO-1 task-5] ERROR c.z.x.c.e.GlobalExceptionHandler -
  1738. ### Error querying database. Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  1739. left join goaf_checklist_item AS B ON' at line 8
  1740. ### The error may exist in file [E:\syf3prj\xps-server-3\xps-goaf\target\classes\mapper\GoafChecklistMapper.xml]
  1741. ### The error may involve com.zhyc.xps.goaf.mapper.GoafChecklistMapper.getByPage-Inline
  1742. ### The error occurred while setting parameters
  1743. ### SQL: select count(0) from ( SELECT A.checklist_id, A.oc_id, A.checklist_title, A.checklist_desc, B.checklist_item_id, B.checklist_item_content, FROM goaf_checklist AS A left join goaf_checklist_item AS B ON B.checklist_id = A.checklist_id WHERE A.oc_id = ? ) tmp_count
  1744. ### Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  1745. left join goaf_checklist_item AS B ON' at line 8
  1746. ; bad SQL grammar []
  1747. org.springframework.jdbc.BadSqlGrammarException:
  1748. ### Error querying database. Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  1749. left join goaf_checklist_item AS B ON' at line 8
  1750. ### The error may exist in file [E:\syf3prj\xps-server-3\xps-goaf\target\classes\mapper\GoafChecklistMapper.xml]
  1751. ### The error may involve com.zhyc.xps.goaf.mapper.GoafChecklistMapper.getByPage-Inline
  1752. ### The error occurred while setting parameters
  1753. ### SQL: select count(0) from ( SELECT A.checklist_id, A.oc_id, A.checklist_title, A.checklist_desc, B.checklist_item_id, B.checklist_item_content, FROM goaf_checklist AS A left join goaf_checklist_item AS B ON B.checklist_id = A.checklist_id WHERE A.oc_id = ? ) tmp_count
  1754. ### Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  1755. left join goaf_checklist_item AS B ON' at line 8
  1756. ; bad SQL grammar []
  1757. at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:243)
  1758. at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:70)
  1759. at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:92)
  1760. at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:439)
  1761. at jdk.proxy2/jdk.proxy2.$Proxy108.selectList(Unknown Source)
  1762. at org.mybatis.spring.SqlSessionTemplate.selectList(SqlSessionTemplate.java:224)
  1763. at org.apache.ibatis.binding.MapperMethod.executeForMany(MapperMethod.java:147)
  1764. at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:80)
  1765. at org.apache.ibatis.binding.MapperProxy$PlainMethodInvoker.invoke(MapperProxy.java:145)
  1766. at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:86)
  1767. at jdk.proxy3/jdk.proxy3.$Proxy366.getByPage(Unknown Source)
  1768. at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  1769. at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
  1770. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  1771. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  1772. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
  1773. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:196)
  1774. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
  1775. at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:137)
  1776. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
  1777. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:218)
  1778. at jdk.proxy3/jdk.proxy3.$Proxy367.getByPage(Unknown Source)
  1779. at com.zhyc.xps.goaf.service.impl.GoafChecklistServiceImpl.getByPage(GoafChecklistServiceImpl.java:57)
  1780. at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  1781. at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
  1782. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  1783. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  1784. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
  1785. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:196)
  1786. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
  1787. at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750)
  1788. at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:123)
  1789. at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:390)
  1790. at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119)
  1791. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
  1792. at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750)
  1793. at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:702)
  1794. at com.zhyc.xps.goaf.service.impl.GoafChecklistServiceImpl$$SpringCGLIB$$0.getByPage(<generated>)
  1795. at com.zhyc.xps.goaf.controller.GoafChecklistController.getGoafChecklistBypage(GoafChecklistController.java:54)
  1796. at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  1797. at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
  1798. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  1799. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  1800. at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:207)
  1801. at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:152)
  1802. at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117)
  1803. at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:884)
  1804. at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797)
  1805. at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
  1806. at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1081)
  1807. at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:974)
  1808. at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1011)
  1809. at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:903)
  1810. at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:527)
  1811. at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:885)
  1812. at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:614)
  1813. at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)
  1814. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129)
  1815. at io.undertow.websockets.jsr.JsrWebSocketFilter.doFilter(JsrWebSocketFilter.java:172)
  1816. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  1817. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  1818. at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
  1819. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
  1820. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  1821. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  1822. at org.springframework.web.filter.ServerHttpObservationFilter.doFilterInternal(ServerHttpObservationFilter.java:109)
  1823. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
  1824. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  1825. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  1826. at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
  1827. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
  1828. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  1829. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  1830. at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)
  1831. at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
  1832. at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68)
  1833. at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
  1834. at io.undertow.servlet.handlers.RedirectDirHandler.handleRequest(RedirectDirHandler.java:68)
  1835. at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:117)
  1836. at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
  1837. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  1838. at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
  1839. at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
  1840. at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
  1841. at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)
  1842. at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
  1843. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  1844. at io.undertow.servlet.handlers.SendErrorPageHandler.handleRequest(SendErrorPageHandler.java:52)
  1845. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  1846. at io.undertow.servlet.handlers.SessionRestoringHandler.handleRequest(SessionRestoringHandler.java:119)
  1847. at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:276)
  1848. at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135)
  1849. at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:132)
  1850. at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
  1851. at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
  1852. at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:256)
  1853. at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:101)
  1854. at io.undertow.server.Connectors.executeRootHandler(Connectors.java:393)
  1855. at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:859)
  1856. at org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18)
  1857. at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2513)
  1858. at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1538)
  1859. at org.xnio.XnioWorker$WorkerThreadFactory$1$1.run(XnioWorker.java:1282)
  1860. at java.base/java.lang.Thread.run(Thread.java:833)
  1861. Caused by: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  1862. left join goaf_checklist_item AS B ON' at line 8
  1863. at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120)
  1864. at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122)
  1865. at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:916)
  1866. at com.mysql.cj.jdbc.ClientPreparedStatement.execute(ClientPreparedStatement.java:354)
  1867. at com.p6spy.engine.wrapper.PreparedStatementWrapper.execute(PreparedStatementWrapper.java:362)
  1868. at com.zaxxer.hikari.pool.ProxyPreparedStatement.execute(ProxyPreparedStatement.java:44)
  1869. at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.execute(HikariProxyPreparedStatement.java)
  1870. at org.apache.ibatis.executor.statement.PreparedStatementHandler.query(PreparedStatementHandler.java:64)
  1871. at org.apache.ibatis.executor.statement.RoutingStatementHandler.query(RoutingStatementHandler.java:79)
  1872. at org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:63)
  1873. at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:325)
  1874. at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:156)
  1875. at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:109)
  1876. at com.github.pagehelper.util.ExecutorUtil.executeAutoCount(ExecutorUtil.java:169)
  1877. at com.github.pagehelper.PageInterceptor.count(PageInterceptor.java:197)
  1878. at com.github.pagehelper.PageInterceptor.intercept(PageInterceptor.java:140)
  1879. at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:62)
  1880. at jdk.proxy2/jdk.proxy2.$Proxy417.query(Unknown Source)
  1881. at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:151)
  1882. at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:145)
  1883. at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:140)
  1884. at jdk.internal.reflect.GeneratedMethodAccessor87.invoke(Unknown Source)
  1885. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  1886. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  1887. at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:425)
  1888. ... 100 common frames omitted
  1889. 15:07:03.435 [XNIO-1 task-2] ERROR c.z.x.c.e.GlobalExceptionHandler -
  1890. ### Error querying database. Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  1891. left join goaf_checklist_item AS B ON' at line 8
  1892. ### The error may exist in file [E:\syf3prj\xps-server-3\xps-goaf\target\classes\mapper\GoafChecklistMapper.xml]
  1893. ### The error may involve com.zhyc.xps.goaf.mapper.GoafChecklistMapper.getByPage-Inline
  1894. ### The error occurred while setting parameters
  1895. ### SQL: select count(0) from ( SELECT A.checklist_id, A.oc_id, A.checklist_title, A.checklist_desc, B.checklist_item_id, B.checklist_item_content, FROM goaf_checklist AS A left join goaf_checklist_item AS B ON B.checklist_id = A.checklist_id WHERE A.oc_id = ? ) tmp_count
  1896. ### Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  1897. left join goaf_checklist_item AS B ON' at line 8
  1898. ; bad SQL grammar []
  1899. org.springframework.jdbc.BadSqlGrammarException:
  1900. ### Error querying database. Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  1901. left join goaf_checklist_item AS B ON' at line 8
  1902. ### The error may exist in file [E:\syf3prj\xps-server-3\xps-goaf\target\classes\mapper\GoafChecklistMapper.xml]
  1903. ### The error may involve com.zhyc.xps.goaf.mapper.GoafChecklistMapper.getByPage-Inline
  1904. ### The error occurred while setting parameters
  1905. ### SQL: select count(0) from ( SELECT A.checklist_id, A.oc_id, A.checklist_title, A.checklist_desc, B.checklist_item_id, B.checklist_item_content, FROM goaf_checklist AS A left join goaf_checklist_item AS B ON B.checklist_id = A.checklist_id WHERE A.oc_id = ? ) tmp_count
  1906. ### Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  1907. left join goaf_checklist_item AS B ON' at line 8
  1908. ; bad SQL grammar []
  1909. at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:243)
  1910. at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:70)
  1911. at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:92)
  1912. at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:439)
  1913. at jdk.proxy2/jdk.proxy2.$Proxy108.selectList(Unknown Source)
  1914. at org.mybatis.spring.SqlSessionTemplate.selectList(SqlSessionTemplate.java:224)
  1915. at org.apache.ibatis.binding.MapperMethod.executeForMany(MapperMethod.java:147)
  1916. at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:80)
  1917. at org.apache.ibatis.binding.MapperProxy$PlainMethodInvoker.invoke(MapperProxy.java:145)
  1918. at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:86)
  1919. at jdk.proxy3/jdk.proxy3.$Proxy366.getByPage(Unknown Source)
  1920. at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  1921. at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
  1922. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  1923. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  1924. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
  1925. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:196)
  1926. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
  1927. at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:137)
  1928. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
  1929. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:218)
  1930. at jdk.proxy3/jdk.proxy3.$Proxy367.getByPage(Unknown Source)
  1931. at com.zhyc.xps.goaf.service.impl.GoafChecklistServiceImpl.getByPage(GoafChecklistServiceImpl.java:57)
  1932. at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  1933. at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
  1934. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  1935. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  1936. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
  1937. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:196)
  1938. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
  1939. at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750)
  1940. at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:123)
  1941. at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:390)
  1942. at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119)
  1943. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
  1944. at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750)
  1945. at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:702)
  1946. at com.zhyc.xps.goaf.service.impl.GoafChecklistServiceImpl$$SpringCGLIB$$0.getByPage(<generated>)
  1947. at com.zhyc.xps.goaf.controller.GoafChecklistController.getGoafChecklistBypage(GoafChecklistController.java:54)
  1948. at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  1949. at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
  1950. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  1951. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  1952. at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:207)
  1953. at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:152)
  1954. at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117)
  1955. at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:884)
  1956. at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797)
  1957. at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
  1958. at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1081)
  1959. at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:974)
  1960. at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1011)
  1961. at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:903)
  1962. at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:527)
  1963. at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:885)
  1964. at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:614)
  1965. at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)
  1966. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129)
  1967. at io.undertow.websockets.jsr.JsrWebSocketFilter.doFilter(JsrWebSocketFilter.java:172)
  1968. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  1969. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  1970. at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
  1971. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
  1972. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  1973. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  1974. at org.springframework.web.filter.ServerHttpObservationFilter.doFilterInternal(ServerHttpObservationFilter.java:109)
  1975. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
  1976. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  1977. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  1978. at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
  1979. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
  1980. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  1981. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  1982. at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)
  1983. at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
  1984. at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68)
  1985. at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
  1986. at io.undertow.servlet.handlers.RedirectDirHandler.handleRequest(RedirectDirHandler.java:68)
  1987. at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:117)
  1988. at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
  1989. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  1990. at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
  1991. at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
  1992. at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
  1993. at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)
  1994. at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
  1995. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  1996. at io.undertow.servlet.handlers.SendErrorPageHandler.handleRequest(SendErrorPageHandler.java:52)
  1997. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  1998. at io.undertow.servlet.handlers.SessionRestoringHandler.handleRequest(SessionRestoringHandler.java:119)
  1999. at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:276)
  2000. at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135)
  2001. at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:132)
  2002. at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
  2003. at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
  2004. at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:256)
  2005. at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:101)
  2006. at io.undertow.server.Connectors.executeRootHandler(Connectors.java:393)
  2007. at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:859)
  2008. at org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18)
  2009. at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2513)
  2010. at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1538)
  2011. at org.xnio.XnioWorker$WorkerThreadFactory$1$1.run(XnioWorker.java:1282)
  2012. at java.base/java.lang.Thread.run(Thread.java:833)
  2013. Caused by: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  2014. left join goaf_checklist_item AS B ON' at line 8
  2015. at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120)
  2016. at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122)
  2017. at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:916)
  2018. at com.mysql.cj.jdbc.ClientPreparedStatement.execute(ClientPreparedStatement.java:354)
  2019. at com.p6spy.engine.wrapper.PreparedStatementWrapper.execute(PreparedStatementWrapper.java:362)
  2020. at com.zaxxer.hikari.pool.ProxyPreparedStatement.execute(ProxyPreparedStatement.java:44)
  2021. at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.execute(HikariProxyPreparedStatement.java)
  2022. at org.apache.ibatis.executor.statement.PreparedStatementHandler.query(PreparedStatementHandler.java:64)
  2023. at org.apache.ibatis.executor.statement.RoutingStatementHandler.query(RoutingStatementHandler.java:79)
  2024. at org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:63)
  2025. at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:325)
  2026. at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:156)
  2027. at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:109)
  2028. at com.github.pagehelper.util.ExecutorUtil.executeAutoCount(ExecutorUtil.java:169)
  2029. at com.github.pagehelper.PageInterceptor.count(PageInterceptor.java:197)
  2030. at com.github.pagehelper.PageInterceptor.intercept(PageInterceptor.java:140)
  2031. at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:62)
  2032. at jdk.proxy2/jdk.proxy2.$Proxy417.query(Unknown Source)
  2033. at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:151)
  2034. at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:145)
  2035. at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:140)
  2036. at jdk.internal.reflect.GeneratedMethodAccessor87.invoke(Unknown Source)
  2037. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  2038. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  2039. at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:425)
  2040. ... 100 common frames omitted
  2041. 15:07:27.019 [XNIO-1 task-5] ERROR c.z.x.c.e.GlobalExceptionHandler -
  2042. ### Error querying database. Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  2043. left join goaf_checklist_item AS B ON' at line 8
  2044. ### The error may exist in file [E:\syf3prj\xps-server-3\xps-goaf\target\classes\mapper\GoafChecklistMapper.xml]
  2045. ### The error may involve com.zhyc.xps.goaf.mapper.GoafChecklistMapper.getByPage-Inline
  2046. ### The error occurred while setting parameters
  2047. ### SQL: select count(0) from ( SELECT A.checklist_id, A.oc_id, A.checklist_title, A.checklist_desc, B.checklist_item_id, B.checklist_item_content, FROM goaf_checklist AS A left join goaf_checklist_item AS B ON B.checklist_id = A.checklist_id WHERE A.oc_id = ? ) tmp_count
  2048. ### Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  2049. left join goaf_checklist_item AS B ON' at line 8
  2050. ; bad SQL grammar []
  2051. org.springframework.jdbc.BadSqlGrammarException:
  2052. ### Error querying database. Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  2053. left join goaf_checklist_item AS B ON' at line 8
  2054. ### The error may exist in file [E:\syf3prj\xps-server-3\xps-goaf\target\classes\mapper\GoafChecklistMapper.xml]
  2055. ### The error may involve com.zhyc.xps.goaf.mapper.GoafChecklistMapper.getByPage-Inline
  2056. ### The error occurred while setting parameters
  2057. ### SQL: select count(0) from ( SELECT A.checklist_id, A.oc_id, A.checklist_title, A.checklist_desc, B.checklist_item_id, B.checklist_item_content, FROM goaf_checklist AS A left join goaf_checklist_item AS B ON B.checklist_id = A.checklist_id WHERE A.oc_id = ? ) tmp_count
  2058. ### Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  2059. left join goaf_checklist_item AS B ON' at line 8
  2060. ; bad SQL grammar []
  2061. at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:243)
  2062. at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:70)
  2063. at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:92)
  2064. at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:439)
  2065. at jdk.proxy2/jdk.proxy2.$Proxy108.selectList(Unknown Source)
  2066. at org.mybatis.spring.SqlSessionTemplate.selectList(SqlSessionTemplate.java:224)
  2067. at org.apache.ibatis.binding.MapperMethod.executeForMany(MapperMethod.java:147)
  2068. at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:80)
  2069. at org.apache.ibatis.binding.MapperProxy$PlainMethodInvoker.invoke(MapperProxy.java:145)
  2070. at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:86)
  2071. at jdk.proxy3/jdk.proxy3.$Proxy366.getByPage(Unknown Source)
  2072. at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  2073. at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
  2074. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  2075. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  2076. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
  2077. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:196)
  2078. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
  2079. at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:137)
  2080. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
  2081. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:218)
  2082. at jdk.proxy3/jdk.proxy3.$Proxy367.getByPage(Unknown Source)
  2083. at com.zhyc.xps.goaf.service.impl.GoafChecklistServiceImpl.getByPage(GoafChecklistServiceImpl.java:57)
  2084. at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  2085. at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
  2086. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  2087. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  2088. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
  2089. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:196)
  2090. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
  2091. at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750)
  2092. at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:123)
  2093. at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:390)
  2094. at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119)
  2095. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
  2096. at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750)
  2097. at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:702)
  2098. at com.zhyc.xps.goaf.service.impl.GoafChecklistServiceImpl$$SpringCGLIB$$0.getByPage(<generated>)
  2099. at com.zhyc.xps.goaf.controller.GoafChecklistController.getGoafChecklistBypage(GoafChecklistController.java:54)
  2100. at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  2101. at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
  2102. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  2103. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  2104. at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:207)
  2105. at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:152)
  2106. at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117)
  2107. at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:884)
  2108. at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797)
  2109. at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
  2110. at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1081)
  2111. at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:974)
  2112. at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1011)
  2113. at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:903)
  2114. at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:527)
  2115. at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:885)
  2116. at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:614)
  2117. at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)
  2118. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129)
  2119. at io.undertow.websockets.jsr.JsrWebSocketFilter.doFilter(JsrWebSocketFilter.java:172)
  2120. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  2121. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  2122. at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
  2123. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
  2124. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  2125. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  2126. at org.springframework.web.filter.ServerHttpObservationFilter.doFilterInternal(ServerHttpObservationFilter.java:109)
  2127. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
  2128. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  2129. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  2130. at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
  2131. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
  2132. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  2133. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  2134. at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)
  2135. at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
  2136. at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68)
  2137. at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
  2138. at io.undertow.servlet.handlers.RedirectDirHandler.handleRequest(RedirectDirHandler.java:68)
  2139. at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:117)
  2140. at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
  2141. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  2142. at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
  2143. at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
  2144. at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
  2145. at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)
  2146. at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
  2147. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  2148. at io.undertow.servlet.handlers.SendErrorPageHandler.handleRequest(SendErrorPageHandler.java:52)
  2149. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  2150. at io.undertow.servlet.handlers.SessionRestoringHandler.handleRequest(SessionRestoringHandler.java:119)
  2151. at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:276)
  2152. at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135)
  2153. at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:132)
  2154. at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
  2155. at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
  2156. at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:256)
  2157. at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:101)
  2158. at io.undertow.server.Connectors.executeRootHandler(Connectors.java:393)
  2159. at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:859)
  2160. at org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18)
  2161. at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2513)
  2162. at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1538)
  2163. at org.xnio.XnioWorker$WorkerThreadFactory$1$1.run(XnioWorker.java:1282)
  2164. at java.base/java.lang.Thread.run(Thread.java:833)
  2165. Caused by: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  2166. left join goaf_checklist_item AS B ON' at line 8
  2167. at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120)
  2168. at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122)
  2169. at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:916)
  2170. at com.mysql.cj.jdbc.ClientPreparedStatement.execute(ClientPreparedStatement.java:354)
  2171. at com.p6spy.engine.wrapper.PreparedStatementWrapper.execute(PreparedStatementWrapper.java:362)
  2172. at com.zaxxer.hikari.pool.ProxyPreparedStatement.execute(ProxyPreparedStatement.java:44)
  2173. at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.execute(HikariProxyPreparedStatement.java)
  2174. at org.apache.ibatis.executor.statement.PreparedStatementHandler.query(PreparedStatementHandler.java:64)
  2175. at org.apache.ibatis.executor.statement.RoutingStatementHandler.query(RoutingStatementHandler.java:79)
  2176. at org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:63)
  2177. at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:325)
  2178. at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:156)
  2179. at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:109)
  2180. at com.github.pagehelper.util.ExecutorUtil.executeAutoCount(ExecutorUtil.java:169)
  2181. at com.github.pagehelper.PageInterceptor.count(PageInterceptor.java:197)
  2182. at com.github.pagehelper.PageInterceptor.intercept(PageInterceptor.java:140)
  2183. at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:62)
  2184. at jdk.proxy2/jdk.proxy2.$Proxy417.query(Unknown Source)
  2185. at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:151)
  2186. at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:145)
  2187. at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:140)
  2188. at jdk.internal.reflect.GeneratedMethodAccessor87.invoke(Unknown Source)
  2189. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  2190. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  2191. at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:425)
  2192. ... 100 common frames omitted
  2193. 15:07:43.451 [XNIO-1 task-5] ERROR c.z.x.c.e.GlobalExceptionHandler -
  2194. ### Error querying database. Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  2195. left join goaf_checklist_item AS B ON' at line 8
  2196. ### The error may exist in file [E:\syf3prj\xps-server-3\xps-goaf\target\classes\mapper\GoafChecklistMapper.xml]
  2197. ### The error may involve com.zhyc.xps.goaf.mapper.GoafChecklistMapper.getByPage-Inline
  2198. ### The error occurred while setting parameters
  2199. ### SQL: select count(0) from ( SELECT A.checklist_id, A.oc_id, A.checklist_title, A.checklist_desc, B.checklist_item_id, B.checklist_item_content, FROM goaf_checklist AS A left join goaf_checklist_item AS B ON B.checklist_id = A.checklist_id WHERE A.oc_id = ? ) tmp_count
  2200. ### Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  2201. left join goaf_checklist_item AS B ON' at line 8
  2202. ; bad SQL grammar []
  2203. org.springframework.jdbc.BadSqlGrammarException:
  2204. ### Error querying database. Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  2205. left join goaf_checklist_item AS B ON' at line 8
  2206. ### The error may exist in file [E:\syf3prj\xps-server-3\xps-goaf\target\classes\mapper\GoafChecklistMapper.xml]
  2207. ### The error may involve com.zhyc.xps.goaf.mapper.GoafChecklistMapper.getByPage-Inline
  2208. ### The error occurred while setting parameters
  2209. ### SQL: select count(0) from ( SELECT A.checklist_id, A.oc_id, A.checklist_title, A.checklist_desc, B.checklist_item_id, B.checklist_item_content, FROM goaf_checklist AS A left join goaf_checklist_item AS B ON B.checklist_id = A.checklist_id WHERE A.oc_id = ? ) tmp_count
  2210. ### Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  2211. left join goaf_checklist_item AS B ON' at line 8
  2212. ; bad SQL grammar []
  2213. at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:243)
  2214. at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:70)
  2215. at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:92)
  2216. at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:439)
  2217. at jdk.proxy2/jdk.proxy2.$Proxy108.selectList(Unknown Source)
  2218. at org.mybatis.spring.SqlSessionTemplate.selectList(SqlSessionTemplate.java:224)
  2219. at org.apache.ibatis.binding.MapperMethod.executeForMany(MapperMethod.java:147)
  2220. at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:80)
  2221. at org.apache.ibatis.binding.MapperProxy$PlainMethodInvoker.invoke(MapperProxy.java:145)
  2222. at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:86)
  2223. at jdk.proxy3/jdk.proxy3.$Proxy366.getByPage(Unknown Source)
  2224. at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  2225. at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
  2226. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  2227. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  2228. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
  2229. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:196)
  2230. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
  2231. at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:137)
  2232. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
  2233. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:218)
  2234. at jdk.proxy3/jdk.proxy3.$Proxy367.getByPage(Unknown Source)
  2235. at com.zhyc.xps.goaf.service.impl.GoafChecklistServiceImpl.getByPage(GoafChecklistServiceImpl.java:57)
  2236. at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  2237. at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
  2238. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  2239. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  2240. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
  2241. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:196)
  2242. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
  2243. at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750)
  2244. at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:123)
  2245. at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:390)
  2246. at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119)
  2247. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
  2248. at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750)
  2249. at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:702)
  2250. at com.zhyc.xps.goaf.service.impl.GoafChecklistServiceImpl$$SpringCGLIB$$0.getByPage(<generated>)
  2251. at com.zhyc.xps.goaf.controller.GoafChecklistController.getGoafChecklistBypage(GoafChecklistController.java:54)
  2252. at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  2253. at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
  2254. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  2255. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  2256. at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:207)
  2257. at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:152)
  2258. at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117)
  2259. at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:884)
  2260. at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797)
  2261. at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
  2262. at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1081)
  2263. at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:974)
  2264. at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1011)
  2265. at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:903)
  2266. at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:527)
  2267. at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:885)
  2268. at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:614)
  2269. at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)
  2270. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129)
  2271. at io.undertow.websockets.jsr.JsrWebSocketFilter.doFilter(JsrWebSocketFilter.java:172)
  2272. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  2273. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  2274. at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
  2275. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
  2276. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  2277. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  2278. at org.springframework.web.filter.ServerHttpObservationFilter.doFilterInternal(ServerHttpObservationFilter.java:109)
  2279. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
  2280. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  2281. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  2282. at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
  2283. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
  2284. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  2285. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  2286. at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)
  2287. at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
  2288. at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68)
  2289. at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
  2290. at io.undertow.servlet.handlers.RedirectDirHandler.handleRequest(RedirectDirHandler.java:68)
  2291. at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:117)
  2292. at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
  2293. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  2294. at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
  2295. at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
  2296. at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
  2297. at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)
  2298. at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
  2299. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  2300. at io.undertow.servlet.handlers.SendErrorPageHandler.handleRequest(SendErrorPageHandler.java:52)
  2301. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  2302. at io.undertow.servlet.handlers.SessionRestoringHandler.handleRequest(SessionRestoringHandler.java:119)
  2303. at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:276)
  2304. at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135)
  2305. at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:132)
  2306. at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
  2307. at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
  2308. at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:256)
  2309. at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:101)
  2310. at io.undertow.server.Connectors.executeRootHandler(Connectors.java:393)
  2311. at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:859)
  2312. at org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18)
  2313. at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2513)
  2314. at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1538)
  2315. at org.xnio.XnioWorker$WorkerThreadFactory$1$1.run(XnioWorker.java:1282)
  2316. at java.base/java.lang.Thread.run(Thread.java:833)
  2317. Caused by: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  2318. left join goaf_checklist_item AS B ON' at line 8
  2319. at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120)
  2320. at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122)
  2321. at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:916)
  2322. at com.mysql.cj.jdbc.ClientPreparedStatement.execute(ClientPreparedStatement.java:354)
  2323. at com.p6spy.engine.wrapper.PreparedStatementWrapper.execute(PreparedStatementWrapper.java:362)
  2324. at com.zaxxer.hikari.pool.ProxyPreparedStatement.execute(ProxyPreparedStatement.java:44)
  2325. at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.execute(HikariProxyPreparedStatement.java)
  2326. at org.apache.ibatis.executor.statement.PreparedStatementHandler.query(PreparedStatementHandler.java:64)
  2327. at org.apache.ibatis.executor.statement.RoutingStatementHandler.query(RoutingStatementHandler.java:79)
  2328. at org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:63)
  2329. at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:325)
  2330. at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:156)
  2331. at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:109)
  2332. at com.github.pagehelper.util.ExecutorUtil.executeAutoCount(ExecutorUtil.java:169)
  2333. at com.github.pagehelper.PageInterceptor.count(PageInterceptor.java:197)
  2334. at com.github.pagehelper.PageInterceptor.intercept(PageInterceptor.java:140)
  2335. at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:62)
  2336. at jdk.proxy2/jdk.proxy2.$Proxy417.query(Unknown Source)
  2337. at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:151)
  2338. at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:145)
  2339. at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:140)
  2340. at jdk.internal.reflect.GeneratedMethodAccessor87.invoke(Unknown Source)
  2341. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  2342. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  2343. at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:425)
  2344. ... 100 common frames omitted
  2345. 15:07:50.226 [XNIO-1 task-2] ERROR c.z.x.c.e.GlobalExceptionHandler -
  2346. ### Error querying database. Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  2347. left join goaf_checklist_item AS B ON' at line 8
  2348. ### The error may exist in file [E:\syf3prj\xps-server-3\xps-goaf\target\classes\mapper\GoafChecklistMapper.xml]
  2349. ### The error may involve com.zhyc.xps.goaf.mapper.GoafChecklistMapper.getByPage-Inline
  2350. ### The error occurred while setting parameters
  2351. ### SQL: select count(0) from ( SELECT A.checklist_id, A.oc_id, A.checklist_title, A.checklist_desc, B.checklist_item_id, B.checklist_item_content, FROM goaf_checklist AS A left join goaf_checklist_item AS B ON B.checklist_id = A.checklist_id WHERE A.oc_id = ? ) tmp_count
  2352. ### Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  2353. left join goaf_checklist_item AS B ON' at line 8
  2354. ; bad SQL grammar []
  2355. org.springframework.jdbc.BadSqlGrammarException:
  2356. ### Error querying database. Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  2357. left join goaf_checklist_item AS B ON' at line 8
  2358. ### The error may exist in file [E:\syf3prj\xps-server-3\xps-goaf\target\classes\mapper\GoafChecklistMapper.xml]
  2359. ### The error may involve com.zhyc.xps.goaf.mapper.GoafChecklistMapper.getByPage-Inline
  2360. ### The error occurred while setting parameters
  2361. ### SQL: select count(0) from ( SELECT A.checklist_id, A.oc_id, A.checklist_title, A.checklist_desc, B.checklist_item_id, B.checklist_item_content, FROM goaf_checklist AS A left join goaf_checklist_item AS B ON B.checklist_id = A.checklist_id WHERE A.oc_id = ? ) tmp_count
  2362. ### Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  2363. left join goaf_checklist_item AS B ON' at line 8
  2364. ; bad SQL grammar []
  2365. at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:243)
  2366. at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:70)
  2367. at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:92)
  2368. at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:439)
  2369. at jdk.proxy2/jdk.proxy2.$Proxy108.selectList(Unknown Source)
  2370. at org.mybatis.spring.SqlSessionTemplate.selectList(SqlSessionTemplate.java:224)
  2371. at org.apache.ibatis.binding.MapperMethod.executeForMany(MapperMethod.java:147)
  2372. at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:80)
  2373. at org.apache.ibatis.binding.MapperProxy$PlainMethodInvoker.invoke(MapperProxy.java:145)
  2374. at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:86)
  2375. at jdk.proxy3/jdk.proxy3.$Proxy366.getByPage(Unknown Source)
  2376. at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  2377. at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
  2378. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  2379. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  2380. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
  2381. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:196)
  2382. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
  2383. at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:137)
  2384. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
  2385. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:218)
  2386. at jdk.proxy3/jdk.proxy3.$Proxy367.getByPage(Unknown Source)
  2387. at com.zhyc.xps.goaf.service.impl.GoafChecklistServiceImpl.getByPage(GoafChecklistServiceImpl.java:57)
  2388. at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  2389. at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
  2390. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  2391. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  2392. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
  2393. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:196)
  2394. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
  2395. at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750)
  2396. at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:123)
  2397. at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:390)
  2398. at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119)
  2399. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
  2400. at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750)
  2401. at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:702)
  2402. at com.zhyc.xps.goaf.service.impl.GoafChecklistServiceImpl$$SpringCGLIB$$0.getByPage(<generated>)
  2403. at com.zhyc.xps.goaf.controller.GoafChecklistController.getGoafChecklistBypage(GoafChecklistController.java:54)
  2404. at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  2405. at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
  2406. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  2407. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  2408. at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:207)
  2409. at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:152)
  2410. at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117)
  2411. at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:884)
  2412. at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797)
  2413. at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
  2414. at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1081)
  2415. at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:974)
  2416. at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1011)
  2417. at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:903)
  2418. at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:527)
  2419. at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:885)
  2420. at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:614)
  2421. at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)
  2422. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129)
  2423. at io.undertow.websockets.jsr.JsrWebSocketFilter.doFilter(JsrWebSocketFilter.java:172)
  2424. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  2425. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  2426. at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
  2427. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
  2428. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  2429. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  2430. at org.springframework.web.filter.ServerHttpObservationFilter.doFilterInternal(ServerHttpObservationFilter.java:109)
  2431. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
  2432. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  2433. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  2434. at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
  2435. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
  2436. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  2437. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  2438. at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)
  2439. at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
  2440. at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68)
  2441. at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
  2442. at io.undertow.servlet.handlers.RedirectDirHandler.handleRequest(RedirectDirHandler.java:68)
  2443. at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:117)
  2444. at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
  2445. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  2446. at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
  2447. at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
  2448. at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
  2449. at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)
  2450. at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
  2451. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  2452. at io.undertow.servlet.handlers.SendErrorPageHandler.handleRequest(SendErrorPageHandler.java:52)
  2453. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  2454. at io.undertow.servlet.handlers.SessionRestoringHandler.handleRequest(SessionRestoringHandler.java:119)
  2455. at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:276)
  2456. at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135)
  2457. at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:132)
  2458. at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
  2459. at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
  2460. at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:256)
  2461. at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:101)
  2462. at io.undertow.server.Connectors.executeRootHandler(Connectors.java:393)
  2463. at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:859)
  2464. at org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18)
  2465. at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2513)
  2466. at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1538)
  2467. at org.xnio.XnioWorker$WorkerThreadFactory$1$1.run(XnioWorker.java:1282)
  2468. at java.base/java.lang.Thread.run(Thread.java:833)
  2469. Caused by: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  2470. left join goaf_checklist_item AS B ON' at line 8
  2471. at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120)
  2472. at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122)
  2473. at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:916)
  2474. at com.mysql.cj.jdbc.ClientPreparedStatement.execute(ClientPreparedStatement.java:354)
  2475. at com.p6spy.engine.wrapper.PreparedStatementWrapper.execute(PreparedStatementWrapper.java:362)
  2476. at com.zaxxer.hikari.pool.ProxyPreparedStatement.execute(ProxyPreparedStatement.java:44)
  2477. at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.execute(HikariProxyPreparedStatement.java)
  2478. at org.apache.ibatis.executor.statement.PreparedStatementHandler.query(PreparedStatementHandler.java:64)
  2479. at org.apache.ibatis.executor.statement.RoutingStatementHandler.query(RoutingStatementHandler.java:79)
  2480. at org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:63)
  2481. at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:325)
  2482. at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:156)
  2483. at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:109)
  2484. at com.github.pagehelper.util.ExecutorUtil.executeAutoCount(ExecutorUtil.java:169)
  2485. at com.github.pagehelper.PageInterceptor.count(PageInterceptor.java:197)
  2486. at com.github.pagehelper.PageInterceptor.intercept(PageInterceptor.java:140)
  2487. at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:62)
  2488. at jdk.proxy2/jdk.proxy2.$Proxy417.query(Unknown Source)
  2489. at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:151)
  2490. at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:145)
  2491. at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:140)
  2492. at jdk.internal.reflect.GeneratedMethodAccessor87.invoke(Unknown Source)
  2493. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  2494. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  2495. at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:425)
  2496. ... 100 common frames omitted
  2497. 15:08:56.309 [XNIO-1 task-5] ERROR c.z.x.c.e.GlobalExceptionHandler -
  2498. ### Error querying database. Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  2499. left join goaf_checklist_item AS B ON' at line 8
  2500. ### The error may exist in file [E:\syf3prj\xps-server-3\xps-goaf\target\classes\mapper\GoafChecklistMapper.xml]
  2501. ### The error may involve com.zhyc.xps.goaf.mapper.GoafChecklistMapper.getByPage-Inline
  2502. ### The error occurred while setting parameters
  2503. ### SQL: select count(0) from ( SELECT A.checklist_id, A.oc_id, A.checklist_title, A.checklist_desc, B.checklist_item_id, B.checklist_item_content, FROM goaf_checklist AS A left join goaf_checklist_item AS B ON B.checklist_id = A.checklist_id WHERE A.oc_id = ? ) tmp_count
  2504. ### Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  2505. left join goaf_checklist_item AS B ON' at line 8
  2506. ; bad SQL grammar []
  2507. org.springframework.jdbc.BadSqlGrammarException:
  2508. ### Error querying database. Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  2509. left join goaf_checklist_item AS B ON' at line 8
  2510. ### The error may exist in file [E:\syf3prj\xps-server-3\xps-goaf\target\classes\mapper\GoafChecklistMapper.xml]
  2511. ### The error may involve com.zhyc.xps.goaf.mapper.GoafChecklistMapper.getByPage-Inline
  2512. ### The error occurred while setting parameters
  2513. ### SQL: select count(0) from ( SELECT A.checklist_id, A.oc_id, A.checklist_title, A.checklist_desc, B.checklist_item_id, B.checklist_item_content, FROM goaf_checklist AS A left join goaf_checklist_item AS B ON B.checklist_id = A.checklist_id WHERE A.oc_id = ? ) tmp_count
  2514. ### Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  2515. left join goaf_checklist_item AS B ON' at line 8
  2516. ; bad SQL grammar []
  2517. at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:243)
  2518. at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:70)
  2519. at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:92)
  2520. at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:439)
  2521. at jdk.proxy2/jdk.proxy2.$Proxy108.selectList(Unknown Source)
  2522. at org.mybatis.spring.SqlSessionTemplate.selectList(SqlSessionTemplate.java:224)
  2523. at org.apache.ibatis.binding.MapperMethod.executeForMany(MapperMethod.java:147)
  2524. at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:80)
  2525. at org.apache.ibatis.binding.MapperProxy$PlainMethodInvoker.invoke(MapperProxy.java:145)
  2526. at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:86)
  2527. at jdk.proxy3/jdk.proxy3.$Proxy366.getByPage(Unknown Source)
  2528. at jdk.internal.reflect.GeneratedMethodAccessor186.invoke(Unknown Source)
  2529. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  2530. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  2531. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
  2532. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:196)
  2533. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
  2534. at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:137)
  2535. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
  2536. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:218)
  2537. at jdk.proxy3/jdk.proxy3.$Proxy367.getByPage(Unknown Source)
  2538. at com.zhyc.xps.goaf.service.impl.GoafChecklistServiceImpl.getByPage(GoafChecklistServiceImpl.java:57)
  2539. at jdk.internal.reflect.GeneratedMethodAccessor185.invoke(Unknown Source)
  2540. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  2541. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  2542. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
  2543. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:196)
  2544. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
  2545. at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750)
  2546. at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:123)
  2547. at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:390)
  2548. at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119)
  2549. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
  2550. at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750)
  2551. at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:702)
  2552. at com.zhyc.xps.goaf.service.impl.GoafChecklistServiceImpl$$SpringCGLIB$$0.getByPage(<generated>)
  2553. at com.zhyc.xps.goaf.controller.GoafChecklistController.getGoafChecklistBypage(GoafChecklistController.java:54)
  2554. at jdk.internal.reflect.GeneratedMethodAccessor184.invoke(Unknown Source)
  2555. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  2556. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  2557. at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:207)
  2558. at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:152)
  2559. at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117)
  2560. at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:884)
  2561. at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797)
  2562. at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
  2563. at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1081)
  2564. at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:974)
  2565. at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1011)
  2566. at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:903)
  2567. at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:527)
  2568. at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:885)
  2569. at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:614)
  2570. at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)
  2571. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129)
  2572. at io.undertow.websockets.jsr.JsrWebSocketFilter.doFilter(JsrWebSocketFilter.java:172)
  2573. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  2574. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  2575. at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
  2576. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
  2577. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  2578. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  2579. at org.springframework.web.filter.ServerHttpObservationFilter.doFilterInternal(ServerHttpObservationFilter.java:109)
  2580. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
  2581. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  2582. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  2583. at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
  2584. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
  2585. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  2586. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  2587. at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)
  2588. at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
  2589. at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68)
  2590. at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
  2591. at io.undertow.servlet.handlers.RedirectDirHandler.handleRequest(RedirectDirHandler.java:68)
  2592. at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:117)
  2593. at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
  2594. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  2595. at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
  2596. at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
  2597. at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
  2598. at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)
  2599. at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
  2600. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  2601. at io.undertow.servlet.handlers.SendErrorPageHandler.handleRequest(SendErrorPageHandler.java:52)
  2602. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  2603. at io.undertow.servlet.handlers.SessionRestoringHandler.handleRequest(SessionRestoringHandler.java:119)
  2604. at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:276)
  2605. at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135)
  2606. at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:132)
  2607. at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
  2608. at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
  2609. at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:256)
  2610. at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:101)
  2611. at io.undertow.server.Connectors.executeRootHandler(Connectors.java:393)
  2612. at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:859)
  2613. at org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18)
  2614. at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2513)
  2615. at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1538)
  2616. at org.xnio.XnioWorker$WorkerThreadFactory$1$1.run(XnioWorker.java:1282)
  2617. at java.base/java.lang.Thread.run(Thread.java:833)
  2618. Caused by: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  2619. left join goaf_checklist_item AS B ON' at line 8
  2620. at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120)
  2621. at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122)
  2622. at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:916)
  2623. at com.mysql.cj.jdbc.ClientPreparedStatement.execute(ClientPreparedStatement.java:354)
  2624. at com.p6spy.engine.wrapper.PreparedStatementWrapper.execute(PreparedStatementWrapper.java:362)
  2625. at com.zaxxer.hikari.pool.ProxyPreparedStatement.execute(ProxyPreparedStatement.java:44)
  2626. at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.execute(HikariProxyPreparedStatement.java)
  2627. at org.apache.ibatis.executor.statement.PreparedStatementHandler.query(PreparedStatementHandler.java:64)
  2628. at org.apache.ibatis.executor.statement.RoutingStatementHandler.query(RoutingStatementHandler.java:79)
  2629. at org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:63)
  2630. at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:325)
  2631. at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:156)
  2632. at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:109)
  2633. at com.github.pagehelper.util.ExecutorUtil.executeAutoCount(ExecutorUtil.java:169)
  2634. at com.github.pagehelper.PageInterceptor.count(PageInterceptor.java:197)
  2635. at com.github.pagehelper.PageInterceptor.intercept(PageInterceptor.java:140)
  2636. at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:62)
  2637. at jdk.proxy2/jdk.proxy2.$Proxy417.query(Unknown Source)
  2638. at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:151)
  2639. at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:145)
  2640. at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:140)
  2641. at jdk.internal.reflect.GeneratedMethodAccessor87.invoke(Unknown Source)
  2642. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  2643. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  2644. at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:425)
  2645. ... 97 common frames omitted
  2646. 15:09:21.484 [XNIO-1 task-2] ERROR c.z.x.c.e.GlobalExceptionHandler -
  2647. ### Error querying database. Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  2648. left join goaf_checklist_item AS B ON' at line 8
  2649. ### The error may exist in file [E:\syf3prj\xps-server-3\xps-goaf\target\classes\mapper\GoafChecklistMapper.xml]
  2650. ### The error may involve com.zhyc.xps.goaf.mapper.GoafChecklistMapper.getByPage-Inline
  2651. ### The error occurred while setting parameters
  2652. ### SQL: select count(0) from ( SELECT A.checklist_id, A.oc_id, A.checklist_title, A.checklist_desc, B.checklist_item_id, B.checklist_item_content, FROM goaf_checklist AS A left join goaf_checklist_item AS B ON B.checklist_id = A.checklist_id WHERE A.oc_id = ? ) tmp_count
  2653. ### Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  2654. left join goaf_checklist_item AS B ON' at line 8
  2655. ; bad SQL grammar []
  2656. org.springframework.jdbc.BadSqlGrammarException:
  2657. ### Error querying database. Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  2658. left join goaf_checklist_item AS B ON' at line 8
  2659. ### The error may exist in file [E:\syf3prj\xps-server-3\xps-goaf\target\classes\mapper\GoafChecklistMapper.xml]
  2660. ### The error may involve com.zhyc.xps.goaf.mapper.GoafChecklistMapper.getByPage-Inline
  2661. ### The error occurred while setting parameters
  2662. ### SQL: select count(0) from ( SELECT A.checklist_id, A.oc_id, A.checklist_title, A.checklist_desc, B.checklist_item_id, B.checklist_item_content, FROM goaf_checklist AS A left join goaf_checklist_item AS B ON B.checklist_id = A.checklist_id WHERE A.oc_id = ? ) tmp_count
  2663. ### Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  2664. left join goaf_checklist_item AS B ON' at line 8
  2665. ; bad SQL grammar []
  2666. at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:243)
  2667. at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:70)
  2668. at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:92)
  2669. at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:439)
  2670. at jdk.proxy2/jdk.proxy2.$Proxy108.selectList(Unknown Source)
  2671. at org.mybatis.spring.SqlSessionTemplate.selectList(SqlSessionTemplate.java:224)
  2672. at org.apache.ibatis.binding.MapperMethod.executeForMany(MapperMethod.java:147)
  2673. at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:80)
  2674. at org.apache.ibatis.binding.MapperProxy$PlainMethodInvoker.invoke(MapperProxy.java:145)
  2675. at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:86)
  2676. at jdk.proxy3/jdk.proxy3.$Proxy366.getByPage(Unknown Source)
  2677. at jdk.internal.reflect.GeneratedMethodAccessor186.invoke(Unknown Source)
  2678. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  2679. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  2680. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
  2681. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:196)
  2682. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
  2683. at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:137)
  2684. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
  2685. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:218)
  2686. at jdk.proxy3/jdk.proxy3.$Proxy367.getByPage(Unknown Source)
  2687. at com.zhyc.xps.goaf.service.impl.GoafChecklistServiceImpl.getByPage(GoafChecklistServiceImpl.java:57)
  2688. at jdk.internal.reflect.GeneratedMethodAccessor185.invoke(Unknown Source)
  2689. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  2690. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  2691. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
  2692. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:196)
  2693. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
  2694. at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750)
  2695. at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:123)
  2696. at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:390)
  2697. at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119)
  2698. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
  2699. at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750)
  2700. at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:702)
  2701. at com.zhyc.xps.goaf.service.impl.GoafChecklistServiceImpl$$SpringCGLIB$$0.getByPage(<generated>)
  2702. at com.zhyc.xps.goaf.controller.GoafChecklistController.getGoafChecklistBypage(GoafChecklistController.java:54)
  2703. at jdk.internal.reflect.GeneratedMethodAccessor184.invoke(Unknown Source)
  2704. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  2705. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  2706. at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:207)
  2707. at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:152)
  2708. at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117)
  2709. at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:884)
  2710. at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797)
  2711. at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
  2712. at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1081)
  2713. at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:974)
  2714. at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1011)
  2715. at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:903)
  2716. at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:527)
  2717. at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:885)
  2718. at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:614)
  2719. at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)
  2720. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129)
  2721. at io.undertow.websockets.jsr.JsrWebSocketFilter.doFilter(JsrWebSocketFilter.java:172)
  2722. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  2723. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  2724. at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
  2725. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
  2726. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  2727. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  2728. at org.springframework.web.filter.ServerHttpObservationFilter.doFilterInternal(ServerHttpObservationFilter.java:109)
  2729. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
  2730. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  2731. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  2732. at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
  2733. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
  2734. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  2735. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  2736. at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)
  2737. at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
  2738. at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68)
  2739. at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
  2740. at io.undertow.servlet.handlers.RedirectDirHandler.handleRequest(RedirectDirHandler.java:68)
  2741. at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:117)
  2742. at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
  2743. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  2744. at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
  2745. at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
  2746. at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
  2747. at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)
  2748. at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
  2749. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  2750. at io.undertow.servlet.handlers.SendErrorPageHandler.handleRequest(SendErrorPageHandler.java:52)
  2751. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  2752. at io.undertow.servlet.handlers.SessionRestoringHandler.handleRequest(SessionRestoringHandler.java:119)
  2753. at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:276)
  2754. at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135)
  2755. at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:132)
  2756. at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
  2757. at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
  2758. at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:256)
  2759. at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:101)
  2760. at io.undertow.server.Connectors.executeRootHandler(Connectors.java:393)
  2761. at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:859)
  2762. at org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18)
  2763. at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2513)
  2764. at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1538)
  2765. at org.xnio.XnioWorker$WorkerThreadFactory$1$1.run(XnioWorker.java:1282)
  2766. at java.base/java.lang.Thread.run(Thread.java:833)
  2767. Caused by: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  2768. left join goaf_checklist_item AS B ON' at line 8
  2769. at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120)
  2770. at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122)
  2771. at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:916)
  2772. at com.mysql.cj.jdbc.ClientPreparedStatement.execute(ClientPreparedStatement.java:354)
  2773. at com.p6spy.engine.wrapper.PreparedStatementWrapper.execute(PreparedStatementWrapper.java:362)
  2774. at com.zaxxer.hikari.pool.ProxyPreparedStatement.execute(ProxyPreparedStatement.java:44)
  2775. at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.execute(HikariProxyPreparedStatement.java)
  2776. at org.apache.ibatis.executor.statement.PreparedStatementHandler.query(PreparedStatementHandler.java:64)
  2777. at org.apache.ibatis.executor.statement.RoutingStatementHandler.query(RoutingStatementHandler.java:79)
  2778. at org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:63)
  2779. at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:325)
  2780. at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:156)
  2781. at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:109)
  2782. at com.github.pagehelper.util.ExecutorUtil.executeAutoCount(ExecutorUtil.java:169)
  2783. at com.github.pagehelper.PageInterceptor.count(PageInterceptor.java:197)
  2784. at com.github.pagehelper.PageInterceptor.intercept(PageInterceptor.java:140)
  2785. at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:62)
  2786. at jdk.proxy2/jdk.proxy2.$Proxy417.query(Unknown Source)
  2787. at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:151)
  2788. at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:145)
  2789. at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:140)
  2790. at jdk.internal.reflect.GeneratedMethodAccessor87.invoke(Unknown Source)
  2791. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  2792. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  2793. at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:425)
  2794. ... 97 common frames omitted
  2795. 15:10:03.118 [XNIO-1 task-2] ERROR c.z.x.c.e.GlobalExceptionHandler -
  2796. ### Error querying database. Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  2797. left join goaf_checklist_item AS B ON' at line 8
  2798. ### The error may exist in file [E:\syf3prj\xps-server-3\xps-goaf\target\classes\mapper\GoafChecklistMapper.xml]
  2799. ### The error may involve com.zhyc.xps.goaf.mapper.GoafChecklistMapper.getByPage-Inline
  2800. ### The error occurred while setting parameters
  2801. ### SQL: select count(0) from ( SELECT A.checklist_id, A.oc_id, A.checklist_title, A.checklist_desc, B.checklist_item_id, B.checklist_item_content, FROM goaf_checklist AS A left join goaf_checklist_item AS B ON B.checklist_id = A.checklist_id WHERE A.oc_id = ? ) tmp_count
  2802. ### Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  2803. left join goaf_checklist_item AS B ON' at line 8
  2804. ; bad SQL grammar []
  2805. org.springframework.jdbc.BadSqlGrammarException:
  2806. ### Error querying database. Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  2807. left join goaf_checklist_item AS B ON' at line 8
  2808. ### The error may exist in file [E:\syf3prj\xps-server-3\xps-goaf\target\classes\mapper\GoafChecklistMapper.xml]
  2809. ### The error may involve com.zhyc.xps.goaf.mapper.GoafChecklistMapper.getByPage-Inline
  2810. ### The error occurred while setting parameters
  2811. ### SQL: select count(0) from ( SELECT A.checklist_id, A.oc_id, A.checklist_title, A.checklist_desc, B.checklist_item_id, B.checklist_item_content, FROM goaf_checklist AS A left join goaf_checklist_item AS B ON B.checklist_id = A.checklist_id WHERE A.oc_id = ? ) tmp_count
  2812. ### Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  2813. left join goaf_checklist_item AS B ON' at line 8
  2814. ; bad SQL grammar []
  2815. at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:243)
  2816. at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:70)
  2817. at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:92)
  2818. at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:439)
  2819. at jdk.proxy2/jdk.proxy2.$Proxy108.selectList(Unknown Source)
  2820. at org.mybatis.spring.SqlSessionTemplate.selectList(SqlSessionTemplate.java:224)
  2821. at org.apache.ibatis.binding.MapperMethod.executeForMany(MapperMethod.java:147)
  2822. at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:80)
  2823. at org.apache.ibatis.binding.MapperProxy$PlainMethodInvoker.invoke(MapperProxy.java:145)
  2824. at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:86)
  2825. at jdk.proxy3/jdk.proxy3.$Proxy366.getByPage(Unknown Source)
  2826. at jdk.internal.reflect.GeneratedMethodAccessor186.invoke(Unknown Source)
  2827. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  2828. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  2829. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
  2830. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:196)
  2831. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
  2832. at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:137)
  2833. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
  2834. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:218)
  2835. at jdk.proxy3/jdk.proxy3.$Proxy367.getByPage(Unknown Source)
  2836. at com.zhyc.xps.goaf.service.impl.GoafChecklistServiceImpl.getByPage(GoafChecklistServiceImpl.java:57)
  2837. at jdk.internal.reflect.GeneratedMethodAccessor185.invoke(Unknown Source)
  2838. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  2839. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  2840. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
  2841. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:196)
  2842. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
  2843. at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750)
  2844. at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:123)
  2845. at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:390)
  2846. at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119)
  2847. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
  2848. at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750)
  2849. at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:702)
  2850. at com.zhyc.xps.goaf.service.impl.GoafChecklistServiceImpl$$SpringCGLIB$$0.getByPage(<generated>)
  2851. at com.zhyc.xps.goaf.controller.GoafChecklistController.getGoafChecklistBypage(GoafChecklistController.java:54)
  2852. at jdk.internal.reflect.GeneratedMethodAccessor184.invoke(Unknown Source)
  2853. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  2854. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  2855. at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:207)
  2856. at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:152)
  2857. at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117)
  2858. at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:884)
  2859. at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797)
  2860. at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
  2861. at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1081)
  2862. at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:974)
  2863. at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1011)
  2864. at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:903)
  2865. at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:527)
  2866. at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:885)
  2867. at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:614)
  2868. at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)
  2869. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129)
  2870. at io.undertow.websockets.jsr.JsrWebSocketFilter.doFilter(JsrWebSocketFilter.java:172)
  2871. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  2872. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  2873. at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
  2874. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
  2875. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  2876. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  2877. at org.springframework.web.filter.ServerHttpObservationFilter.doFilterInternal(ServerHttpObservationFilter.java:109)
  2878. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
  2879. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  2880. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  2881. at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
  2882. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
  2883. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  2884. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  2885. at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)
  2886. at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
  2887. at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68)
  2888. at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
  2889. at io.undertow.servlet.handlers.RedirectDirHandler.handleRequest(RedirectDirHandler.java:68)
  2890. at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:117)
  2891. at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
  2892. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  2893. at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
  2894. at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
  2895. at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
  2896. at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)
  2897. at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
  2898. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  2899. at io.undertow.servlet.handlers.SendErrorPageHandler.handleRequest(SendErrorPageHandler.java:52)
  2900. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  2901. at io.undertow.servlet.handlers.SessionRestoringHandler.handleRequest(SessionRestoringHandler.java:119)
  2902. at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:276)
  2903. at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135)
  2904. at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:132)
  2905. at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
  2906. at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
  2907. at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:256)
  2908. at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:101)
  2909. at io.undertow.server.Connectors.executeRootHandler(Connectors.java:393)
  2910. at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:859)
  2911. at org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18)
  2912. at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2513)
  2913. at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1538)
  2914. at org.xnio.XnioWorker$WorkerThreadFactory$1$1.run(XnioWorker.java:1282)
  2915. at java.base/java.lang.Thread.run(Thread.java:833)
  2916. Caused by: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  2917. left join goaf_checklist_item AS B ON' at line 8
  2918. at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120)
  2919. at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122)
  2920. at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:916)
  2921. at com.mysql.cj.jdbc.ClientPreparedStatement.execute(ClientPreparedStatement.java:354)
  2922. at com.p6spy.engine.wrapper.PreparedStatementWrapper.execute(PreparedStatementWrapper.java:362)
  2923. at com.zaxxer.hikari.pool.ProxyPreparedStatement.execute(ProxyPreparedStatement.java:44)
  2924. at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.execute(HikariProxyPreparedStatement.java)
  2925. at org.apache.ibatis.executor.statement.PreparedStatementHandler.query(PreparedStatementHandler.java:64)
  2926. at org.apache.ibatis.executor.statement.RoutingStatementHandler.query(RoutingStatementHandler.java:79)
  2927. at org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:63)
  2928. at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:325)
  2929. at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:156)
  2930. at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:109)
  2931. at com.github.pagehelper.util.ExecutorUtil.executeAutoCount(ExecutorUtil.java:169)
  2932. at com.github.pagehelper.PageInterceptor.count(PageInterceptor.java:197)
  2933. at com.github.pagehelper.PageInterceptor.intercept(PageInterceptor.java:140)
  2934. at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:62)
  2935. at jdk.proxy2/jdk.proxy2.$Proxy417.query(Unknown Source)
  2936. at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:151)
  2937. at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:145)
  2938. at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:140)
  2939. at jdk.internal.reflect.GeneratedMethodAccessor87.invoke(Unknown Source)
  2940. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  2941. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  2942. at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:425)
  2943. ... 97 common frames omitted
  2944. 15:10:07.646 [XNIO-1 task-2] ERROR c.z.x.c.e.GlobalExceptionHandler -
  2945. ### Error querying database. Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  2946. left join goaf_checklist_item AS B ON' at line 8
  2947. ### The error may exist in file [E:\syf3prj\xps-server-3\xps-goaf\target\classes\mapper\GoafChecklistMapper.xml]
  2948. ### The error may involve com.zhyc.xps.goaf.mapper.GoafChecklistMapper.getByPage-Inline
  2949. ### The error occurred while setting parameters
  2950. ### SQL: select count(0) from ( SELECT A.checklist_id, A.oc_id, A.checklist_title, A.checklist_desc, B.checklist_item_id, B.checklist_item_content, FROM goaf_checklist AS A left join goaf_checklist_item AS B ON B.checklist_id = A.checklist_id WHERE A.oc_id = ? ) tmp_count
  2951. ### Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  2952. left join goaf_checklist_item AS B ON' at line 8
  2953. ; bad SQL grammar []
  2954. org.springframework.jdbc.BadSqlGrammarException:
  2955. ### Error querying database. Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  2956. left join goaf_checklist_item AS B ON' at line 8
  2957. ### The error may exist in file [E:\syf3prj\xps-server-3\xps-goaf\target\classes\mapper\GoafChecklistMapper.xml]
  2958. ### The error may involve com.zhyc.xps.goaf.mapper.GoafChecklistMapper.getByPage-Inline
  2959. ### The error occurred while setting parameters
  2960. ### SQL: select count(0) from ( SELECT A.checklist_id, A.oc_id, A.checklist_title, A.checklist_desc, B.checklist_item_id, B.checklist_item_content, FROM goaf_checklist AS A left join goaf_checklist_item AS B ON B.checklist_id = A.checklist_id WHERE A.oc_id = ? ) tmp_count
  2961. ### Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  2962. left join goaf_checklist_item AS B ON' at line 8
  2963. ; bad SQL grammar []
  2964. at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:243)
  2965. at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:70)
  2966. at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:92)
  2967. at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:439)
  2968. at jdk.proxy2/jdk.proxy2.$Proxy108.selectList(Unknown Source)
  2969. at org.mybatis.spring.SqlSessionTemplate.selectList(SqlSessionTemplate.java:224)
  2970. at org.apache.ibatis.binding.MapperMethod.executeForMany(MapperMethod.java:147)
  2971. at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:80)
  2972. at org.apache.ibatis.binding.MapperProxy$PlainMethodInvoker.invoke(MapperProxy.java:145)
  2973. at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:86)
  2974. at jdk.proxy3/jdk.proxy3.$Proxy366.getByPage(Unknown Source)
  2975. at jdk.internal.reflect.GeneratedMethodAccessor186.invoke(Unknown Source)
  2976. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  2977. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  2978. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
  2979. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:196)
  2980. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
  2981. at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:137)
  2982. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
  2983. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:218)
  2984. at jdk.proxy3/jdk.proxy3.$Proxy367.getByPage(Unknown Source)
  2985. at com.zhyc.xps.goaf.service.impl.GoafChecklistServiceImpl.getByPage(GoafChecklistServiceImpl.java:57)
  2986. at jdk.internal.reflect.GeneratedMethodAccessor185.invoke(Unknown Source)
  2987. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  2988. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  2989. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
  2990. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:196)
  2991. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
  2992. at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750)
  2993. at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:123)
  2994. at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:390)
  2995. at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119)
  2996. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
  2997. at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750)
  2998. at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:702)
  2999. at com.zhyc.xps.goaf.service.impl.GoafChecklistServiceImpl$$SpringCGLIB$$0.getByPage(<generated>)
  3000. at com.zhyc.xps.goaf.controller.GoafChecklistController.getGoafChecklistBypage(GoafChecklistController.java:54)
  3001. at jdk.internal.reflect.GeneratedMethodAccessor184.invoke(Unknown Source)
  3002. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  3003. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  3004. at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:207)
  3005. at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:152)
  3006. at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117)
  3007. at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:884)
  3008. at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797)
  3009. at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
  3010. at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1081)
  3011. at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:974)
  3012. at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1011)
  3013. at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:903)
  3014. at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:527)
  3015. at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:885)
  3016. at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:614)
  3017. at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)
  3018. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129)
  3019. at io.undertow.websockets.jsr.JsrWebSocketFilter.doFilter(JsrWebSocketFilter.java:172)
  3020. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  3021. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  3022. at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
  3023. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
  3024. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  3025. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  3026. at org.springframework.web.filter.ServerHttpObservationFilter.doFilterInternal(ServerHttpObservationFilter.java:109)
  3027. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
  3028. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  3029. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  3030. at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
  3031. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
  3032. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  3033. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  3034. at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)
  3035. at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
  3036. at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68)
  3037. at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
  3038. at io.undertow.servlet.handlers.RedirectDirHandler.handleRequest(RedirectDirHandler.java:68)
  3039. at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:117)
  3040. at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
  3041. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  3042. at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
  3043. at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
  3044. at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
  3045. at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)
  3046. at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
  3047. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  3048. at io.undertow.servlet.handlers.SendErrorPageHandler.handleRequest(SendErrorPageHandler.java:52)
  3049. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  3050. at io.undertow.servlet.handlers.SessionRestoringHandler.handleRequest(SessionRestoringHandler.java:119)
  3051. at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:276)
  3052. at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135)
  3053. at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:132)
  3054. at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
  3055. at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
  3056. at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:256)
  3057. at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:101)
  3058. at io.undertow.server.Connectors.executeRootHandler(Connectors.java:393)
  3059. at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:859)
  3060. at org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18)
  3061. at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2513)
  3062. at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1538)
  3063. at org.xnio.XnioWorker$WorkerThreadFactory$1$1.run(XnioWorker.java:1282)
  3064. at java.base/java.lang.Thread.run(Thread.java:833)
  3065. Caused by: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  3066. left join goaf_checklist_item AS B ON' at line 8
  3067. at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120)
  3068. at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122)
  3069. at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:916)
  3070. at com.mysql.cj.jdbc.ClientPreparedStatement.execute(ClientPreparedStatement.java:354)
  3071. at com.p6spy.engine.wrapper.PreparedStatementWrapper.execute(PreparedStatementWrapper.java:362)
  3072. at com.zaxxer.hikari.pool.ProxyPreparedStatement.execute(ProxyPreparedStatement.java:44)
  3073. at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.execute(HikariProxyPreparedStatement.java)
  3074. at org.apache.ibatis.executor.statement.PreparedStatementHandler.query(PreparedStatementHandler.java:64)
  3075. at org.apache.ibatis.executor.statement.RoutingStatementHandler.query(RoutingStatementHandler.java:79)
  3076. at org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:63)
  3077. at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:325)
  3078. at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:156)
  3079. at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:109)
  3080. at com.github.pagehelper.util.ExecutorUtil.executeAutoCount(ExecutorUtil.java:169)
  3081. at com.github.pagehelper.PageInterceptor.count(PageInterceptor.java:197)
  3082. at com.github.pagehelper.PageInterceptor.intercept(PageInterceptor.java:140)
  3083. at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:62)
  3084. at jdk.proxy2/jdk.proxy2.$Proxy417.query(Unknown Source)
  3085. at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:151)
  3086. at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:145)
  3087. at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:140)
  3088. at jdk.internal.reflect.GeneratedMethodAccessor87.invoke(Unknown Source)
  3089. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  3090. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  3091. at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:425)
  3092. ... 97 common frames omitted
  3093. 15:10:22.175 [XNIO-1 task-5] ERROR c.z.x.c.e.GlobalExceptionHandler -
  3094. ### Error querying database. Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  3095. left join goaf_checklist_item AS B ON' at line 8
  3096. ### The error may exist in file [E:\syf3prj\xps-server-3\xps-goaf\target\classes\mapper\GoafChecklistMapper.xml]
  3097. ### The error may involve com.zhyc.xps.goaf.mapper.GoafChecklistMapper.getByPage-Inline
  3098. ### The error occurred while setting parameters
  3099. ### SQL: select count(0) from ( SELECT A.checklist_id, A.oc_id, A.checklist_title, A.checklist_desc, B.checklist_item_id, B.checklist_item_content, FROM goaf_checklist AS A left join goaf_checklist_item AS B ON B.checklist_id = A.checklist_id WHERE A.oc_id = ? ) tmp_count
  3100. ### Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  3101. left join goaf_checklist_item AS B ON' at line 8
  3102. ; bad SQL grammar []
  3103. org.springframework.jdbc.BadSqlGrammarException:
  3104. ### Error querying database. Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  3105. left join goaf_checklist_item AS B ON' at line 8
  3106. ### The error may exist in file [E:\syf3prj\xps-server-3\xps-goaf\target\classes\mapper\GoafChecklistMapper.xml]
  3107. ### The error may involve com.zhyc.xps.goaf.mapper.GoafChecklistMapper.getByPage-Inline
  3108. ### The error occurred while setting parameters
  3109. ### SQL: select count(0) from ( SELECT A.checklist_id, A.oc_id, A.checklist_title, A.checklist_desc, B.checklist_item_id, B.checklist_item_content, FROM goaf_checklist AS A left join goaf_checklist_item AS B ON B.checklist_id = A.checklist_id WHERE A.oc_id = ? ) tmp_count
  3110. ### Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  3111. left join goaf_checklist_item AS B ON' at line 8
  3112. ; bad SQL grammar []
  3113. at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:243)
  3114. at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:70)
  3115. at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:92)
  3116. at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:439)
  3117. at jdk.proxy2/jdk.proxy2.$Proxy108.selectList(Unknown Source)
  3118. at org.mybatis.spring.SqlSessionTemplate.selectList(SqlSessionTemplate.java:224)
  3119. at org.apache.ibatis.binding.MapperMethod.executeForMany(MapperMethod.java:147)
  3120. at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:80)
  3121. at org.apache.ibatis.binding.MapperProxy$PlainMethodInvoker.invoke(MapperProxy.java:145)
  3122. at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:86)
  3123. at jdk.proxy3/jdk.proxy3.$Proxy366.getByPage(Unknown Source)
  3124. at jdk.internal.reflect.GeneratedMethodAccessor186.invoke(Unknown Source)
  3125. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  3126. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  3127. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
  3128. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:196)
  3129. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
  3130. at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:137)
  3131. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
  3132. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:218)
  3133. at jdk.proxy3/jdk.proxy3.$Proxy367.getByPage(Unknown Source)
  3134. at com.zhyc.xps.goaf.service.impl.GoafChecklistServiceImpl.getByPage(GoafChecklistServiceImpl.java:57)
  3135. at jdk.internal.reflect.GeneratedMethodAccessor185.invoke(Unknown Source)
  3136. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  3137. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  3138. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
  3139. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:196)
  3140. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
  3141. at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750)
  3142. at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:123)
  3143. at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:390)
  3144. at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119)
  3145. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
  3146. at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750)
  3147. at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:702)
  3148. at com.zhyc.xps.goaf.service.impl.GoafChecklistServiceImpl$$SpringCGLIB$$0.getByPage(<generated>)
  3149. at com.zhyc.xps.goaf.controller.GoafChecklistController.getGoafChecklistBypage(GoafChecklistController.java:54)
  3150. at jdk.internal.reflect.GeneratedMethodAccessor184.invoke(Unknown Source)
  3151. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  3152. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  3153. at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:207)
  3154. at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:152)
  3155. at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117)
  3156. at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:884)
  3157. at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797)
  3158. at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
  3159. at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1081)
  3160. at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:974)
  3161. at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1011)
  3162. at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:903)
  3163. at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:527)
  3164. at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:885)
  3165. at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:614)
  3166. at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)
  3167. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129)
  3168. at io.undertow.websockets.jsr.JsrWebSocketFilter.doFilter(JsrWebSocketFilter.java:172)
  3169. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  3170. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  3171. at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
  3172. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
  3173. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  3174. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  3175. at org.springframework.web.filter.ServerHttpObservationFilter.doFilterInternal(ServerHttpObservationFilter.java:109)
  3176. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
  3177. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  3178. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  3179. at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
  3180. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
  3181. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  3182. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  3183. at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)
  3184. at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
  3185. at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68)
  3186. at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
  3187. at io.undertow.servlet.handlers.RedirectDirHandler.handleRequest(RedirectDirHandler.java:68)
  3188. at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:117)
  3189. at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
  3190. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  3191. at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
  3192. at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
  3193. at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
  3194. at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)
  3195. at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
  3196. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  3197. at io.undertow.servlet.handlers.SendErrorPageHandler.handleRequest(SendErrorPageHandler.java:52)
  3198. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  3199. at io.undertow.servlet.handlers.SessionRestoringHandler.handleRequest(SessionRestoringHandler.java:119)
  3200. at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:276)
  3201. at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135)
  3202. at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:132)
  3203. at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
  3204. at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
  3205. at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:256)
  3206. at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:101)
  3207. at io.undertow.server.Connectors.executeRootHandler(Connectors.java:393)
  3208. at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:859)
  3209. at org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18)
  3210. at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2513)
  3211. at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1538)
  3212. at org.xnio.XnioWorker$WorkerThreadFactory$1$1.run(XnioWorker.java:1282)
  3213. at java.base/java.lang.Thread.run(Thread.java:833)
  3214. Caused by: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  3215. left join goaf_checklist_item AS B ON' at line 8
  3216. at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120)
  3217. at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122)
  3218. at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:916)
  3219. at com.mysql.cj.jdbc.ClientPreparedStatement.execute(ClientPreparedStatement.java:354)
  3220. at com.p6spy.engine.wrapper.PreparedStatementWrapper.execute(PreparedStatementWrapper.java:362)
  3221. at com.zaxxer.hikari.pool.ProxyPreparedStatement.execute(ProxyPreparedStatement.java:44)
  3222. at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.execute(HikariProxyPreparedStatement.java)
  3223. at org.apache.ibatis.executor.statement.PreparedStatementHandler.query(PreparedStatementHandler.java:64)
  3224. at org.apache.ibatis.executor.statement.RoutingStatementHandler.query(RoutingStatementHandler.java:79)
  3225. at org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:63)
  3226. at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:325)
  3227. at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:156)
  3228. at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:109)
  3229. at com.github.pagehelper.util.ExecutorUtil.executeAutoCount(ExecutorUtil.java:169)
  3230. at com.github.pagehelper.PageInterceptor.count(PageInterceptor.java:197)
  3231. at com.github.pagehelper.PageInterceptor.intercept(PageInterceptor.java:140)
  3232. at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:62)
  3233. at jdk.proxy2/jdk.proxy2.$Proxy417.query(Unknown Source)
  3234. at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:151)
  3235. at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:145)
  3236. at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:140)
  3237. at jdk.internal.reflect.GeneratedMethodAccessor87.invoke(Unknown Source)
  3238. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  3239. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  3240. at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:425)
  3241. ... 97 common frames omitted
  3242. 15:11:42.921 [XNIO-1 task-2] ERROR c.z.x.c.e.GlobalExceptionHandler -
  3243. ### Error querying database. Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  3244. left join goaf_checklist_item AS B ON' at line 8
  3245. ### The error may exist in file [E:\syf3prj\xps-server-3\xps-goaf\target\classes\mapper\GoafChecklistMapper.xml]
  3246. ### The error may involve com.zhyc.xps.goaf.mapper.GoafChecklistMapper.getByPage-Inline
  3247. ### The error occurred while setting parameters
  3248. ### SQL: select count(0) from ( SELECT A.checklist_id, A.oc_id, A.checklist_title, A.checklist_desc, B.checklist_item_id, B.checklist_item_content, FROM goaf_checklist AS A left join goaf_checklist_item AS B ON B.checklist_id = A.checklist_id WHERE A.oc_id = ? ) tmp_count
  3249. ### Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  3250. left join goaf_checklist_item AS B ON' at line 8
  3251. ; bad SQL grammar []
  3252. org.springframework.jdbc.BadSqlGrammarException:
  3253. ### Error querying database. Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  3254. left join goaf_checklist_item AS B ON' at line 8
  3255. ### The error may exist in file [E:\syf3prj\xps-server-3\xps-goaf\target\classes\mapper\GoafChecklistMapper.xml]
  3256. ### The error may involve com.zhyc.xps.goaf.mapper.GoafChecklistMapper.getByPage-Inline
  3257. ### The error occurred while setting parameters
  3258. ### SQL: select count(0) from ( SELECT A.checklist_id, A.oc_id, A.checklist_title, A.checklist_desc, B.checklist_item_id, B.checklist_item_content, FROM goaf_checklist AS A left join goaf_checklist_item AS B ON B.checklist_id = A.checklist_id WHERE A.oc_id = ? ) tmp_count
  3259. ### Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  3260. left join goaf_checklist_item AS B ON' at line 8
  3261. ; bad SQL grammar []
  3262. at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:243)
  3263. at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:70)
  3264. at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:92)
  3265. at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:439)
  3266. at jdk.proxy2/jdk.proxy2.$Proxy108.selectList(Unknown Source)
  3267. at org.mybatis.spring.SqlSessionTemplate.selectList(SqlSessionTemplate.java:224)
  3268. at org.apache.ibatis.binding.MapperMethod.executeForMany(MapperMethod.java:147)
  3269. at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:80)
  3270. at org.apache.ibatis.binding.MapperProxy$PlainMethodInvoker.invoke(MapperProxy.java:145)
  3271. at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:86)
  3272. at jdk.proxy3/jdk.proxy3.$Proxy366.getByPage(Unknown Source)
  3273. at jdk.internal.reflect.GeneratedMethodAccessor186.invoke(Unknown Source)
  3274. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  3275. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  3276. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
  3277. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:196)
  3278. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
  3279. at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:137)
  3280. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
  3281. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:218)
  3282. at jdk.proxy3/jdk.proxy3.$Proxy367.getByPage(Unknown Source)
  3283. at com.zhyc.xps.goaf.service.impl.GoafChecklistServiceImpl.getByPage(GoafChecklistServiceImpl.java:57)
  3284. at jdk.internal.reflect.GeneratedMethodAccessor185.invoke(Unknown Source)
  3285. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  3286. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  3287. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
  3288. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:196)
  3289. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
  3290. at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750)
  3291. at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:123)
  3292. at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:390)
  3293. at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119)
  3294. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
  3295. at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750)
  3296. at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:702)
  3297. at com.zhyc.xps.goaf.service.impl.GoafChecklistServiceImpl$$SpringCGLIB$$0.getByPage(<generated>)
  3298. at com.zhyc.xps.goaf.controller.GoafChecklistController.getGoafChecklistBypage(GoafChecklistController.java:54)
  3299. at jdk.internal.reflect.GeneratedMethodAccessor184.invoke(Unknown Source)
  3300. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  3301. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  3302. at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:207)
  3303. at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:152)
  3304. at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117)
  3305. at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:884)
  3306. at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797)
  3307. at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
  3308. at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1081)
  3309. at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:974)
  3310. at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1011)
  3311. at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:903)
  3312. at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:527)
  3313. at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:885)
  3314. at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:614)
  3315. at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)
  3316. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129)
  3317. at io.undertow.websockets.jsr.JsrWebSocketFilter.doFilter(JsrWebSocketFilter.java:172)
  3318. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  3319. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  3320. at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
  3321. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
  3322. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  3323. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  3324. at org.springframework.web.filter.ServerHttpObservationFilter.doFilterInternal(ServerHttpObservationFilter.java:109)
  3325. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
  3326. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  3327. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  3328. at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
  3329. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
  3330. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  3331. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  3332. at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)
  3333. at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
  3334. at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68)
  3335. at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
  3336. at io.undertow.servlet.handlers.RedirectDirHandler.handleRequest(RedirectDirHandler.java:68)
  3337. at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:117)
  3338. at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
  3339. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  3340. at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
  3341. at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
  3342. at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
  3343. at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)
  3344. at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
  3345. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  3346. at io.undertow.servlet.handlers.SendErrorPageHandler.handleRequest(SendErrorPageHandler.java:52)
  3347. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  3348. at io.undertow.servlet.handlers.SessionRestoringHandler.handleRequest(SessionRestoringHandler.java:119)
  3349. at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:276)
  3350. at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135)
  3351. at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:132)
  3352. at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
  3353. at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
  3354. at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:256)
  3355. at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:101)
  3356. at io.undertow.server.Connectors.executeRootHandler(Connectors.java:393)
  3357. at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:859)
  3358. at org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18)
  3359. at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2513)
  3360. at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1538)
  3361. at org.xnio.XnioWorker$WorkerThreadFactory$1$1.run(XnioWorker.java:1282)
  3362. at java.base/java.lang.Thread.run(Thread.java:833)
  3363. Caused by: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  3364. left join goaf_checklist_item AS B ON' at line 8
  3365. at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120)
  3366. at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122)
  3367. at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:916)
  3368. at com.mysql.cj.jdbc.ClientPreparedStatement.execute(ClientPreparedStatement.java:354)
  3369. at com.p6spy.engine.wrapper.PreparedStatementWrapper.execute(PreparedStatementWrapper.java:362)
  3370. at com.zaxxer.hikari.pool.ProxyPreparedStatement.execute(ProxyPreparedStatement.java:44)
  3371. at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.execute(HikariProxyPreparedStatement.java)
  3372. at org.apache.ibatis.executor.statement.PreparedStatementHandler.query(PreparedStatementHandler.java:64)
  3373. at org.apache.ibatis.executor.statement.RoutingStatementHandler.query(RoutingStatementHandler.java:79)
  3374. at org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:63)
  3375. at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:325)
  3376. at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:156)
  3377. at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:109)
  3378. at com.github.pagehelper.util.ExecutorUtil.executeAutoCount(ExecutorUtil.java:169)
  3379. at com.github.pagehelper.PageInterceptor.count(PageInterceptor.java:197)
  3380. at com.github.pagehelper.PageInterceptor.intercept(PageInterceptor.java:140)
  3381. at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:62)
  3382. at jdk.proxy2/jdk.proxy2.$Proxy417.query(Unknown Source)
  3383. at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:151)
  3384. at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:145)
  3385. at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:140)
  3386. at jdk.internal.reflect.GeneratedMethodAccessor87.invoke(Unknown Source)
  3387. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  3388. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  3389. at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:425)
  3390. ... 97 common frames omitted
  3391. 15:12:05.169 [XNIO-1 task-2] ERROR c.z.x.c.e.GlobalExceptionHandler -
  3392. ### Error querying database. Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  3393. left join goaf_checklist_item AS B ON' at line 8
  3394. ### The error may exist in file [E:\syf3prj\xps-server-3\xps-goaf\target\classes\mapper\GoafChecklistMapper.xml]
  3395. ### The error may involve com.zhyc.xps.goaf.mapper.GoafChecklistMapper.getByPage-Inline
  3396. ### The error occurred while setting parameters
  3397. ### SQL: select count(0) from ( SELECT A.checklist_id, A.oc_id, A.checklist_title, A.checklist_desc, B.checklist_item_id, B.checklist_item_content, FROM goaf_checklist AS A left join goaf_checklist_item AS B ON B.checklist_id = A.checklist_id WHERE A.oc_id = ? ) tmp_count
  3398. ### Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  3399. left join goaf_checklist_item AS B ON' at line 8
  3400. ; bad SQL grammar []
  3401. org.springframework.jdbc.BadSqlGrammarException:
  3402. ### Error querying database. Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  3403. left join goaf_checklist_item AS B ON' at line 8
  3404. ### The error may exist in file [E:\syf3prj\xps-server-3\xps-goaf\target\classes\mapper\GoafChecklistMapper.xml]
  3405. ### The error may involve com.zhyc.xps.goaf.mapper.GoafChecklistMapper.getByPage-Inline
  3406. ### The error occurred while setting parameters
  3407. ### SQL: select count(0) from ( SELECT A.checklist_id, A.oc_id, A.checklist_title, A.checklist_desc, B.checklist_item_id, B.checklist_item_content, FROM goaf_checklist AS A left join goaf_checklist_item AS B ON B.checklist_id = A.checklist_id WHERE A.oc_id = ? ) tmp_count
  3408. ### Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  3409. left join goaf_checklist_item AS B ON' at line 8
  3410. ; bad SQL grammar []
  3411. at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:243)
  3412. at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:70)
  3413. at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:92)
  3414. at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:439)
  3415. at jdk.proxy2/jdk.proxy2.$Proxy108.selectList(Unknown Source)
  3416. at org.mybatis.spring.SqlSessionTemplate.selectList(SqlSessionTemplate.java:224)
  3417. at org.apache.ibatis.binding.MapperMethod.executeForMany(MapperMethod.java:147)
  3418. at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:80)
  3419. at org.apache.ibatis.binding.MapperProxy$PlainMethodInvoker.invoke(MapperProxy.java:145)
  3420. at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:86)
  3421. at jdk.proxy3/jdk.proxy3.$Proxy366.getByPage(Unknown Source)
  3422. at jdk.internal.reflect.GeneratedMethodAccessor186.invoke(Unknown Source)
  3423. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  3424. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  3425. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
  3426. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:196)
  3427. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
  3428. at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:137)
  3429. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
  3430. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:218)
  3431. at jdk.proxy3/jdk.proxy3.$Proxy367.getByPage(Unknown Source)
  3432. at com.zhyc.xps.goaf.service.impl.GoafChecklistServiceImpl.getByPage(GoafChecklistServiceImpl.java:57)
  3433. at jdk.internal.reflect.GeneratedMethodAccessor185.invoke(Unknown Source)
  3434. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  3435. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  3436. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
  3437. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:196)
  3438. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
  3439. at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750)
  3440. at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:123)
  3441. at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:390)
  3442. at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119)
  3443. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
  3444. at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750)
  3445. at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:702)
  3446. at com.zhyc.xps.goaf.service.impl.GoafChecklistServiceImpl$$SpringCGLIB$$0.getByPage(<generated>)
  3447. at com.zhyc.xps.goaf.controller.GoafChecklistController.getGoafChecklistBypage(GoafChecklistController.java:54)
  3448. at jdk.internal.reflect.GeneratedMethodAccessor184.invoke(Unknown Source)
  3449. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  3450. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  3451. at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:207)
  3452. at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:152)
  3453. at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117)
  3454. at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:884)
  3455. at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797)
  3456. at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
  3457. at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1081)
  3458. at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:974)
  3459. at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1011)
  3460. at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:903)
  3461. at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:527)
  3462. at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:885)
  3463. at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:614)
  3464. at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)
  3465. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129)
  3466. at io.undertow.websockets.jsr.JsrWebSocketFilter.doFilter(JsrWebSocketFilter.java:172)
  3467. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  3468. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  3469. at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
  3470. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
  3471. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  3472. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  3473. at org.springframework.web.filter.ServerHttpObservationFilter.doFilterInternal(ServerHttpObservationFilter.java:109)
  3474. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
  3475. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  3476. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  3477. at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
  3478. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
  3479. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  3480. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  3481. at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)
  3482. at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
  3483. at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68)
  3484. at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
  3485. at io.undertow.servlet.handlers.RedirectDirHandler.handleRequest(RedirectDirHandler.java:68)
  3486. at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:117)
  3487. at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
  3488. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  3489. at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
  3490. at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
  3491. at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
  3492. at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)
  3493. at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
  3494. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  3495. at io.undertow.servlet.handlers.SendErrorPageHandler.handleRequest(SendErrorPageHandler.java:52)
  3496. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  3497. at io.undertow.servlet.handlers.SessionRestoringHandler.handleRequest(SessionRestoringHandler.java:119)
  3498. at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:276)
  3499. at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135)
  3500. at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:132)
  3501. at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
  3502. at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
  3503. at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:256)
  3504. at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:101)
  3505. at io.undertow.server.Connectors.executeRootHandler(Connectors.java:393)
  3506. at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:859)
  3507. at org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18)
  3508. at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2513)
  3509. at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1538)
  3510. at org.xnio.XnioWorker$WorkerThreadFactory$1$1.run(XnioWorker.java:1282)
  3511. at java.base/java.lang.Thread.run(Thread.java:833)
  3512. Caused by: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  3513. left join goaf_checklist_item AS B ON' at line 8
  3514. at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120)
  3515. at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122)
  3516. at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:916)
  3517. at com.mysql.cj.jdbc.ClientPreparedStatement.execute(ClientPreparedStatement.java:354)
  3518. at com.p6spy.engine.wrapper.PreparedStatementWrapper.execute(PreparedStatementWrapper.java:362)
  3519. at com.zaxxer.hikari.pool.ProxyPreparedStatement.execute(ProxyPreparedStatement.java:44)
  3520. at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.execute(HikariProxyPreparedStatement.java)
  3521. at org.apache.ibatis.executor.statement.PreparedStatementHandler.query(PreparedStatementHandler.java:64)
  3522. at org.apache.ibatis.executor.statement.RoutingStatementHandler.query(RoutingStatementHandler.java:79)
  3523. at org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:63)
  3524. at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:325)
  3525. at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:156)
  3526. at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:109)
  3527. at com.github.pagehelper.util.ExecutorUtil.executeAutoCount(ExecutorUtil.java:169)
  3528. at com.github.pagehelper.PageInterceptor.count(PageInterceptor.java:197)
  3529. at com.github.pagehelper.PageInterceptor.intercept(PageInterceptor.java:140)
  3530. at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:62)
  3531. at jdk.proxy2/jdk.proxy2.$Proxy417.query(Unknown Source)
  3532. at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:151)
  3533. at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:145)
  3534. at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:140)
  3535. at jdk.internal.reflect.GeneratedMethodAccessor87.invoke(Unknown Source)
  3536. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  3537. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  3538. at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:425)
  3539. ... 97 common frames omitted
  3540. 15:12:10.237 [XNIO-1 task-2] ERROR c.z.x.c.e.GlobalExceptionHandler -
  3541. ### Error querying database. Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  3542. left join goaf_checklist_item AS B ON' at line 8
  3543. ### The error may exist in file [E:\syf3prj\xps-server-3\xps-goaf\target\classes\mapper\GoafChecklistMapper.xml]
  3544. ### The error may involve com.zhyc.xps.goaf.mapper.GoafChecklistMapper.getByPage-Inline
  3545. ### The error occurred while setting parameters
  3546. ### SQL: select count(0) from ( SELECT A.checklist_id, A.oc_id, A.checklist_title, A.checklist_desc, B.checklist_item_id, B.checklist_item_content, FROM goaf_checklist AS A left join goaf_checklist_item AS B ON B.checklist_id = A.checklist_id WHERE A.oc_id = ? ) tmp_count
  3547. ### Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  3548. left join goaf_checklist_item AS B ON' at line 8
  3549. ; bad SQL grammar []
  3550. org.springframework.jdbc.BadSqlGrammarException:
  3551. ### Error querying database. Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  3552. left join goaf_checklist_item AS B ON' at line 8
  3553. ### The error may exist in file [E:\syf3prj\xps-server-3\xps-goaf\target\classes\mapper\GoafChecklistMapper.xml]
  3554. ### The error may involve com.zhyc.xps.goaf.mapper.GoafChecklistMapper.getByPage-Inline
  3555. ### The error occurred while setting parameters
  3556. ### SQL: select count(0) from ( SELECT A.checklist_id, A.oc_id, A.checklist_title, A.checklist_desc, B.checklist_item_id, B.checklist_item_content, FROM goaf_checklist AS A left join goaf_checklist_item AS B ON B.checklist_id = A.checklist_id WHERE A.oc_id = ? ) tmp_count
  3557. ### Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  3558. left join goaf_checklist_item AS B ON' at line 8
  3559. ; bad SQL grammar []
  3560. at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:243)
  3561. at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:70)
  3562. at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:92)
  3563. at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:439)
  3564. at jdk.proxy2/jdk.proxy2.$Proxy108.selectList(Unknown Source)
  3565. at org.mybatis.spring.SqlSessionTemplate.selectList(SqlSessionTemplate.java:224)
  3566. at org.apache.ibatis.binding.MapperMethod.executeForMany(MapperMethod.java:147)
  3567. at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:80)
  3568. at org.apache.ibatis.binding.MapperProxy$PlainMethodInvoker.invoke(MapperProxy.java:145)
  3569. at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:86)
  3570. at jdk.proxy3/jdk.proxy3.$Proxy366.getByPage(Unknown Source)
  3571. at jdk.internal.reflect.GeneratedMethodAccessor186.invoke(Unknown Source)
  3572. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  3573. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  3574. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
  3575. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:196)
  3576. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
  3577. at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:137)
  3578. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
  3579. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:218)
  3580. at jdk.proxy3/jdk.proxy3.$Proxy367.getByPage(Unknown Source)
  3581. at com.zhyc.xps.goaf.service.impl.GoafChecklistServiceImpl.getByPage(GoafChecklistServiceImpl.java:57)
  3582. at jdk.internal.reflect.GeneratedMethodAccessor185.invoke(Unknown Source)
  3583. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  3584. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  3585. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
  3586. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:196)
  3587. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
  3588. at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750)
  3589. at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:123)
  3590. at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:390)
  3591. at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119)
  3592. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
  3593. at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750)
  3594. at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:702)
  3595. at com.zhyc.xps.goaf.service.impl.GoafChecklistServiceImpl$$SpringCGLIB$$0.getByPage(<generated>)
  3596. at com.zhyc.xps.goaf.controller.GoafChecklistController.getGoafChecklistBypage(GoafChecklistController.java:54)
  3597. at jdk.internal.reflect.GeneratedMethodAccessor184.invoke(Unknown Source)
  3598. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  3599. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  3600. at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:207)
  3601. at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:152)
  3602. at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117)
  3603. at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:884)
  3604. at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797)
  3605. at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
  3606. at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1081)
  3607. at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:974)
  3608. at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1011)
  3609. at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:903)
  3610. at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:527)
  3611. at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:885)
  3612. at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:614)
  3613. at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)
  3614. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129)
  3615. at io.undertow.websockets.jsr.JsrWebSocketFilter.doFilter(JsrWebSocketFilter.java:172)
  3616. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  3617. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  3618. at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
  3619. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
  3620. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  3621. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  3622. at org.springframework.web.filter.ServerHttpObservationFilter.doFilterInternal(ServerHttpObservationFilter.java:109)
  3623. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
  3624. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  3625. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  3626. at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
  3627. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
  3628. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  3629. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  3630. at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)
  3631. at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
  3632. at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68)
  3633. at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
  3634. at io.undertow.servlet.handlers.RedirectDirHandler.handleRequest(RedirectDirHandler.java:68)
  3635. at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:117)
  3636. at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
  3637. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  3638. at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
  3639. at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
  3640. at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
  3641. at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)
  3642. at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
  3643. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  3644. at io.undertow.servlet.handlers.SendErrorPageHandler.handleRequest(SendErrorPageHandler.java:52)
  3645. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  3646. at io.undertow.servlet.handlers.SessionRestoringHandler.handleRequest(SessionRestoringHandler.java:119)
  3647. at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:276)
  3648. at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135)
  3649. at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:132)
  3650. at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
  3651. at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
  3652. at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:256)
  3653. at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:101)
  3654. at io.undertow.server.Connectors.executeRootHandler(Connectors.java:393)
  3655. at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:859)
  3656. at org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18)
  3657. at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2513)
  3658. at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1538)
  3659. at org.xnio.XnioWorker$WorkerThreadFactory$1$1.run(XnioWorker.java:1282)
  3660. at java.base/java.lang.Thread.run(Thread.java:833)
  3661. Caused by: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  3662. left join goaf_checklist_item AS B ON' at line 8
  3663. at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120)
  3664. at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122)
  3665. at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:916)
  3666. at com.mysql.cj.jdbc.ClientPreparedStatement.execute(ClientPreparedStatement.java:354)
  3667. at com.p6spy.engine.wrapper.PreparedStatementWrapper.execute(PreparedStatementWrapper.java:362)
  3668. at com.zaxxer.hikari.pool.ProxyPreparedStatement.execute(ProxyPreparedStatement.java:44)
  3669. at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.execute(HikariProxyPreparedStatement.java)
  3670. at org.apache.ibatis.executor.statement.PreparedStatementHandler.query(PreparedStatementHandler.java:64)
  3671. at org.apache.ibatis.executor.statement.RoutingStatementHandler.query(RoutingStatementHandler.java:79)
  3672. at org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:63)
  3673. at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:325)
  3674. at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:156)
  3675. at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:109)
  3676. at com.github.pagehelper.util.ExecutorUtil.executeAutoCount(ExecutorUtil.java:169)
  3677. at com.github.pagehelper.PageInterceptor.count(PageInterceptor.java:197)
  3678. at com.github.pagehelper.PageInterceptor.intercept(PageInterceptor.java:140)
  3679. at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:62)
  3680. at jdk.proxy2/jdk.proxy2.$Proxy417.query(Unknown Source)
  3681. at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:151)
  3682. at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:145)
  3683. at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:140)
  3684. at jdk.internal.reflect.GeneratedMethodAccessor87.invoke(Unknown Source)
  3685. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  3686. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  3687. at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:425)
  3688. ... 97 common frames omitted
  3689. 15:12:21.874 [XNIO-1 task-5] ERROR c.z.x.c.e.GlobalExceptionHandler -
  3690. ### Error querying database. Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  3691. left join goaf_checklist_item AS B ON' at line 8
  3692. ### The error may exist in file [E:\syf3prj\xps-server-3\xps-goaf\target\classes\mapper\GoafChecklistMapper.xml]
  3693. ### The error may involve com.zhyc.xps.goaf.mapper.GoafChecklistMapper.getByPage-Inline
  3694. ### The error occurred while setting parameters
  3695. ### SQL: select count(0) from ( SELECT A.checklist_id, A.oc_id, A.checklist_title, A.checklist_desc, B.checklist_item_id, B.checklist_item_content, FROM goaf_checklist AS A left join goaf_checklist_item AS B ON B.checklist_id = A.checklist_id WHERE A.oc_id = ? ) tmp_count
  3696. ### Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  3697. left join goaf_checklist_item AS B ON' at line 8
  3698. ; bad SQL grammar []
  3699. org.springframework.jdbc.BadSqlGrammarException:
  3700. ### Error querying database. Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  3701. left join goaf_checklist_item AS B ON' at line 8
  3702. ### The error may exist in file [E:\syf3prj\xps-server-3\xps-goaf\target\classes\mapper\GoafChecklistMapper.xml]
  3703. ### The error may involve com.zhyc.xps.goaf.mapper.GoafChecklistMapper.getByPage-Inline
  3704. ### The error occurred while setting parameters
  3705. ### SQL: select count(0) from ( SELECT A.checklist_id, A.oc_id, A.checklist_title, A.checklist_desc, B.checklist_item_id, B.checklist_item_content, FROM goaf_checklist AS A left join goaf_checklist_item AS B ON B.checklist_id = A.checklist_id WHERE A.oc_id = ? ) tmp_count
  3706. ### Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  3707. left join goaf_checklist_item AS B ON' at line 8
  3708. ; bad SQL grammar []
  3709. at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:243)
  3710. at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:70)
  3711. at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:92)
  3712. at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:439)
  3713. at jdk.proxy2/jdk.proxy2.$Proxy108.selectList(Unknown Source)
  3714. at org.mybatis.spring.SqlSessionTemplate.selectList(SqlSessionTemplate.java:224)
  3715. at org.apache.ibatis.binding.MapperMethod.executeForMany(MapperMethod.java:147)
  3716. at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:80)
  3717. at org.apache.ibatis.binding.MapperProxy$PlainMethodInvoker.invoke(MapperProxy.java:145)
  3718. at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:86)
  3719. at jdk.proxy3/jdk.proxy3.$Proxy366.getByPage(Unknown Source)
  3720. at jdk.internal.reflect.GeneratedMethodAccessor186.invoke(Unknown Source)
  3721. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  3722. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  3723. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
  3724. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:196)
  3725. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
  3726. at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:137)
  3727. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
  3728. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:218)
  3729. at jdk.proxy3/jdk.proxy3.$Proxy367.getByPage(Unknown Source)
  3730. at com.zhyc.xps.goaf.service.impl.GoafChecklistServiceImpl.getByPage(GoafChecklistServiceImpl.java:57)
  3731. at jdk.internal.reflect.GeneratedMethodAccessor185.invoke(Unknown Source)
  3732. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  3733. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  3734. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
  3735. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:196)
  3736. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
  3737. at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750)
  3738. at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:123)
  3739. at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:390)
  3740. at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119)
  3741. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
  3742. at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750)
  3743. at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:702)
  3744. at com.zhyc.xps.goaf.service.impl.GoafChecklistServiceImpl$$SpringCGLIB$$0.getByPage(<generated>)
  3745. at com.zhyc.xps.goaf.controller.GoafChecklistController.getGoafChecklistBypage(GoafChecklistController.java:54)
  3746. at jdk.internal.reflect.GeneratedMethodAccessor184.invoke(Unknown Source)
  3747. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  3748. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  3749. at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:207)
  3750. at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:152)
  3751. at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117)
  3752. at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:884)
  3753. at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797)
  3754. at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
  3755. at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1081)
  3756. at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:974)
  3757. at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1011)
  3758. at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:903)
  3759. at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:527)
  3760. at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:885)
  3761. at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:614)
  3762. at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)
  3763. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129)
  3764. at io.undertow.websockets.jsr.JsrWebSocketFilter.doFilter(JsrWebSocketFilter.java:172)
  3765. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  3766. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  3767. at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
  3768. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
  3769. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  3770. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  3771. at org.springframework.web.filter.ServerHttpObservationFilter.doFilterInternal(ServerHttpObservationFilter.java:109)
  3772. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
  3773. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  3774. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  3775. at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
  3776. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
  3777. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  3778. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  3779. at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)
  3780. at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
  3781. at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68)
  3782. at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
  3783. at io.undertow.servlet.handlers.RedirectDirHandler.handleRequest(RedirectDirHandler.java:68)
  3784. at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:117)
  3785. at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
  3786. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  3787. at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
  3788. at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
  3789. at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
  3790. at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)
  3791. at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
  3792. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  3793. at io.undertow.servlet.handlers.SendErrorPageHandler.handleRequest(SendErrorPageHandler.java:52)
  3794. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  3795. at io.undertow.servlet.handlers.SessionRestoringHandler.handleRequest(SessionRestoringHandler.java:119)
  3796. at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:276)
  3797. at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135)
  3798. at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:132)
  3799. at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
  3800. at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
  3801. at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:256)
  3802. at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:101)
  3803. at io.undertow.server.Connectors.executeRootHandler(Connectors.java:393)
  3804. at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:859)
  3805. at org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18)
  3806. at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2513)
  3807. at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1538)
  3808. at org.xnio.XnioWorker$WorkerThreadFactory$1$1.run(XnioWorker.java:1282)
  3809. at java.base/java.lang.Thread.run(Thread.java:833)
  3810. Caused by: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  3811. left join goaf_checklist_item AS B ON' at line 8
  3812. at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120)
  3813. at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122)
  3814. at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:916)
  3815. at com.mysql.cj.jdbc.ClientPreparedStatement.execute(ClientPreparedStatement.java:354)
  3816. at com.p6spy.engine.wrapper.PreparedStatementWrapper.execute(PreparedStatementWrapper.java:362)
  3817. at com.zaxxer.hikari.pool.ProxyPreparedStatement.execute(ProxyPreparedStatement.java:44)
  3818. at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.execute(HikariProxyPreparedStatement.java)
  3819. at org.apache.ibatis.executor.statement.PreparedStatementHandler.query(PreparedStatementHandler.java:64)
  3820. at org.apache.ibatis.executor.statement.RoutingStatementHandler.query(RoutingStatementHandler.java:79)
  3821. at org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:63)
  3822. at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:325)
  3823. at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:156)
  3824. at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:109)
  3825. at com.github.pagehelper.util.ExecutorUtil.executeAutoCount(ExecutorUtil.java:169)
  3826. at com.github.pagehelper.PageInterceptor.count(PageInterceptor.java:197)
  3827. at com.github.pagehelper.PageInterceptor.intercept(PageInterceptor.java:140)
  3828. at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:62)
  3829. at jdk.proxy2/jdk.proxy2.$Proxy417.query(Unknown Source)
  3830. at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:151)
  3831. at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:145)
  3832. at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:140)
  3833. at jdk.internal.reflect.GeneratedMethodAccessor87.invoke(Unknown Source)
  3834. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  3835. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  3836. at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:425)
  3837. ... 97 common frames omitted
  3838. 15:13:16.574 [XNIO-1 task-2] ERROR c.z.x.c.e.GlobalExceptionHandler -
  3839. ### Error querying database. Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  3840. left join goaf_checklist_item AS B ON' at line 8
  3841. ### The error may exist in file [E:\syf3prj\xps-server-3\xps-goaf\target\classes\mapper\GoafChecklistMapper.xml]
  3842. ### The error may involve com.zhyc.xps.goaf.mapper.GoafChecklistMapper.getByPage-Inline
  3843. ### The error occurred while setting parameters
  3844. ### SQL: select count(0) from ( SELECT A.checklist_id, A.oc_id, A.checklist_title, A.checklist_desc, B.checklist_item_id, B.checklist_item_content, FROM goaf_checklist AS A left join goaf_checklist_item AS B ON B.checklist_id = A.checklist_id WHERE A.oc_id = ? ) tmp_count
  3845. ### Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  3846. left join goaf_checklist_item AS B ON' at line 8
  3847. ; bad SQL grammar []
  3848. org.springframework.jdbc.BadSqlGrammarException:
  3849. ### Error querying database. Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  3850. left join goaf_checklist_item AS B ON' at line 8
  3851. ### The error may exist in file [E:\syf3prj\xps-server-3\xps-goaf\target\classes\mapper\GoafChecklistMapper.xml]
  3852. ### The error may involve com.zhyc.xps.goaf.mapper.GoafChecklistMapper.getByPage-Inline
  3853. ### The error occurred while setting parameters
  3854. ### SQL: select count(0) from ( SELECT A.checklist_id, A.oc_id, A.checklist_title, A.checklist_desc, B.checklist_item_id, B.checklist_item_content, FROM goaf_checklist AS A left join goaf_checklist_item AS B ON B.checklist_id = A.checklist_id WHERE A.oc_id = ? ) tmp_count
  3855. ### Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  3856. left join goaf_checklist_item AS B ON' at line 8
  3857. ; bad SQL grammar []
  3858. at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:243)
  3859. at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:70)
  3860. at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:92)
  3861. at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:439)
  3862. at jdk.proxy2/jdk.proxy2.$Proxy108.selectList(Unknown Source)
  3863. at org.mybatis.spring.SqlSessionTemplate.selectList(SqlSessionTemplate.java:224)
  3864. at org.apache.ibatis.binding.MapperMethod.executeForMany(MapperMethod.java:147)
  3865. at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:80)
  3866. at org.apache.ibatis.binding.MapperProxy$PlainMethodInvoker.invoke(MapperProxy.java:145)
  3867. at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:86)
  3868. at jdk.proxy3/jdk.proxy3.$Proxy366.getByPage(Unknown Source)
  3869. at jdk.internal.reflect.GeneratedMethodAccessor186.invoke(Unknown Source)
  3870. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  3871. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  3872. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
  3873. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:196)
  3874. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
  3875. at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:137)
  3876. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
  3877. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:218)
  3878. at jdk.proxy3/jdk.proxy3.$Proxy367.getByPage(Unknown Source)
  3879. at com.zhyc.xps.goaf.service.impl.GoafChecklistServiceImpl.getByPage(GoafChecklistServiceImpl.java:57)
  3880. at jdk.internal.reflect.GeneratedMethodAccessor185.invoke(Unknown Source)
  3881. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  3882. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  3883. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
  3884. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:196)
  3885. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
  3886. at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750)
  3887. at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:123)
  3888. at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:390)
  3889. at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119)
  3890. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
  3891. at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750)
  3892. at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:702)
  3893. at com.zhyc.xps.goaf.service.impl.GoafChecklistServiceImpl$$SpringCGLIB$$0.getByPage(<generated>)
  3894. at com.zhyc.xps.goaf.controller.GoafChecklistController.getGoafChecklistBypage(GoafChecklistController.java:54)
  3895. at jdk.internal.reflect.GeneratedMethodAccessor184.invoke(Unknown Source)
  3896. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  3897. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  3898. at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:207)
  3899. at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:152)
  3900. at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117)
  3901. at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:884)
  3902. at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797)
  3903. at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
  3904. at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1081)
  3905. at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:974)
  3906. at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1011)
  3907. at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:903)
  3908. at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:527)
  3909. at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:885)
  3910. at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:614)
  3911. at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)
  3912. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129)
  3913. at io.undertow.websockets.jsr.JsrWebSocketFilter.doFilter(JsrWebSocketFilter.java:172)
  3914. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  3915. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  3916. at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
  3917. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
  3918. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  3919. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  3920. at org.springframework.web.filter.ServerHttpObservationFilter.doFilterInternal(ServerHttpObservationFilter.java:109)
  3921. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
  3922. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  3923. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  3924. at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
  3925. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
  3926. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  3927. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  3928. at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)
  3929. at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
  3930. at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68)
  3931. at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
  3932. at io.undertow.servlet.handlers.RedirectDirHandler.handleRequest(RedirectDirHandler.java:68)
  3933. at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:117)
  3934. at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
  3935. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  3936. at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
  3937. at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
  3938. at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
  3939. at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)
  3940. at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
  3941. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  3942. at io.undertow.servlet.handlers.SendErrorPageHandler.handleRequest(SendErrorPageHandler.java:52)
  3943. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  3944. at io.undertow.servlet.handlers.SessionRestoringHandler.handleRequest(SessionRestoringHandler.java:119)
  3945. at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:276)
  3946. at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135)
  3947. at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:132)
  3948. at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
  3949. at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
  3950. at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:256)
  3951. at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:101)
  3952. at io.undertow.server.Connectors.executeRootHandler(Connectors.java:393)
  3953. at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:859)
  3954. at org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18)
  3955. at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2513)
  3956. at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1538)
  3957. at org.xnio.XnioWorker$WorkerThreadFactory$1$1.run(XnioWorker.java:1282)
  3958. at java.base/java.lang.Thread.run(Thread.java:833)
  3959. Caused by: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  3960. left join goaf_checklist_item AS B ON' at line 8
  3961. at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120)
  3962. at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122)
  3963. at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:916)
  3964. at com.mysql.cj.jdbc.ClientPreparedStatement.execute(ClientPreparedStatement.java:354)
  3965. at com.p6spy.engine.wrapper.PreparedStatementWrapper.execute(PreparedStatementWrapper.java:362)
  3966. at com.zaxxer.hikari.pool.ProxyPreparedStatement.execute(ProxyPreparedStatement.java:44)
  3967. at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.execute(HikariProxyPreparedStatement.java)
  3968. at org.apache.ibatis.executor.statement.PreparedStatementHandler.query(PreparedStatementHandler.java:64)
  3969. at org.apache.ibatis.executor.statement.RoutingStatementHandler.query(RoutingStatementHandler.java:79)
  3970. at org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:63)
  3971. at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:325)
  3972. at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:156)
  3973. at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:109)
  3974. at com.github.pagehelper.util.ExecutorUtil.executeAutoCount(ExecutorUtil.java:169)
  3975. at com.github.pagehelper.PageInterceptor.count(PageInterceptor.java:197)
  3976. at com.github.pagehelper.PageInterceptor.intercept(PageInterceptor.java:140)
  3977. at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:62)
  3978. at jdk.proxy2/jdk.proxy2.$Proxy417.query(Unknown Source)
  3979. at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:151)
  3980. at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:145)
  3981. at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:140)
  3982. at jdk.internal.reflect.GeneratedMethodAccessor87.invoke(Unknown Source)
  3983. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  3984. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  3985. at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:425)
  3986. ... 97 common frames omitted
  3987. 15:15:21.082 [XNIO-1 task-2] ERROR c.z.x.c.e.GlobalExceptionHandler -
  3988. ### Error querying database. Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  3989. left join goaf_checklist_item AS B ON' at line 8
  3990. ### The error may exist in file [E:\syf3prj\xps-server-3\xps-goaf\target\classes\mapper\GoafChecklistMapper.xml]
  3991. ### The error may involve com.zhyc.xps.goaf.mapper.GoafChecklistMapper.getByPage-Inline
  3992. ### The error occurred while setting parameters
  3993. ### SQL: select count(0) from ( SELECT A.checklist_id, A.oc_id, A.checklist_title, A.checklist_desc, B.checklist_item_id, B.checklist_item_content, FROM goaf_checklist AS A left join goaf_checklist_item AS B ON B.checklist_id = A.checklist_id WHERE A.oc_id = ? ) tmp_count
  3994. ### Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  3995. left join goaf_checklist_item AS B ON' at line 8
  3996. ; bad SQL grammar []
  3997. org.springframework.jdbc.BadSqlGrammarException:
  3998. ### Error querying database. Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  3999. left join goaf_checklist_item AS B ON' at line 8
  4000. ### The error may exist in file [E:\syf3prj\xps-server-3\xps-goaf\target\classes\mapper\GoafChecklistMapper.xml]
  4001. ### The error may involve com.zhyc.xps.goaf.mapper.GoafChecklistMapper.getByPage-Inline
  4002. ### The error occurred while setting parameters
  4003. ### SQL: select count(0) from ( SELECT A.checklist_id, A.oc_id, A.checklist_title, A.checklist_desc, B.checklist_item_id, B.checklist_item_content, FROM goaf_checklist AS A left join goaf_checklist_item AS B ON B.checklist_id = A.checklist_id WHERE A.oc_id = ? ) tmp_count
  4004. ### Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  4005. left join goaf_checklist_item AS B ON' at line 8
  4006. ; bad SQL grammar []
  4007. at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:243)
  4008. at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:70)
  4009. at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:92)
  4010. at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:439)
  4011. at jdk.proxy2/jdk.proxy2.$Proxy108.selectList(Unknown Source)
  4012. at org.mybatis.spring.SqlSessionTemplate.selectList(SqlSessionTemplate.java:224)
  4013. at org.apache.ibatis.binding.MapperMethod.executeForMany(MapperMethod.java:147)
  4014. at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:80)
  4015. at org.apache.ibatis.binding.MapperProxy$PlainMethodInvoker.invoke(MapperProxy.java:145)
  4016. at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:86)
  4017. at jdk.proxy3/jdk.proxy3.$Proxy366.getByPage(Unknown Source)
  4018. at jdk.internal.reflect.GeneratedMethodAccessor186.invoke(Unknown Source)
  4019. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  4020. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  4021. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
  4022. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:196)
  4023. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
  4024. at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:137)
  4025. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
  4026. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:218)
  4027. at jdk.proxy3/jdk.proxy3.$Proxy367.getByPage(Unknown Source)
  4028. at com.zhyc.xps.goaf.service.impl.GoafChecklistServiceImpl.getByPage(GoafChecklistServiceImpl.java:57)
  4029. at jdk.internal.reflect.GeneratedMethodAccessor185.invoke(Unknown Source)
  4030. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  4031. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  4032. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
  4033. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:196)
  4034. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
  4035. at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750)
  4036. at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:123)
  4037. at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:390)
  4038. at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119)
  4039. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
  4040. at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750)
  4041. at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:702)
  4042. at com.zhyc.xps.goaf.service.impl.GoafChecklistServiceImpl$$SpringCGLIB$$0.getByPage(<generated>)
  4043. at com.zhyc.xps.goaf.controller.GoafChecklistController.getGoafChecklistBypage(GoafChecklistController.java:54)
  4044. at jdk.internal.reflect.GeneratedMethodAccessor184.invoke(Unknown Source)
  4045. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  4046. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  4047. at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:207)
  4048. at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:152)
  4049. at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117)
  4050. at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:884)
  4051. at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797)
  4052. at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
  4053. at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1081)
  4054. at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:974)
  4055. at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1011)
  4056. at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:903)
  4057. at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:527)
  4058. at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:885)
  4059. at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:614)
  4060. at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)
  4061. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129)
  4062. at io.undertow.websockets.jsr.JsrWebSocketFilter.doFilter(JsrWebSocketFilter.java:172)
  4063. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  4064. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  4065. at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
  4066. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
  4067. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  4068. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  4069. at org.springframework.web.filter.ServerHttpObservationFilter.doFilterInternal(ServerHttpObservationFilter.java:109)
  4070. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
  4071. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  4072. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  4073. at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
  4074. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
  4075. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  4076. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  4077. at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)
  4078. at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
  4079. at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68)
  4080. at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
  4081. at io.undertow.servlet.handlers.RedirectDirHandler.handleRequest(RedirectDirHandler.java:68)
  4082. at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:117)
  4083. at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
  4084. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  4085. at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
  4086. at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
  4087. at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
  4088. at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)
  4089. at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
  4090. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  4091. at io.undertow.servlet.handlers.SendErrorPageHandler.handleRequest(SendErrorPageHandler.java:52)
  4092. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  4093. at io.undertow.servlet.handlers.SessionRestoringHandler.handleRequest(SessionRestoringHandler.java:119)
  4094. at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:276)
  4095. at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135)
  4096. at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:132)
  4097. at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
  4098. at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
  4099. at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:256)
  4100. at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:101)
  4101. at io.undertow.server.Connectors.executeRootHandler(Connectors.java:393)
  4102. at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:859)
  4103. at org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18)
  4104. at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2513)
  4105. at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1538)
  4106. at org.xnio.XnioWorker$WorkerThreadFactory$1$1.run(XnioWorker.java:1282)
  4107. at java.base/java.lang.Thread.run(Thread.java:833)
  4108. Caused by: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  4109. left join goaf_checklist_item AS B ON' at line 8
  4110. at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120)
  4111. at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122)
  4112. at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:916)
  4113. at com.mysql.cj.jdbc.ClientPreparedStatement.execute(ClientPreparedStatement.java:354)
  4114. at com.p6spy.engine.wrapper.PreparedStatementWrapper.execute(PreparedStatementWrapper.java:362)
  4115. at com.zaxxer.hikari.pool.ProxyPreparedStatement.execute(ProxyPreparedStatement.java:44)
  4116. at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.execute(HikariProxyPreparedStatement.java)
  4117. at org.apache.ibatis.executor.statement.PreparedStatementHandler.query(PreparedStatementHandler.java:64)
  4118. at org.apache.ibatis.executor.statement.RoutingStatementHandler.query(RoutingStatementHandler.java:79)
  4119. at org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:63)
  4120. at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:325)
  4121. at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:156)
  4122. at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:109)
  4123. at com.github.pagehelper.util.ExecutorUtil.executeAutoCount(ExecutorUtil.java:169)
  4124. at com.github.pagehelper.PageInterceptor.count(PageInterceptor.java:197)
  4125. at com.github.pagehelper.PageInterceptor.intercept(PageInterceptor.java:140)
  4126. at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:62)
  4127. at jdk.proxy2/jdk.proxy2.$Proxy417.query(Unknown Source)
  4128. at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:151)
  4129. at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:145)
  4130. at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:140)
  4131. at jdk.internal.reflect.GeneratedMethodAccessor87.invoke(Unknown Source)
  4132. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  4133. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  4134. at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:425)
  4135. ... 97 common frames omitted
  4136. 15:37:57.009 [XNIO-1 task-2] ERROR c.z.x.c.e.GlobalExceptionHandler -
  4137. ### Error querying database. Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  4138. left join goaf_checklist_item AS B ON' at line 8
  4139. ### The error may exist in file [E:\syf3prj\xps-server-3\xps-goaf\target\classes\mapper\GoafChecklistMapper.xml]
  4140. ### The error may involve com.zhyc.xps.goaf.mapper.GoafChecklistMapper.getByPage-Inline
  4141. ### The error occurred while setting parameters
  4142. ### SQL: select count(0) from ( SELECT A.checklist_id, A.oc_id, A.checklist_title, A.checklist_desc, B.checklist_item_id, B.checklist_item_content, FROM goaf_checklist AS A left join goaf_checklist_item AS B ON B.checklist_id = A.checklist_id WHERE A.oc_id = ? ) tmp_count
  4143. ### Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  4144. left join goaf_checklist_item AS B ON' at line 8
  4145. ; bad SQL grammar []
  4146. org.springframework.jdbc.BadSqlGrammarException:
  4147. ### Error querying database. Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  4148. left join goaf_checklist_item AS B ON' at line 8
  4149. ### The error may exist in file [E:\syf3prj\xps-server-3\xps-goaf\target\classes\mapper\GoafChecklistMapper.xml]
  4150. ### The error may involve com.zhyc.xps.goaf.mapper.GoafChecklistMapper.getByPage-Inline
  4151. ### The error occurred while setting parameters
  4152. ### SQL: select count(0) from ( SELECT A.checklist_id, A.oc_id, A.checklist_title, A.checklist_desc, B.checklist_item_id, B.checklist_item_content, FROM goaf_checklist AS A left join goaf_checklist_item AS B ON B.checklist_id = A.checklist_id WHERE A.oc_id = ? ) tmp_count
  4153. ### Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  4154. left join goaf_checklist_item AS B ON' at line 8
  4155. ; bad SQL grammar []
  4156. at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:243)
  4157. at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:70)
  4158. at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:92)
  4159. at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:439)
  4160. at jdk.proxy2/jdk.proxy2.$Proxy108.selectList(Unknown Source)
  4161. at org.mybatis.spring.SqlSessionTemplate.selectList(SqlSessionTemplate.java:224)
  4162. at org.apache.ibatis.binding.MapperMethod.executeForMany(MapperMethod.java:147)
  4163. at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:80)
  4164. at org.apache.ibatis.binding.MapperProxy$PlainMethodInvoker.invoke(MapperProxy.java:145)
  4165. at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:86)
  4166. at jdk.proxy3/jdk.proxy3.$Proxy366.getByPage(Unknown Source)
  4167. at jdk.internal.reflect.GeneratedMethodAccessor186.invoke(Unknown Source)
  4168. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  4169. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  4170. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
  4171. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:196)
  4172. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
  4173. at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:137)
  4174. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
  4175. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:218)
  4176. at jdk.proxy3/jdk.proxy3.$Proxy367.getByPage(Unknown Source)
  4177. at com.zhyc.xps.goaf.service.impl.GoafChecklistServiceImpl.getByPage(GoafChecklistServiceImpl.java:57)
  4178. at jdk.internal.reflect.GeneratedMethodAccessor185.invoke(Unknown Source)
  4179. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  4180. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  4181. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
  4182. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:196)
  4183. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
  4184. at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750)
  4185. at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:123)
  4186. at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:390)
  4187. at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119)
  4188. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
  4189. at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750)
  4190. at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:702)
  4191. at com.zhyc.xps.goaf.service.impl.GoafChecklistServiceImpl$$SpringCGLIB$$0.getByPage(<generated>)
  4192. at com.zhyc.xps.goaf.controller.GoafChecklistController.getGoafChecklistBypage(GoafChecklistController.java:54)
  4193. at jdk.internal.reflect.GeneratedMethodAccessor184.invoke(Unknown Source)
  4194. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  4195. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  4196. at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:207)
  4197. at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:152)
  4198. at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117)
  4199. at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:884)
  4200. at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797)
  4201. at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
  4202. at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1081)
  4203. at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:974)
  4204. at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1011)
  4205. at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:903)
  4206. at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:527)
  4207. at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:885)
  4208. at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:614)
  4209. at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)
  4210. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129)
  4211. at io.undertow.websockets.jsr.JsrWebSocketFilter.doFilter(JsrWebSocketFilter.java:172)
  4212. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  4213. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  4214. at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
  4215. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
  4216. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  4217. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  4218. at org.springframework.web.filter.ServerHttpObservationFilter.doFilterInternal(ServerHttpObservationFilter.java:109)
  4219. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
  4220. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  4221. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  4222. at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
  4223. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
  4224. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  4225. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  4226. at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)
  4227. at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
  4228. at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68)
  4229. at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
  4230. at io.undertow.servlet.handlers.RedirectDirHandler.handleRequest(RedirectDirHandler.java:68)
  4231. at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:117)
  4232. at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
  4233. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  4234. at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
  4235. at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
  4236. at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
  4237. at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)
  4238. at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
  4239. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  4240. at io.undertow.servlet.handlers.SendErrorPageHandler.handleRequest(SendErrorPageHandler.java:52)
  4241. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  4242. at io.undertow.servlet.handlers.SessionRestoringHandler.handleRequest(SessionRestoringHandler.java:119)
  4243. at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:276)
  4244. at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135)
  4245. at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:132)
  4246. at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
  4247. at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
  4248. at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:256)
  4249. at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:101)
  4250. at io.undertow.server.Connectors.executeRootHandler(Connectors.java:393)
  4251. at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:859)
  4252. at org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18)
  4253. at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2513)
  4254. at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1538)
  4255. at org.xnio.XnioWorker$WorkerThreadFactory$1$1.run(XnioWorker.java:1282)
  4256. at java.base/java.lang.Thread.run(Thread.java:833)
  4257. Caused by: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  4258. left join goaf_checklist_item AS B ON' at line 8
  4259. at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120)
  4260. at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122)
  4261. at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:916)
  4262. at com.mysql.cj.jdbc.ClientPreparedStatement.execute(ClientPreparedStatement.java:354)
  4263. at com.p6spy.engine.wrapper.PreparedStatementWrapper.execute(PreparedStatementWrapper.java:362)
  4264. at com.zaxxer.hikari.pool.ProxyPreparedStatement.execute(ProxyPreparedStatement.java:44)
  4265. at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.execute(HikariProxyPreparedStatement.java)
  4266. at org.apache.ibatis.executor.statement.PreparedStatementHandler.query(PreparedStatementHandler.java:64)
  4267. at org.apache.ibatis.executor.statement.RoutingStatementHandler.query(RoutingStatementHandler.java:79)
  4268. at org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:63)
  4269. at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:325)
  4270. at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:156)
  4271. at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:109)
  4272. at com.github.pagehelper.util.ExecutorUtil.executeAutoCount(ExecutorUtil.java:169)
  4273. at com.github.pagehelper.PageInterceptor.count(PageInterceptor.java:197)
  4274. at com.github.pagehelper.PageInterceptor.intercept(PageInterceptor.java:140)
  4275. at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:62)
  4276. at jdk.proxy2/jdk.proxy2.$Proxy417.query(Unknown Source)
  4277. at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:151)
  4278. at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:145)
  4279. at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:140)
  4280. at jdk.internal.reflect.GeneratedMethodAccessor87.invoke(Unknown Source)
  4281. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  4282. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  4283. at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:425)
  4284. ... 97 common frames omitted
  4285. 17:08:38.791 [XNIO-1 task-2] ERROR c.z.x.c.e.GlobalExceptionHandler -
  4286. ### Error querying database. Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  4287. left join goaf_checklist_item AS B ON' at line 8
  4288. ### The error may exist in file [E:\syf3prj\xps-server-3\xps-goaf\target\classes\mapper\GoafChecklistMapper.xml]
  4289. ### The error may involve com.zhyc.xps.goaf.mapper.GoafChecklistMapper.getByPage-Inline
  4290. ### The error occurred while setting parameters
  4291. ### SQL: select count(0) from ( SELECT A.checklist_id, A.oc_id, A.checklist_title, A.checklist_desc, B.checklist_item_id, B.checklist_item_content, FROM goaf_checklist AS A left join goaf_checklist_item AS B ON B.checklist_id = A.checklist_id WHERE A.oc_id = ? ) tmp_count
  4292. ### Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  4293. left join goaf_checklist_item AS B ON' at line 8
  4294. ; bad SQL grammar []
  4295. org.springframework.jdbc.BadSqlGrammarException:
  4296. ### Error querying database. Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  4297. left join goaf_checklist_item AS B ON' at line 8
  4298. ### The error may exist in file [E:\syf3prj\xps-server-3\xps-goaf\target\classes\mapper\GoafChecklistMapper.xml]
  4299. ### The error may involve com.zhyc.xps.goaf.mapper.GoafChecklistMapper.getByPage-Inline
  4300. ### The error occurred while setting parameters
  4301. ### SQL: select count(0) from ( SELECT A.checklist_id, A.oc_id, A.checklist_title, A.checklist_desc, B.checklist_item_id, B.checklist_item_content, FROM goaf_checklist AS A left join goaf_checklist_item AS B ON B.checklist_id = A.checklist_id WHERE A.oc_id = ? ) tmp_count
  4302. ### Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  4303. left join goaf_checklist_item AS B ON' at line 8
  4304. ; bad SQL grammar []
  4305. at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:243)
  4306. at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:70)
  4307. at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:92)
  4308. at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:439)
  4309. at jdk.proxy2/jdk.proxy2.$Proxy108.selectList(Unknown Source)
  4310. at org.mybatis.spring.SqlSessionTemplate.selectList(SqlSessionTemplate.java:224)
  4311. at org.apache.ibatis.binding.MapperMethod.executeForMany(MapperMethod.java:147)
  4312. at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:80)
  4313. at org.apache.ibatis.binding.MapperProxy$PlainMethodInvoker.invoke(MapperProxy.java:145)
  4314. at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:86)
  4315. at jdk.proxy3/jdk.proxy3.$Proxy366.getByPage(Unknown Source)
  4316. at jdk.internal.reflect.GeneratedMethodAccessor186.invoke(Unknown Source)
  4317. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  4318. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  4319. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
  4320. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:196)
  4321. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
  4322. at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:137)
  4323. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
  4324. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:218)
  4325. at jdk.proxy3/jdk.proxy3.$Proxy367.getByPage(Unknown Source)
  4326. at com.zhyc.xps.goaf.service.impl.GoafChecklistServiceImpl.getByPage(GoafChecklistServiceImpl.java:57)
  4327. at jdk.internal.reflect.GeneratedMethodAccessor185.invoke(Unknown Source)
  4328. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  4329. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  4330. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
  4331. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:196)
  4332. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
  4333. at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750)
  4334. at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:123)
  4335. at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:390)
  4336. at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119)
  4337. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
  4338. at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750)
  4339. at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:702)
  4340. at com.zhyc.xps.goaf.service.impl.GoafChecklistServiceImpl$$SpringCGLIB$$0.getByPage(<generated>)
  4341. at com.zhyc.xps.goaf.controller.GoafChecklistController.getGoafChecklistBypage(GoafChecklistController.java:54)
  4342. at jdk.internal.reflect.GeneratedMethodAccessor184.invoke(Unknown Source)
  4343. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  4344. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  4345. at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:207)
  4346. at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:152)
  4347. at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117)
  4348. at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:884)
  4349. at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797)
  4350. at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
  4351. at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1081)
  4352. at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:974)
  4353. at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1011)
  4354. at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:903)
  4355. at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:527)
  4356. at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:885)
  4357. at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:614)
  4358. at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)
  4359. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129)
  4360. at io.undertow.websockets.jsr.JsrWebSocketFilter.doFilter(JsrWebSocketFilter.java:172)
  4361. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  4362. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  4363. at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
  4364. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
  4365. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  4366. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  4367. at org.springframework.web.filter.ServerHttpObservationFilter.doFilterInternal(ServerHttpObservationFilter.java:109)
  4368. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
  4369. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  4370. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  4371. at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
  4372. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
  4373. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  4374. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  4375. at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)
  4376. at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
  4377. at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68)
  4378. at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
  4379. at io.undertow.servlet.handlers.RedirectDirHandler.handleRequest(RedirectDirHandler.java:68)
  4380. at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:117)
  4381. at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
  4382. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  4383. at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
  4384. at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
  4385. at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
  4386. at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)
  4387. at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
  4388. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  4389. at io.undertow.servlet.handlers.SendErrorPageHandler.handleRequest(SendErrorPageHandler.java:52)
  4390. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  4391. at io.undertow.servlet.handlers.SessionRestoringHandler.handleRequest(SessionRestoringHandler.java:119)
  4392. at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:276)
  4393. at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135)
  4394. at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:132)
  4395. at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
  4396. at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
  4397. at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:256)
  4398. at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:101)
  4399. at io.undertow.server.Connectors.executeRootHandler(Connectors.java:393)
  4400. at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:859)
  4401. at org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18)
  4402. at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2513)
  4403. at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1538)
  4404. at org.xnio.XnioWorker$WorkerThreadFactory$1$1.run(XnioWorker.java:1282)
  4405. at java.base/java.lang.Thread.run(Thread.java:833)
  4406. Caused by: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  4407. left join goaf_checklist_item AS B ON' at line 8
  4408. at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120)
  4409. at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122)
  4410. at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:916)
  4411. at com.mysql.cj.jdbc.ClientPreparedStatement.execute(ClientPreparedStatement.java:354)
  4412. at com.p6spy.engine.wrapper.PreparedStatementWrapper.execute(PreparedStatementWrapper.java:362)
  4413. at com.zaxxer.hikari.pool.ProxyPreparedStatement.execute(ProxyPreparedStatement.java:44)
  4414. at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.execute(HikariProxyPreparedStatement.java)
  4415. at org.apache.ibatis.executor.statement.PreparedStatementHandler.query(PreparedStatementHandler.java:64)
  4416. at org.apache.ibatis.executor.statement.RoutingStatementHandler.query(RoutingStatementHandler.java:79)
  4417. at org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:63)
  4418. at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:325)
  4419. at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:156)
  4420. at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:109)
  4421. at com.github.pagehelper.util.ExecutorUtil.executeAutoCount(ExecutorUtil.java:169)
  4422. at com.github.pagehelper.PageInterceptor.count(PageInterceptor.java:197)
  4423. at com.github.pagehelper.PageInterceptor.intercept(PageInterceptor.java:140)
  4424. at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:62)
  4425. at jdk.proxy2/jdk.proxy2.$Proxy417.query(Unknown Source)
  4426. at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:151)
  4427. at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:145)
  4428. at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:140)
  4429. at jdk.internal.reflect.GeneratedMethodAccessor87.invoke(Unknown Source)
  4430. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  4431. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  4432. at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:425)
  4433. ... 97 common frames omitted
  4434. 17:13:09.435 [XNIO-1 task-2] ERROR c.z.x.c.e.GlobalExceptionHandler -
  4435. ### Error querying database. Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  4436. left join goaf_checklist_item AS B ON' at line 8
  4437. ### The error may exist in file [E:\syf3prj\xps-server-3\xps-goaf\target\classes\mapper\GoafChecklistMapper.xml]
  4438. ### The error may involve com.zhyc.xps.goaf.mapper.GoafChecklistMapper.getByPage-Inline
  4439. ### The error occurred while setting parameters
  4440. ### SQL: select count(0) from ( SELECT A.checklist_id, A.oc_id, A.checklist_title, A.checklist_desc, B.checklist_item_id, B.checklist_item_content, FROM goaf_checklist AS A left join goaf_checklist_item AS B ON B.checklist_id = A.checklist_id WHERE A.oc_id = ? ) tmp_count
  4441. ### Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  4442. left join goaf_checklist_item AS B ON' at line 8
  4443. ; bad SQL grammar []
  4444. org.springframework.jdbc.BadSqlGrammarException:
  4445. ### Error querying database. Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  4446. left join goaf_checklist_item AS B ON' at line 8
  4447. ### The error may exist in file [E:\syf3prj\xps-server-3\xps-goaf\target\classes\mapper\GoafChecklistMapper.xml]
  4448. ### The error may involve com.zhyc.xps.goaf.mapper.GoafChecklistMapper.getByPage-Inline
  4449. ### The error occurred while setting parameters
  4450. ### SQL: select count(0) from ( SELECT A.checklist_id, A.oc_id, A.checklist_title, A.checklist_desc, B.checklist_item_id, B.checklist_item_content, FROM goaf_checklist AS A left join goaf_checklist_item AS B ON B.checklist_id = A.checklist_id WHERE A.oc_id = ? ) tmp_count
  4451. ### Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  4452. left join goaf_checklist_item AS B ON' at line 8
  4453. ; bad SQL grammar []
  4454. at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:243)
  4455. at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:70)
  4456. at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:92)
  4457. at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:439)
  4458. at jdk.proxy2/jdk.proxy2.$Proxy108.selectList(Unknown Source)
  4459. at org.mybatis.spring.SqlSessionTemplate.selectList(SqlSessionTemplate.java:224)
  4460. at org.apache.ibatis.binding.MapperMethod.executeForMany(MapperMethod.java:147)
  4461. at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:80)
  4462. at org.apache.ibatis.binding.MapperProxy$PlainMethodInvoker.invoke(MapperProxy.java:145)
  4463. at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:86)
  4464. at jdk.proxy3/jdk.proxy3.$Proxy366.getByPage(Unknown Source)
  4465. at jdk.internal.reflect.GeneratedMethodAccessor186.invoke(Unknown Source)
  4466. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  4467. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  4468. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
  4469. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:196)
  4470. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
  4471. at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:137)
  4472. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
  4473. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:218)
  4474. at jdk.proxy3/jdk.proxy3.$Proxy367.getByPage(Unknown Source)
  4475. at com.zhyc.xps.goaf.service.impl.GoafChecklistServiceImpl.getByPage(GoafChecklistServiceImpl.java:57)
  4476. at jdk.internal.reflect.GeneratedMethodAccessor185.invoke(Unknown Source)
  4477. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  4478. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  4479. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
  4480. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:196)
  4481. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
  4482. at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750)
  4483. at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:123)
  4484. at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:390)
  4485. at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119)
  4486. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
  4487. at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750)
  4488. at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:702)
  4489. at com.zhyc.xps.goaf.service.impl.GoafChecklistServiceImpl$$SpringCGLIB$$0.getByPage(<generated>)
  4490. at com.zhyc.xps.goaf.controller.GoafChecklistController.getGoafChecklistBypage(GoafChecklistController.java:54)
  4491. at jdk.internal.reflect.GeneratedMethodAccessor184.invoke(Unknown Source)
  4492. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  4493. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  4494. at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:207)
  4495. at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:152)
  4496. at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117)
  4497. at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:884)
  4498. at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797)
  4499. at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
  4500. at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1081)
  4501. at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:974)
  4502. at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1011)
  4503. at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:903)
  4504. at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:527)
  4505. at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:885)
  4506. at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:614)
  4507. at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)
  4508. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129)
  4509. at io.undertow.websockets.jsr.JsrWebSocketFilter.doFilter(JsrWebSocketFilter.java:172)
  4510. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  4511. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  4512. at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
  4513. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
  4514. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  4515. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  4516. at org.springframework.web.filter.ServerHttpObservationFilter.doFilterInternal(ServerHttpObservationFilter.java:109)
  4517. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
  4518. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  4519. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  4520. at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
  4521. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
  4522. at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
  4523. at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  4524. at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)
  4525. at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
  4526. at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68)
  4527. at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
  4528. at io.undertow.servlet.handlers.RedirectDirHandler.handleRequest(RedirectDirHandler.java:68)
  4529. at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:117)
  4530. at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
  4531. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  4532. at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
  4533. at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
  4534. at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
  4535. at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)
  4536. at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
  4537. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  4538. at io.undertow.servlet.handlers.SendErrorPageHandler.handleRequest(SendErrorPageHandler.java:52)
  4539. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  4540. at io.undertow.servlet.handlers.SessionRestoringHandler.handleRequest(SessionRestoringHandler.java:119)
  4541. at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:276)
  4542. at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135)
  4543. at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:132)
  4544. at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
  4545. at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
  4546. at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:256)
  4547. at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:101)
  4548. at io.undertow.server.Connectors.executeRootHandler(Connectors.java:393)
  4549. at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:859)
  4550. at org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18)
  4551. at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2513)
  4552. at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1538)
  4553. at org.xnio.XnioWorker$WorkerThreadFactory$1$1.run(XnioWorker.java:1282)
  4554. at java.base/java.lang.Thread.run(Thread.java:833)
  4555. Caused by: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM goaf_checklist AS A
  4556. left join goaf_checklist_item AS B ON' at line 8
  4557. at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120)
  4558. at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122)
  4559. at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:916)
  4560. at com.mysql.cj.jdbc.ClientPreparedStatement.execute(ClientPreparedStatement.java:354)
  4561. at com.p6spy.engine.wrapper.PreparedStatementWrapper.execute(PreparedStatementWrapper.java:362)
  4562. at com.zaxxer.hikari.pool.ProxyPreparedStatement.execute(ProxyPreparedStatement.java:44)
  4563. at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.execute(HikariProxyPreparedStatement.java)
  4564. at org.apache.ibatis.executor.statement.PreparedStatementHandler.query(PreparedStatementHandler.java:64)
  4565. at org.apache.ibatis.executor.statement.RoutingStatementHandler.query(RoutingStatementHandler.java:79)
  4566. at org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:63)
  4567. at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:325)
  4568. at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:156)
  4569. at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:109)
  4570. at com.github.pagehelper.util.ExecutorUtil.executeAutoCount(ExecutorUtil.java:169)
  4571. at com.github.pagehelper.PageInterceptor.count(PageInterceptor.java:197)
  4572. at com.github.pagehelper.PageInterceptor.intercept(PageInterceptor.java:140)
  4573. at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:62)
  4574. at jdk.proxy2/jdk.proxy2.$Proxy417.query(Unknown Source)
  4575. at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:151)
  4576. at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:145)
  4577. at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:140)
  4578. at jdk.internal.reflect.GeneratedMethodAccessor87.invoke(Unknown Source)
  4579. at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  4580. at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  4581. at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:425)
  4582. ... 97 common frames omitted