
U bug I big
文章平均质量分 55
总要有一个梦想或大或小
这个作者很懒,什么都没留下…
展开
-
No qualifying bean of type 'com.funo.oa.dao.PostDao' available问题解决:找不到dao的实现类
No qualifying bean of type 'com.funo.oa.dao.PostDao' available原创 2017-10-09 21:53:21 · 4710 阅读 · 0 评论 -
(转)不同版本(2.3-3.1)web.xml文件的schema头部声明
1. Servlet 3.1Java EE 7 XML schema,命名空间是 http://xmlns.jcp.org/xml/ns/javaee/[html] view plain copy<?xml version="1.0" encoding="UTF-8"?> <web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee" ...转载 2018-04-29 16:57:10 · 186 阅读 · 0 评论 -
Springboot结合layui展示table出现的问题
前台代码<table id="uesrList" lay-filter="userTable" lay-data="{url:'/user/getUserList'}"></table><script type="text/javascript" th:inline="none"> // $('.collapsed原创 2018-06-29 14:16:52 · 3742 阅读 · 4 评论 -
Spring boot整合MyBatis的分页插件PageHelper及出现的问题
Spring boot整合MyBatis的PageHelper的步骤1、引入包maven引入:<dependency> <groupId>com.github.pagehelper</groupId> <artifactId>pagehelper-spring-boot-starter</artifactId> &...原创 2018-06-29 23:24:07 · 2395 阅读 · 0 评论 -
解决分页插件ClassNotFoundException: org.springframework.boot.bind.RelaxedPropertyResolver
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.github.pagehelper.autoconfigure.PageHelperAutoConfiguration': Post-processing of merged bean definition fail...原创 2018-06-29 23:28:11 · 7470 阅读 · 0 评论 -
解决问题:java.lang.RuntimeException: 在系统中发现了多个分页插件,请检查系统配置!
在使用springboot配置mybatis PageHelper时由于版本出现的问题mybatis-config.xml中配置了一次PageHelper<plugin interceptor="com.github.pagehelper.PageInterceptor"> <!-- 设置数据库类型Oracle,Mysql,MariaDB,SQLite,Hsqldb,Po...原创 2018-06-30 00:11:37 · 24762 阅读 · 7 评论 -
mybatis下一对一的问题及个人理解
最近在学习mybatis和springboot准备做一个权限管理系统有一个User类,其中有一个属性为private User createBy (User类型)数据库中该属性对应的数据类型为bigint,保存的是createBy的id这里面涉及到一对一 原理就是:先通过userId查询出createBy字段的值(即创建者的id),再通过一次查询查询出该createBy属性将其赋值给User的cr...原创 2018-06-28 14:50:11 · 254 阅读 · 0 评论 -
Springboot整合shiro时出现的静态资源无法访问的问题
使用Springboot整合shiro之后,我的静态资源竟然不见了,讲真,第一次整合shiro,完全不知道是什么原理怎么办,百度原来是shiro把它给拦截了,找了很多文章,整了一堆话,都不是我想要的,后来看到一篇文章,一语中的http://412887952-qq-com.iteye.com/blog/2392741直接将代码中的@Bean注释掉,完事(细节只能后面细究)...原创 2018-07-05 18:03:45 · 5902 阅读 · 7 评论