搭建ssm 杰信商务 项目时报错。
狼王_ 2016-12-09 05:32:35 INFO - Root WebApplicationContext: initialization started
INFO - Refreshing Root WebApplicationContext: startup date [Fri Dec 09 17:22:30 CST 2016]; root of context hierarchy
INFO - Loading XML bean definitions from class path resource [beans.xml]
INFO - Loading properties file from class path resource [jdbc.properties]
WARN - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'factoryDaoImpl': Unsatisfied dependency expressed through method 'setSqlSessionFactory' parameter 0: Cannot find class [org.springframewrok.jdbc.core.JdbcTemplate] for bean with name 'jdbcTemplate' defined in class path resource [beans.xml]; nested exception is java.lang.ClassNotFoundException: org.springframewrok.jdbc.core.JdbcTemplate; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.springframewrok.jdbc.core.JdbcTemplate] for bean with name 'jdbcTemplate' defined in class path resource [beans.xml]; nested exception is java.lang.ClassNotFoundException: org.springframewrok.jdbc.core.JdbcTemplate
Related cause: org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.springframewrok.jdbc.core.JdbcTemplate] for bean with name 'jdbcTemplate' defined in class path resource [beans.xml]; nested exception is java.lang.ClassNotFoundException: org.springframewrok.jdbc.core.JdbcTemplate
ERROR - Context initialization failed
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'factoryDaoImpl': Unsatisfied dependency expressed through method 'setSqlSessionFactory' parameter 0: Cannot find class [org.springframewrok.jdbc.core.JdbcTemplate] for bean with name 'jdbcTemplate' defined in class path resource [beans.xml]; nested exception is java.lang.ClassNotFoundException: org.springframewrok.jdbc.core.JdbcTemplate; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.springframewrok.jdbc.core.JdbcTemplate] for bean with name 'jdbcTemplate' defined in class path resource [beans.xml]; nested exception is java.lang.ClassNotFoundException: org.springframewrok.jdbc.core.JdbcTemplate
Related cause: org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.springframewrok.jdbc.core.JdbcTemplate] for bean with name 'jdbcTemplate' defined in class path resource [beans.xml]; nested exception is java.lang.ClassNotFoundException: org.springframewrok.jdbc.core.JdbcTemplate
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.inject(AutowiredAnnotationBeanPostProcessor.java:648)
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:349)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1214)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:776)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:861)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:541)
at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:444)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:326)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:107)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4811)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5251)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1408)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1398)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)