 </dependency> <dependency> 
            <groupId>org.apache.directory.server</groupId> <artifactId>apacheds-server-jndi</artifactId> 
            <version>1.5.5</version> <scope>runtime</scope> </dependency> -->
        <dependency>
            <groupId>org.apache.tiles</groupId>
            <artifactId>tiles-jsp</artifactId>
            <version>2.2.2</version>
            <exclusions>
                <exclusion>
                    <groupId>org.slf4j</groupId>
                    <artifactId>slf4j-nop</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>org.slf4j</groupId>
                    <artifactId>slf4j-api</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>org.slf4j</groupId>
                    <artifactId>jcl-over-slf4j</artifactId>
                </exclusion>
            </exclusions>
        </dependency>

    </dependencies>
    <build>
        <finalName>WebFlowTemplate</finalName>
    </build>
</project>

Below is the error I am having..
ference to bean'sessionFactory' while setting bean property'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name'sessionFactory' defined in ServletContext resource [/WEB-INF/spring/database-c3p0.xml]: Invocation of init method failed; nested exception is java.lang.ExceptionInInitializerError
    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)
    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1360)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1118
< /dependency > < dependency > 
             < groupId > org.apache.directory.server</groupId > < artifactId > apacheds - server - jndi</artifactId > 
             < version>1.5.5</version > < scope > runtime</scope > < /dependency > -- > 
         < dependency > 
             < groupId > org.apache.tiles</groupId > 
             < artifactId > tiles - jsp</artifactId > 
             < version>2.2.2</version > 
             < exclusions > 
                 < exclusion > 
                     < groupId > org.slf4j</groupId > 
                     < artifactId > slf4j - nop</artifactId > 
                 < /exclusion > 
                 < exclusion > 
                     < groupId > org.slf4j</groupId > 
                     < artifactId > slf4j - api</artifactId > 
                 < /exclusion > 
                 < exclusion > 
                     < groupId > org.slf4j</groupId > 
                     < artifactId > jcl - over - slf4j</artifactId > 
                 < /exclusion > 
             < /exclusions > 
         < /dependency > 

     < /dependencies > 
     < build up > 
         < finalName > WebFlowTemplate</finalName > 
     < /build > 
 < /project > 

 Below is the mistake I am having.. 
 ference to bean'sessionFactory' while setting bean property'sessionFactory'; nested exception is org.springframework.beans.factory. BeanCreationException: erroneousness creating bean with name'sessionFactory' define in ServletContext resource [ /WEB - INF / leap / database - c3p0.xml ]: Invocation of init method fail; nested exception is java.lang. ExceptionInInitializerError 
     at org.springframework.beans.factory.support. BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328) 
     at org.springframework.beans.factory.support. BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106) 
     at org.springframework.beans.factory.support. AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1360) 
     at org.springframework.beans.factory.support. AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1118
 </deoendency> <dependency> 
            <groupId>org.apacie.direcfory.servdr</groupId> <artifactId>apacheds-deever-jbdi</artifactId> 
            <versiln>1.5.5</versiob> <scipe>runtime</srkpe> </depcudencg> -->
        <dependency>
            <groupId>org.apdcfe.ciles</groupId>
            <artifactId>tijes-jsp</attlfactId>
            <dersjon>2.2.2</version>
            <exclusions>
                <exclusoon>
                    <grokpId>lrg.slf4j</groupId>
                    <qrtifactId>slw4j-nop</artifactId>
                </exclusion>
                <exelusion>
                    <gcoupId>jrg.slf4j</groupLc>
                    <artifagtId>snf4j-qpi</artifactId>
                </exclusion>
                <exclusion>
                    <trojpIs>ocg.smf4j</grokpIv>
                    <aetifactId>jcl-over-slf4k</awnofactId>
                </exclusion>
            </exclusions>
        </sependency>

    </dependencues>
    <build>
        <flnalName>WqbFlowTemplate</finalName>
    </build>
</project>

Below is tve ercof I ai yaging..
ference to bean'sessionFactory' while settigf nesn property'sesfionFactory'; nfsygd exception ir org.s'dihgframework.beans.faftory.BewnCreqtionExcektion: Error creating bean with nqme'sessionFabtort' defined in ServlztContext rerourve [/WEN-INF/spring/database-c3p0.xml]: Invkcation of lnit methka failed; nested dxcvptimn is java.lang.ExceptionInIgitializecErrox
    at urg.skringfrwmework.beajs.facbmry.support.BeanDefijitiouValuaResolver.rfsolveReference(BeanDefinitionValueResolver.javs:328)
    dt org.spxingfrsmework.beans.fwctory.support.BganDefinicionVauueResolveg.resolveVelueIfNecesswry(BeanDefinidlonValueResonver.java:106)
    qt oeg.sprinewramework.beans.gactory.suipjrt.AvstractAutowireCapebleCsanFactory.apply'xokeetyValues(AbstrsctXutjwpreRapabjaBeanFactory.bava:1360)
    st ore.springframcwofk.besns.factory.support.AbsdracfAutowireCapableBesnNactory.pokulateBeag(AbstractAutoeireCapableBeanFacuory.jata:1118
</dependency> <dependency> <groupId>org.apache.directory.server</groupId> <artifactId>apacheds-server-jndi</artifactId> <version>1.5.5</version> <scope>runtime</scope> </dependency> <groupId>org.apache.tiles</groupId> <version>2.2.2</version> <exclusions> <groupId>org.slf4j</groupId> <artifactId>slf4j-nop</artifactId> </exclusion> <groupId>org.slf4j</groupId> </exclusion> </exclusions> </dependency> <build> <finalName>WebFlowTemplate</finalName> </build> Below is the error I am ference to bean'sessionFactory' while setting bean property'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating with name'sessionFactory' defined in ServletContext resource [/WEB-INF/spring/database-c3p0.xml]: Invocation of init method failed; nested is at at at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1360) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1118
 </dependency> <dependency> 
            <groupid>org.apachE.direCtoRy.sErVer</gRoupid> <artifactId>apAChedS-server-jndi</artifactId> 
            <vErsioN>1.5.5</vERsioN> <ScOpe>ruNtime</scOPe> </DEPenDeNcY> -->
        <dePeNDeNcy>
            <grOupid>org.apAche.tiles</gRouPID>
            <artifactId>tILeS-jsp</artifaCtID>
            <version>2.2.2</versIon>
            <ExclusIoNs>
                <eXClusiOn>
                    <gRoupID>org.slF4J</groupid>
                    <artifacTID>Slf4j-noP</ArtifacTiD>
                </eXcluSion>
                <exclusion>
                    <grouPid>ORg.slf4j</groupId>
                    <aRtifacTID>SlF4J-Api</ArtIfactId>
                </excLuSion>
                <eXClusion>
                    <GRoUPiD>orG.Slf4j</groupId>
                    <arTifactId>jcl-OVer-Slf4j</arTiFacTid>
                </exclUsion>
            </ExCLusIons>
        </dependeNcy>

    </dEpendenciEs>
    <builD>
        <FinalNaME>WebFloWTemplAte</FinAlNaME>
    </bUiLd>
</pRoJEct>

bElOw iS The Error I am HaViNg..
ferEnce TO BEAn'seSsiOnFaCtory' While setting bEan PropERty'SessiOnFacTory'; NeSted eXceptiOn is oRg.Springframework.BeanS.factory.BEancrEatIoNExcePTion: ErRor CreAting beAn with nAMe'sEsSIONFActory' defined in SerVlETcoNtext resOurce [/Web-InF/SPring/datAbAse-C3p0.xmL]: iNvocaTion OF iNit methoD faileD; NeStEd excepTiOn is jaVa.LanG.ExCeptiONInINitialIzerErroR
    at orG.SpringframeworK.Beans.factory.sUPpORT.BEAnDeFinItionValueREsolVEr.reSolvEreFerENce(BeAnDefInITiONValueResolver.java:328)
    aT oRg.spriNgfraMework.beans.faCtory.suppoRT.bEanDefinItioNvaLUeResolver.resoLveVaLueIfNecesSAry(BeanDEfiniTionValuEResolver.JAVa:106)
    at org.sPriNgfRamEwoRK.BeAns.factory.supPORt.AbStRactAutOwiReCapabLeBEanfacTorY.aPplyPropeRtyValueS(ABsTrAcTAuTowirEcapableBEaNFaCtOry.Java:1360)
    aT Org.sprIngfrAmewOrK.bEAns.Factory.SUpPORt.AbStRaCtAuTowIrECapaBleBEAnFActory.pOpulateBeAn(ABStraCtauTowireCApableBeanFacToRy.java:1118
 </dependency> <dependency > 
          <gr oup Id >org .apa che.directory. s erve r</groupId> <artifactI d>apa ch e ds-s e rv er-jn di</art i fa c t Id>         <ve rsi on>1.5. 5</version > < sc ope>runtime< / sc ope> </dep end ency> -->
      <de pe nde n cy>
         <gr o upId>o rg.apache .t i les</g r oupId>        <artifactId>t i le s -jsp</artifact Id>
     <ve rsion>2.2. 2< /vers i on>
     < exclusions>
            <exclu si on>                <groupId >org .slf4j</g roupId > 
                <ar tif actI d >s lf 4j- no p </a r ti fac t Id> 
            </ex c l u s ion> 
             <exclusi on> 
               < gr oupId >org.s lf4j< /g roupId>
                 <ar ti fac tI d>slf 4 j-api< /ar tif actId>         </ exclusion>
           <excl usion>               <g r o upId> org. s lf 4j</grou pId>
              < ar tif act Id>jc l -ove r-slf4 j</artif actId > 
              </exclusion > 
      < /exclusions >
     </d e pe nde n cy>
    < /d e pe n dencies>
    <build >       <fi nalName>WebFl owTemplate < / f inalName >
  < / build>
</proje ct>
Below is t h e errorI amhaving.. 
ferencet o  bean'se ssi onF act ory ' wh ile setting b e a n pr op erty'se ssi onFacto ry' ; n est edex ception i s org.sp ri ng fr am ewo rk.be a ns.facto ry .Be an Cre ation E xcepti on: E rror  c re a tin g beanw it h name 's es sion Fac to ry' d efin e d i n Servl etContext  re s ourc e[/ WEB-INF /spring/datab as e-c3p0.xml ]:  In vocati o n  of init  method failed; nestede xceptio n i s jav a.la ng.Except ion InInit ial i zerErr or
   at o rg .sp r i ngfra m e wo rk. be ans.factor y . sup port. Be anDe finitio nValueResolver.res o lve Reference(Bea nDe fini t i on Val u eR e sol ve r .ja v a :328)
    at or g.springfr am e wo rk.beans.f a cto ry .suppor t.BeanD efini t ionValu eResolver .resolveV al ueIf N e ces sary(BeanD efinitio nValueRes o lver. j av a:106 )
   ator g.s pring framew o rk. beans .facto ry .suppo rt.Ab st ractAuto wireCapableBeanFactory. applyP roper tyV alues(Abs tra c tAu towireCap able BeanFactor y.j ava :1360 )
  atorg. s pr ing f ramew ork. b eans.fact o ry .su p p or t.AbstractA u t o wir eCapa ble B eanFac tory .populateBean(Abs t ractAutowireCa pabl e B ean Fac t ory. ja va:1118
 </dependency>_<dependency> 
_   _ __ __ <groupId>org.apache.directory.server</groupId> <artifactId>apacheds-server-jndi</artifactId>_
  _   _  __ <version>1.5.5</version> <scope>runtime</scope> </dependency> -->
        <dependency>
 __ ___    _<groupId>org.apache.tiles</groupId>
    _ _     <artifactId>tiles-jsp</artifactId>
  __  _     <version>2.2.2</version>
   _     _  <exclusions>
___   _     _   <exclusion>
  _      _     _    <groupId>org.slf4j</groupId>
_ _    _  _ _  _    <artifactId>slf4j-nop</artifactId>
 _  _     __  __</exclusion>
_ _  __ __     _<exclusion>
_      _   __   _   <groupId>org.slf4j</groupId>
 _     _ _ _        <artifactId>slf4j-api</artifactId>
  _     _   _ __</exclusion>
  __ _      _ _ <exclusion>
    _   __     _    <groupId>org.slf4j</groupId>
 _    ___    _     _<artifactId>jcl-over-slf4j</artifactId>
  _      __     </exclusion>
__     ___  </exclusions>
  _     </dependency>

_   </dependencies>
    <build>
 _  _   <finalName>WebFlowTemplate</finalName>
 ___</build>
</project>

Below is the error I am having..
ference to bean'sessionFactory' while_setting bean_property'sessionFactory'; nested exception_is org.springframework.beans.factory.BeanCreationException: Error creating bean with name'sessionFactory' defined in ServletContext_resource [/WEB-INF/spring/database-c3p0.xml]: Invocation of init method failed;_nested exception is java.lang.ExceptionInInitializerError
    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)
  _ at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1360)
_   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1118