摘要:一、main方法所在Class修改为一下配置 代码: @Override protected SpringApplicationBuilder configure(SpringApplicationBuilder application) { return application.sources(D
阅读全文
摘要:一、简述 1.整合Shiro或者 Spring(Spring Security)本次使用Shiro 2.Shiro有两个部分认证、授权 3.使用jar包 <dependency> <groupId>org.apache.shiro</groupId> <artifactId>shiro-core</
阅读全文
摘要:applicaton.properties配置: spring.servlet.multipart.max-file-size=200MB spring.servlet.multipart.max-request-size=200MB config包下的配置文件中添加如下配置: /** * 配置上传
阅读全文
摘要:server.xml配置 <?xml version="1.0" encoding="UTF-8"?> <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreem
阅读全文