一个在其他机子都能运行的web项目,导入自己的eclipse却出错了,求大神~求大神!!!!
[ERROR]localhost-startStop-12013-08-0201:18:55,956org.springframework.web.servlet.Dis...
[ERROR] localhost-startStop-1 2013-08-02 01:18:55,956 org.springframework.web.servlet.DispatcherServlet - Context initialization failedorg.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping#0': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.web.servlet.handler.MappedInterceptor#1': Cannot create inner bean 'com.freejuguo.framework.core.web.interceptor.SetSessionInterceptor#0' of type [com.freejuguo.framework.core.web.interceptor.SetSessionInterceptor] while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.freejuguo.framework.core.web.interceptor.SetSessionInterceptor#0': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.freejuguo.framework.core.service.FencingHolder com.freejuguo.framework.core.web.interceptor.SetSessionInterceptor.fencingHolder; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'fencingHolder' defined in file [D:\JAVA\workspace\thinkone1.1\webapp\WEB-INF\classes\spring\auth\applicationContext-auth-service.xml]: Invocation of init method failed; nested exception is com.freejuguo.framework.core.exception.DAOException: at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:527) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:580) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895) at
展开
6个回答
展开全部
你的路径跟别人的路径可能不一样, 配置文件可能有问题
追问
我是把整个项目一期导进去的,怎么会不一样呢?
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
你的eclipse配置环境有问题
追问
你谁说jdk的配置吗?
追答
适配器吧
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
bean无法初始化,看看加注解没或者配置文件里配置没
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
悲剧了ai。。。。。。
追问
什么意思?
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
就不能截个图吗 这看的眼睛疼
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询