今天闲来无事,想把自己开发的项目部署到sae试试。。报的错是一个接着一个啊。。到了这个错,小弟真是无能为力了,现跪求各位大神帮帮小弟,分析分析新浪云抽啥疯呢??
本项目是通过maven采用spring4+springmvc+hibernate4开发的。。本地tomcat and jetty都无问题sae jvm日志如下:
[12/Mar/2016:20:33:59 +0800]
JAVA_Warning:
Exception encountered during context initialization - cancelling refresh attempt org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'shiroFilter' defined in file [/data1/jetty_work/576/dzzf/jetty-0.0.0.0-10266-root.war-_-any-7854345630242670552.dir/webapp/WEB-INF/classes/conf/spring-shiro.xml]:
Initialization of bean failed;
nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'securityManager' defined in file [/data1/jetty_work/576/dzzf/jetty-0.0.0.0-10266-root.war-_-any-7854345630242670552.dir/webapp/WEB-INF/classes/conf/spring-shiro.xml]:
Cannot create inner bean 'org.dzzf.shiro.realm.AccountRealm#6dce9b19' of type [org.dzzf.shiro.realm.AccountRealm] while setting bean property 'realm';
nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'org.dzzf.shiro.realm.AccountRealm#6dce9b19':
Injection of autowired dependencies failed;
nested exception is org.springframework.beans.factory.BeanCreationException:
Could not autowire field: private org.dzzf.core.persist.service.SysUserService org.dzzf.shiro.realm.AccountRealm.userService;
nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'sysUserService':
Injection of autowired dependencies failed;
nested exception is org.springframework.beans.factory.BeanCreationException:
Could not autowire field:
private org.dzzf.core.persist.dao.SysUserDao org.dzzf.core.persist.service.impl.SysUserServiceImpl.userDao;
nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'sysUserDaoImpl' defined in URL [jar:file:/data1/jetty_work/576/dzzf/jetty-0.0.0.0-10266-root.war-_-any-7854345630242670552.dir/webapp/WEB-INF/lib/dzzf-core-0.0.1-SNAPSHOT.jar!/org/dzzf/core/persist/dao/impl/SysUserDaoImpl.class]:
Initialization of bean f yq33.javaruntime
本项目是通过maven采用spring4+springmvc+hibernate4开发的。。本地tomcat and jetty都无问题sae jvm日志如下:
[12/Mar/2016:20:33:59 +0800]
JAVA_Warning:
Exception encountered during context initialization - cancelling refresh attempt org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'shiroFilter' defined in file [/data1/jetty_work/576/dzzf/jetty-0.0.0.0-10266-root.war-_-any-7854345630242670552.dir/webapp/WEB-INF/classes/conf/spring-shiro.xml]:
Initialization of bean failed;
nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'securityManager' defined in file [/data1/jetty_work/576/dzzf/jetty-0.0.0.0-10266-root.war-_-any-7854345630242670552.dir/webapp/WEB-INF/classes/conf/spring-shiro.xml]:
Cannot create inner bean 'org.dzzf.shiro.realm.AccountRealm#6dce9b19' of type [org.dzzf.shiro.realm.AccountRealm] while setting bean property 'realm';
nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'org.dzzf.shiro.realm.AccountRealm#6dce9b19':
Injection of autowired dependencies failed;
nested exception is org.springframework.beans.factory.BeanCreationException:
Could not autowire field: private org.dzzf.core.persist.service.SysUserService org.dzzf.shiro.realm.AccountRealm.userService;
nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'sysUserService':
Injection of autowired dependencies failed;
nested exception is org.springframework.beans.factory.BeanCreationException:
Could not autowire field:
private org.dzzf.core.persist.dao.SysUserDao org.dzzf.core.persist.service.impl.SysUserServiceImpl.userDao;
nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'sysUserDaoImpl' defined in URL [jar:file:/data1/jetty_work/576/dzzf/jetty-0.0.0.0-10266-root.war-_-any-7854345630242670552.dir/webapp/WEB-INF/lib/dzzf-core-0.0.1-SNAPSHOT.jar!/org/dzzf/core/persist/dao/impl/SysUserDaoImpl.class]:
Initialization of bean f yq33.javaruntime
解决方案 »
- 【分享】keystone.conf配置database connection连接字符串转义问题
- 华为云计算解决方案FusionSphere V100R003C10 多媒体资料上线啦
- linux ssh登录aws EC2主机失败报秘钥错误,请高手指点
- kubernetes如何通过cinder使用ceph作为后端存储?
- 为何HyperV和ESXi每当虚拟机启动,母机磁盘空间就会减少?虚拟内存理应是存入在虚拟机里啊
- 新手 请教一个问题 , AWS的 ec2主机 用 sftp的时候 无法上传文件是什么原因 , 谁知道?
- AWS 选择Ubnutu,安装好nginx后,无法用Amazon 给的公用DNS,IP 访问
- 如何将深度学习工作站多人远程共享?win(ubuntu)远程访问ubuntu系统,进行网络训练及运行
- hadoop环境变量配置
- 懂服务器的dalao们来看一下
- AWS S3 实现上传(SSH框架)哪些对象是支持多线程的?
- AWS面向internet的ELB
有木有大神指导下啊~~~