eclipse引发的问题
写道新的公司新的项目,从svn check out下了以后运行发现如下错误,让公司另一同事check out下来打包传给我没有任何问题.所以考虑是我运行环境有问题.我的环境:eclipse3.6+jdk1.6+tomcat6后来发现因为tomcat3.6默认把编译后的class文件存放在xx\build\class\目录下而工程找的目录是XX\WebRoot\WEB-INF\classes同事传给我的也是在WebRoot\WEB-INF\classes下所以不会报错.修改过来后项目可以正常运行.
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.transaction.config.internalTransactionAdvisor': Cannot create inner bean '(inner bean)' of type [org.springframework.transaction.interceptor.TransactionInterceptor] while setting bean property 'transactionInterceptor'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)': Cannot resolve reference to bean 'transactionManager' while setting bean property 'transactionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager' defined in ServletContext resource [/WEB-INF/ddlibserve-servlet.xml]: Cannot resolve reference 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/ddlibserve-servlet.xml]: Initialization of bean failed; nested exception is org.springframework.beans.TypeMismatchException: Failed to convert property value of type [java.util.ArrayList] to required type [java.lang.Class[]] for property 'annotatedClasses'; nested exception is java.lang.IllegalArgumentException: Cannot find class [com.sursen.souba.ddlibserve.bean.LogBean]. Root cause: java.lang.ClassNotFoundException: com.sursen.souba.ddlibserve.bean.LogBean
Related cause: org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [com.sursen.souba.ddlibserve.action.LoginCheckAction] for bean with name 'controllerAspect' defined in ServletContext resource [/WEB-INF/ddlibserve-servlet.xml]; nested exception is java.lang.ClassNotFoundException: com.sursen.souba.ddlibserve.action.LoginCheckAction
Related cause: org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [com.sursen.souba.ddlibserve.service.OverdueRecallTimerTask] for bean with name 'overdueRecall' defined in ServletContext resource [/WEB-INF/ddlibserve-servlet.xml]; nested exception is java.lang.ClassNotFoundException: com.sursen.souba.ddlibserve.service.OverdueRecallTimerTask
Related cause: org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [com.sursen.souba.ddlibserve.service.AppointmentReminderTimerTask] for bean with name 'appointmentReminder' defined in ServletContext resource [/WEB-INF/ddlibserve-servlet.xml]; nested exception is java.lang.ClassNotFoundException: com.sursen.souba.ddlibserve.service.AppointmentReminderTimerTask
Related cause: org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [com.sursen.souba.ddlibserve.action.LoginCheckAction] for bean with name 'controllerAspect' defined in ServletContext resource [/WEB-INF/ddlibserve-servlet.xml]; nested exception is java.lang.ClassNotFoundException: com.sursen.souba.ddlibserve.action.LoginCheckAction
Related cause: org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [com.sursen.souba.ddlibserve.service.OverdueRecallTimerTask] for bean with name 'overdueRecall' defined in ServletContext resource [/WEB-INF/ddlibserve-servlet.xml]; nested exception is java.lang.ClassNotFoundException: com.sursen.souba.ddlibserve.service.OverdueRecallTimerTask
Related cause: org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [com.sursen.souba.ddlibserve.service.AppointmentReminderTimerTask] for bean with name 'appointmentReminder' defined in ServletContext resource [/WEB-INF/ddlibserve-servlet.xml]; nested exception is java.lang.ClassNotFoundException: com.sursen.souba.ddlibserve.service.AppointmentReminderTimerTask
Related cause: org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [com.sursen.souba.ddlibserve.action.LoginCheckAction] for bean with name 'controllerAspect' defined in ServletContext resource [/WEB-INF/ddlibserve-servlet.xml]; nested exception is java.lang.ClassNotFoundException: com.sursen.souba.ddlibserve.action.LoginCheckAction
Related cause: org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [com.sursen.souba.ddlibserve.service.OverdueRecallTimerTask] for bean with name 'overdueRecall' defined in ServletContext resource [/WEB-INF/ddlibserve-servlet.xml]; nested exception is java.lang.ClassNotFoundException: com.sursen.souba.ddlibserve.service.OverdueRecallTimerTask
Related cause: org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [com.sursen.souba.ddlibserve.service.AppointmentReminderTimerTask] for bean with name 'appointmentReminder' defined in ServletContext resource [/WEB-INF/ddlibserve-servlet.xml]; nested exception is java.lang.ClassNotFoundException: com.sursen.souba.ddlibserve.service.AppointmentReminderTimerTask
Related cause: org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [com.sursen.souba.ddlibserve.action.LoginCheckAction] for bean with name 'controllerAspect' defined in ServletContext resource [/WEB-INF/ddlibserve-servlet.xml]; nested exception is java.lang.ClassNotFoundException: com.sursen.souba.ddlibserve.action.LoginCheckAction
Related cause: org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [com.sursen.souba.ddlibserve.service.OverdueRecallTimerTask] for bean with name 'overdueRecall' defined in ServletContext resource [/WEB-INF/ddlibserve-servlet.xml]; nested exception is java.lang.ClassNotFoundException: com.sursen.souba.ddlibserve.service.OverdueRecallTimerTask
Related cause: org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [com.sursen.souba.ddlibserve.service.AppointmentReminderTimerTask] for bean with name 'appointmentReminder' defined in ServletContext resource [/WEB-INF/ddlibserve-servlet.xml]; nested exception is java.lang.ClassNotFoundException: com.sursen.souba.ddlibserve.service.AppointmentReminderTimerTask
Related cause: org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [com.sursen.souba.ddlibserve.action.LoginCheckAction] for bean with name 'controllerAspect' defined in ServletContext resource [/WEB-INF/ddlibserve-servlet.xml]; nested exception is java.lang.ClassNotFoundException: com.sursen.souba.ddlibserve.action.LoginCheckAction
Related cause: org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [com.sursen.souba.ddlibserve.service.OverdueRecallTimerTask] for bean with name 'overdueRecall' defined in ServletContext resource [/WEB-INF/ddlibserve-servlet.xml]; nested exception is java.lang.ClassNotFoundException: com.sursen.souba.ddlibserve.service.OverdueRecallTimerTask
Related cause: org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [com.sursen.souba.ddlibserve.service.AppointmentReminderTimerTask] for bean with name 'appointmentReminder' defined in ServletContext resource [/WEB-INF/ddlibserve-servlet.xml]; nested exception is java.lang.ClassNotFoundException: com.sursen.souba.ddlibserve.service.AppointmentReminderTimerTask
Related cause: org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [com.sursen.souba.ddlibserve.action.LoginCheckAction] for bean with name 'controllerAspect' defined in ServletContext resource [/WEB-INF/ddlibserve-servlet.xml]; nested exception is java.lang.ClassNotFoundException: com.sursen.souba.ddlibserve.action.LoginCheckAction
Related cause: org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [com.sursen.souba.ddlibserve.service.OverdueRecallTimerTask] for bean with name 'overdueRecall' defined in ServletContext resource [/WEB-INF/ddlibserve-servlet.xml]; nested exception is java.lang.ClassNotFoundException: com.sursen.souba.ddlibserve.service.OverdueRecallTimerTask
Related cause: org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [com.sursen.souba.ddlibserve.service.AppointmentReminderTimerTask] for bean with name 'appointmentReminder' defined in ServletContext resource [/WEB-INF/ddlibserve-servlet.xml]; nested exception is java.lang.ClassNotFoundException: com.sursen.souba.ddlibserve.service.AppointmentReminderTimerTask
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:230)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:122)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1210)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:978)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:462)
at o