springboot
qq_37950416
这个作者很懒,什么都没留下…
展开
-
SpringBoot实现多数据源自由切换
项目地址:下载pom.xml#指定当前环境#spring.profiles.active=dev#tomcatserver.port=8080server.servlet.context-path=/south#注册与发现服务#spring.application.name=service-pc#eureka.client.serviceUrl.defaultZone=http://localhost:1001/eureka/#debug=truelogging.level.com原创 2020-07-17 16:46:02 · 825 阅读 · 0 评论 -
SpringBoot+shiro 实现登录缓存和验证码
登录后登录缓存退出浏览器后再重新进入 http://localhost:8080/south/index.html不需要登录 便可进入index.html页面pom.xml<?xml version="1.0" encoding="UTF-8"?><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" .原创 2020-07-17 11:38:51 · 713 阅读 · 0 评论 -
Spring+SpringMVC+MyBatis+layui实现列表分页,模糊查询
前端html代码<!DOCTYPE html><html xmlns:shiro="http://www.pollix.at/thymeleaf/shiro" xmlns:th="http://www.thymeleaf.org"><head> <meta charset="utf-8"> <title>layui...原创 2020-04-26 17:04:19 · 1572 阅读 · 0 评论 -
Spring+SpringMVC+MyBatis+layui实现分级列表treeGrid
html<!DOCTYPE html><html> <head> <meta charset="utf-8"> <META HTTP-EQUIV="pragma" CONTENT="no-cache"> <META HTTP-EQUIV="Cache-Control"...原创 2020-04-30 15:53:02 · 879 阅读 · 3 评论 -
Eclipse运行Springboot出现Caused by: java.lang.ClassNotFoundException: Cannot find class: User
错误提示Caused by: java.lang.ClassNotFoundException: Cannot find class: User at org.apache.ibatis.io.ClassLoaderWrapper.classForName(ClassLoaderWrapper.java:200) ~[mybatis-3.4.6.jar:3.4.6] at or...原创 2019-03-01 15:46:25 · 4500 阅读 · 1 评论