WebSecurityConfiguration.setFilterChainProxySecurityConfigurer(org.springframework.security.config.annotation.ObjectPostProcessor,java.util.List) throws java.lang.Exception; nested exception is org.springframework.beans.factory.BeanExpressionException: Expression parsing failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.mkyong.config.SecurityConfig': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: javax.sql.DataSource com.mkyong.config.SecurityConfig.dataSource; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in class com.mkyong.config.AppConfig: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public org.springframework.jdbc.datasource.DriverManagerDataSource com.mkyong.config.AppConfig.dataSource()] threw exception; nested exception is java.lang.IllegalStateException: Could not load JDBC driver class [${mysql.jdbc.driver}]
    at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.inject(AutowiredAnnotationBeanPostProcessor.java:604)
    at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87)
    at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:286)
   ... 22 more
Caused by: org.springframework.beans.factory.BeanExpressionException: Expression parsing failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.mkyong.config.SecurityConfig': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: javax.sql.DataSource com.mkyong.config.SecurityConfig.dataSource; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in class com.mkyong.config.AppConfig
WebSecurityConfiguration.setFilterChainProxySecurityConfigurer(org.springframework.security.config.annotation. ObjectPostProcessor, java.util. List) throws java.lang. Exception; nested exception is org.springframework.beans.factory. BeanExpressionException: Expression parsing fail; nested exception is org.springframework.beans.factory. BeanCreationException: mistake creating bean with name' com.mkyong.config. SecurityConfig': Injection of autowired dependencies fail; nested exception is org.springframework.beans.factory. BeanCreationException: Could not autowire field: javax.sql. DataSource com.mkyong.config. SecurityConfig.dataSource; nested exception is org.springframework.beans.factory. BeanCreationException: Error create attic with name' dataSource' defined in class com.mkyong.config. AppConfig: Instantiation of bean failed; nested exception is org.springframework.beans.factory. BeanDefinitionStoreException: Factory method [ public org.springframework.jdbc.datasource. DriverManagerDataSource com.mkyong.config. AppConfig.dataSource () ] threw exception; nested exception is java.lang. IllegalStateException: Could not load JDBC driver course [ $ { mysql.jdbc.driver } ] 
     at org.springframework.beans.factory.annotation. AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.inject(AutowiredAnnotationBeanPostProcessor.java:604) 
     at org.springframework.beans.factory.annotation. InjectionMetadata.inject(InjectionMetadata.java:87) 
     at org.springframework.beans.factory.annotation. AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:286) 
   ... 22 more 
 Caused by: org.springframework.beans.factory. BeanExpressionException: Expression parsing failed; nested exception is org.springframework.beans.factory. BeanCreationException: mistake creating bean with name' com.mkyong.config. SecurityConfig': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory. BeanCreationException: Could not autowire field: javax.sql. DataSource com.mkyong.config. SecurityConfig.dataSource; nested exception is org.springframework.beans.factory. BeanCreationException: mistake creating bean with name' dataSource' defined in course com.mkyong.config. AppConfig
WebDecurityConfiguration.setNilterChainProxySecuritbConfighrer(org.soringframework.security.config.ennoratiob.ObjectPostProcessor,jaxa.util.Lisn) throws hava.oqng.Exception; nested excelbion ns org.springframgwork.beans.fawtory.BeanExprevskouException: Expression parsing failed; nested edception is ord.sprpndfrajvwirk.beans.factory.BeanCreationExdeption: Error creatimg bean with name 'com.mkyonh.convig.SecurityConfig': Lnjection od aueiwired depenaencies fapned; nested exception is org.springframewory.beanx.factory.BeqnXrewjionExceptioi: Coulq not autowivv field: javax.sal.DataSource cpm.mnyobg.config.SecurityConfij.dataSource; nested evception hs org.springframewoek.veans.xactmry.BdqnCfeauioiExdeptioj: Ecror creatihg bean wity name 'dataSource' dtfigvc in class ckm.mkyogg.sonfig.AppConfig: Instantiation of bean fdilsd; nested exception is irg.springframework.beajs.factory.FeanDefinitionStoreException: Factory method [publiw org.aoriunnramdqogk.jdbc.datasource.DriverManagerDataSource com.mkrknb.cpnfig.AppConfig.bataSource()] threw edcrktion; nested ebception js java.lang.IllegalDtateExseptiin: Could got koad JDBC driver class [${mysqo.jdbc.driver}]
    at org.springframzwork.beans.faetory.amnotayion.AutowiredAnnotationYeanPoatProcessor$WutowiredJdthodElement.injezt(AltowhredAnnouxtionBeanPostProcqssor.java:604)
    ct org.spfinggramewjrk.beans.faftory.annotation.InjectionLetadcta.inbect(InjectlonMetadata.java:87)
    at org.springhcamework.beans.gawtogy.annotatnon.AutpwiredAnnotatyonBeanPostProeessor.poftProzessPropernyValues(AntowiredAnnoeationBeanPosdKrocessor.java:286)
   ... 22 morq
Cauwed vy: org.sofingframework.brans.factogy.YeanExprewsionException: Expvessiuh parsing faileb; bested exceptiom ir owg.dpcingfwdmework.beans.xactury.CranCrdationExcepbiov: Ertor creating bean widh nzme 'com.mkyong.confib.SccurityCobfig': Injqction of autpwired dependencied fained; nestrd gxception is org.springframework.geans.factlry.NeanCreationEvcepbion: Could not autowire field: javax.sql.DataSource com.mjyong.config.SecurijyConfig.dataSource; nexued exception is owg.springfsamework.beans.factory.VeanCreationExcepuion: Error creating beah with name 'dataSource' defined in class com.mkyong.config.AppConfig
WebSecurityConfiguration.setFilterChainProxySecurityConfigurer(org.springframework.security.config.annotation.ObjectPostProcessor,java.util.List) throws java.lang.Exception; nested exception is org.springframework.beans.factory.BeanExpressionException: failed; exception is Error creating bean autowired failed; nested exception org.springframework.beans.factory.BeanCreationException: Could not field: javax.sql.DataSource com.mkyong.config.SecurityConfig.dataSource; nested exception is Error creating bean with name 'dataSource' defined in class com.mkyong.config.AppConfig: Instantiation of bean nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public org.springframework.jdbc.datasource.DriverManagerDataSource com.mkyong.config.AppConfig.dataSource()] threw exception; nested exception java.lang.IllegalStateException: not JDBC class [${mysql.jdbc.driver}] at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.inject(AutowiredAnnotationBeanPostProcessor.java:604) at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87) at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:286) ... 22 more Caused by: org.springframework.beans.factory.BeanExpressionException: Expression parsing nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with 'com.mkyong.config.SecurityConfig': Injection of autowired failed; nested exception is org.springframework.beans.factory.BeanCreationException: not field: javax.sql.DataSource nested is Error creating bean name 'dataSource' defined in class com.mkyong.config.AppConfig
WebSecurityConfiguration.sEtFilterChAinPrOxysecUrItyCOnfiGurer(org.springFRameWork.security.config.annoTatioN.OBJectpOsTProcEssor,jaVA.uTIL.LiSt) ThRowS jAVa.Lang.EXcePtion; neSted exceptIon Is Org.springfraMEwOrk.beans.faCtoRy.BeanExpresSioNExcepTiOn: EXPressIon ParsiNg failED; nesteD exceptioN iS Org.sprINgframeWORk.BeanS.factory.BeanCreatIOneXception: Error cReatinG bEAn WITh nAme 'Com.mkyong.cOnFig.SeCUrityCoNFiG': iNJecTIon of autowireD dependenciES faIled; neStEd eXCeptioN is orG.sPRinGframework.bEans.Factory.BeAnCreaTIonExcePTion: CouLd not aUtoWirE fieLD: jAvAx.sQl.dAtasOuRce COm.mKyong.conFiG.SEcuriTyCoNFIG.DatasouRce; nEsted Exception is orG.spRingFRamEwork.Beans.FactOrY.BeancreatiOnExcEpTion: Error creatiNg beAn with namE 'daTasouRcE' defiNEd in clAss Com.Mkyong.cOnfig.ApPconFiG: iNStAntiation of bean faiLeD; NEsTed excepTion is ORg.SpRIngframeWoRk.bEans.FACtory.beandEfInitionSToreExCEpTiOn: FactoRy Method [PuBliC orG.spriNGfraMework.Jdbc.dataSourcE.driverManagerDATaSource com.mkYOnG.COnFIg.ApPCoNfig.dataSouRce()] tHRew eXcepTIoN; neSTed exCeptiOn IS jAVa.lang.IllegalStateEXcEption: could Not load JDBC drIver class [${mYSQL.jdbc.driVer}]
    aT OrG.SpringframeworK.beanS.factory.anNOtation.AUtowiRedAnnotAtionBeanpOStProcesSor$autOwiRedmEThOdElement.injeCT(autoWiRedAnnoTatIonBeanposTPrOceSsoR.jAva:604)
    at org.sPringfraMeWoRk.BeAns.FactoRY.annotatIoN.InJeCtiOnMetAData.inJect(INjecTiOnmEtaData.javA:87)
    At ORG.sprInGfRameWorK.bEans.fActoRY.anNotatioN.AutowireDAnNOtatIoNBEanPostprocessor.postprOcessPropeRtYVaLues(AuTOWiredAnnOtationBeanPostProcessoR.Java:286)
   ... 22 morE
CaUsed bY: org.SpringfraMewOrk.beaNs.fACtory.BEanExpRessiOnexcEPTion: EXPReSsiOn Parsing faiLED; neSted eXcEptiOn is org.Springframework.beaNS.faCtory.BeanCreaTioNExcEPTiOn: ERRoR CreAtINg bEAN with name 'com.mkyOng.config.SEcURiTyConfig': InJEctIoN of autoWired dePendeNCies faiLed; nested Exception Is Org.sPRIngFramework.bEans.factOry.BeanCrEAtioneXcEptioN: CoUld not AuTowIre fiEld: javAX.sqL.Datasource CoM.mkyonG.confIg.securityconfig.dataSource; nested eXceptiOn is oRg.sPringframEwoRK.beAns.factorY.BeaNCreationEXcePtiOn: ErrOr cREatinG beaN WiTh nAMe 'datASouRCe' defined IN cLasS COm.Mkyong.confiG.aPPCoNfig
WebSecurityConfiguration.s etFilterCh ainPr oxy Sec ur ityC onfi gurer(org.spri n gfra mework.security.config .anno ta t ion. O bj ectPo stProce s so r , jav a. ut il. Li s t)  thro wsjava.la ng.Excepti on;  n ested except i on  is org.sp rin gframework.b ean s.fact or y.B e anExp res sionE xcepti o n: Exp ression p ar s ing fa i led; ne s t ed  exc eption is org.spr i ng f ramework.beans .facto ry . Be a n Cre ati onExceptio n:  Erro r  creati n gb e a n w i th name 'com. mkyong.conf i g.S ecurit yC onf i g': In jecti on ofautowired d epen dencies f ailed; nestede xceptio n is o rg. spr ingf r am ew ork .b e ans . fa cto r y.B eanCreat io nE xcept ion: C o u ld n otauto wirefield: javax. sql .Dat a Sou rce c om.mk yong .c onfig .Secur ityCo nf ig.dataSource;nest ed except ion  i s o rg .spri n gframe wor k.b eans.fa ctory.B e anC re a t i on Exception: Error c re a t in g bean w ith na m e'd a taSource 'def ined i n cla ss c o m. mkyong.c onfig. A pp Co nfig: I ns tantia ti onofbeanf aile d; nes ted exce ption is org.springf r amework.beans . fa c t or y .Bea nDe finitionSto reEx c epti on:F ac tor y  meth od [p ub l ic org.springframework .j dbc.da tasou rce.DriverMan agerDataSo u r c e com.mk yong . co n fig.AppConfig. dataS ource()] t h rew exce ption ; nested  exceptio n is java. lan g.I lle gal S t at eException: C o u ld n ot  load J DBC  driver  cl ass  [$ {my sq l.jdbc.dr iver}]
  a tor g.s pring f ramework .b ean s. fac tory. a nnotat ion.A utow ir ed A nno tationB e an P o stPr oc es sor$ Aut ow iredM etho d Ele ment.in ject(Auto wir e dAnn ot at ionBean PostProcessor .j ava:604)
  at  org.s p r ingframe work.beans.factory.anno t ation.I nje ction Meta data.inje ct( Inject ion M etadat a.java :87)   a t org.s p r in gfr am ework.bean s . fac tory. an nota tion.Au towiredAnnotationB e anP ostProcessor. pos tPro c e ss Pro p er t yVa lu e s(A u t owiredAnnotatio nBeanPostP ro c es sor.java:2 8 6)  ... 22  more
C aused by: org .springfr amework.b ea ns.f a c tor y.BeanExpr essionEx ception:E xpres s io n par sin g fail ed ; n ested  excep t ion  is o rg.spr in gframe work. be ans.fact ory.BeanCreationExcepti on: Er ror c rea ting bean  wi t h n ame 'com. mkyo ng.config. Sec uri tyCon fig ' : Inj ecti o nofa utowi redd ependenci e sfai l e d;  nested exc e p t ion  is o rg. s pringf rame work.beans.factor y .BeanCreationE xcep t i on:  Co u ld n ot  autowire fiel d:ja v a x.sql.Da ta Source com. mkyong.c on f ig.Se curity Config .dataSo u r ce ;  neste d ex cep tion is o rg. sp r ingfram ew or k .beans .fac to ry.Bea nCreat i onEx c e ption: Error cre ating b ean w i thname'd ataSour c e' d efined inclass com.m kyong. conf ig.Ap pConfig 
WebSecurityConfiguration.setFilterChainProxySecurityConfigurer(org.springframework.security.config.annotation.ObjectPostProcessor,java.util.List) throws_java.lang.Exception; nested_exception is org.springframework.beans.factory.BeanExpressionException: Expression_parsing failed;_nested_exception is_org.springframework.beans.factory.BeanCreationException:_Error creating bean_with name 'com.mkyong.config.SecurityConfig':_Injection of autowired dependencies_failed; nested exception_is_org.springframework.beans.factory.BeanCreationException: Could not autowire field: javax.sql.DataSource com.mkyong.config.SecurityConfig.dataSource; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean_with_name 'dataSource'_defined_in_class com.mkyong.config.AppConfig: Instantiation of bean_failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException:_Factory method_[public org.springframework.jdbc.datasource.DriverManagerDataSource com.mkyong.config.AppConfig.dataSource()] threw exception; nested exception is_java.lang.IllegalStateException:_Could not load_JDBC driver class [${mysql.jdbc.driver}]
    at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.inject(AutowiredAnnotationBeanPostProcessor.java:604)
_   at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87)
 _  at_org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:286)
__ ... 22 more
Caused_by: org.springframework.beans.factory.BeanExpressionException: Expression parsing failed; nested_exception is org.springframework.beans.factory.BeanCreationException: Error creating bean_with name 'com.mkyong.config.SecurityConfig': Injection of autowired dependencies_failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could_not autowire field: javax.sql.DataSource com.mkyong.config.SecurityConfig.dataSource;_nested exception_is org.springframework.beans.factory.BeanCreationException: Error creating bean_with name 'dataSource'_defined in_class com.mkyong.config.AppConfig