摘要: 在JPA配置 META INF/persistence.xml 连接oracle后运行测试错误 完全错误如下: 因为数据库没有这个表 在测试时重新配置如下 完全配置如下: 阅读全文
posted @ 2019-01-14 21:33 追逐闪电得力量 阅读(4997) 评论(0) 推荐(0)
摘要: 错误配置: xml <! 根据角色id查询角色 select r. , r. , r. , p. pid, p. , p. from role r left join role_permission rp on rp. = r. left join permission p on rp. = p. 阅读全文
posted @ 2018-12-02 17:25 追逐闪电得力量 阅读(3870) 评论(0) 推荐(1)
摘要: 今天在配置spring security.xml配置文件时出错 错误如下: 正确配置 配置用户密码时指定加密的方式,{noop}是不加密的。在配置密码时没有加上导致错误. 阅读全文
posted @ 2018-11-30 21:30 追逐闪电得力量 阅读(1497) 评论(2) 推荐(1)
摘要: 今天发现一个简单的错误,详细如下: 是配置数据源对象时出错,需要仔细一点. 阅读全文
posted @ 2018-11-29 19:36 追逐闪电得力量 阅读(8806) 评论(0) 推荐(0)
摘要: 错误如下: nested exception is java.lang.IllegalStateException: Cannot convert value of type 'java.lang.String' to required type 'javax.sql.DataSource' for 阅读全文
posted @ 2018-11-20 18:38 追逐闪电得力量 阅读(29033) 评论(0) 推荐(0)
摘要: Exception in thread "main" org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: 最近在spring中遇到的问题,如下: 错误的bean.xml: xsi:schemaLocation 阅读全文
posted @ 2018-11-16 16:45 追逐闪电得力量 阅读(5465) 评论(0) 推荐(0)