当前仓库属于暂停状态,部分功能使用受限,详情请查阅 仓库状态说明
210 Star 937 Fork 610

辽宁路为物流有限公司 / KYTMS
暂停

 / 详情

启动异常

待办的
任务
创建于  
2020-09-06 14:09
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'shiroFilter' defined in class path resource [shiro.xml]: Cannot resolve reference to bean 'securityManager' while setting bean property 'securityManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'securityManager' defined in class path resource [shiro.xml]: Cannot resolve reference to bean 'myRealm' while setting bean property 'realm'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'myRealm': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'OrgService': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ZoneService': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'ZoneDao': Unsatisfied dependency expressed through method 'setSessionFactory' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in URL [jar:file:/D:/workspaces/wenlinguo/KYTMS/target/KYTMS/WEB-INF/lib/KYTMS-1.0-SNAPSHOT.jar!/SpringContext.xml]: Cannot resolve reference to bean 'dataSource' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in URL [jar:file:/D:/workspaces/wenlinguo/KYTMS/target/KYTMS/WEB-INF/lib/KYTMS-1.0-SNAPSHOT.jar!/SpringContext.xml]: Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException: Invalid property 'dialect' of bean class [org.apache.commons.dbcp.BasicDataSource]: Bean property 'dialect' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter?

评论 (2)

跳蚤 创建了任务
跳蚤 修改了描述
展开全部操作日志

把SpringContext.xml 中第34行<property name="dialect" value="${db.dialect}" 注释掉

把SpringContext.xml 中第34行<property name="dialect" value="${db.dialect}" 注释掉

@曹海兵 谢谢 已经OK了

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(2)
Java
1
https://gitee.com/jet-chain/KYTMS.git
git@gitee.com:jet-chain/KYTMS.git
jet-chain
KYTMS
KYTMS

搜索帮助