会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
小罗要有出息
首页
新随笔
联系
管理
上一页
1
···
5
6
7
8
9
10
11
12
13
···
19
下一页
2022年3月20日
Error resolving template [index], template might not exist or might not be accessible by any of the configured Template Resolvers
摘要: Error resolving template [index], template might not exist or might not be accessible by any of the configured Template Resolvers 解析模板 [index] 时出错,模板可
阅读全文
posted @ 2022-03-20 13:48 小罗要有出息
阅读(2479)
评论(0)
推荐(0)
2022年3月19日
Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test (default-test) on project Shiro: There are test failures.
摘要: 解决方法 然后在去单元测试中运行,控制台就会报错,我们根据报错,就可以解决问题
阅读全文
posted @ 2022-03-19 23:43 小罗要有出息
阅读(421)
评论(0)
推荐(0)
认识shiro
摘要: 简介 Apache Shiro 是 Java 的一个安全框架。(又是Apache) Shiro 可以非常容易的开发出足够好的应用,其不仅可以用在 JavaSE 环境,也可以用在 JavaEE 环境。Shiro 可以帮助我们完成:认证、授权、加密、会话管理、与 Web 集成、缓存等。这不就是我们想要的
阅读全文
posted @ 2022-03-19 16:38 小罗要有出息
阅读(61)
评论(0)
推荐(0)
vue请求传数据到后台处理数据的方法
摘要: vue中使用axios来与后台建立连接 在axios使用post请求中Content-Type: application/json是默认的,对于这个Content-Type,在后台中,我们需要用**@RequestBody**来处理数据,具体如下 前端传递数据 axios.post("http://
阅读全文
posted @ 2022-03-19 10:37 小罗要有出息
阅读(1547)
评论(0)
推荐(0)
2022年3月17日
SpringSecurity
摘要: 简介 spring Security 是针对spring项目的安全框架,也是springBoot底层安全模块默认的技术选型,他可以实现强大的web安全控制,我们仅需要引入spring-boot-starter-security模块,进行少量的配置,即可实现强大的安全管理 记住几个类: WebSecu
阅读全文
posted @ 2022-03-17 21:33 小罗要有出息
阅读(43)
评论(0)
推荐(0)
Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception java.lang.IllegalArgumentException: There is no PasswordEncoder mapped for the id "null"
摘要: 密码编码问题 没有对密码进行加密 @Override protected void configure(AuthenticationManagerBuilder auth) throws Exception { auth.inMemoryAuthentication() .withUser("roo
阅读全文
posted @ 2022-03-17 21:07 小罗要有出息
阅读(244)
评论(0)
推荐(0)
2022年3月16日
springBoot跨域问题
摘要: springBoot跨域问题 主要发生在不同的域名之间,进行相互请求,比如在http://localhost:8080中使用axios去请求http://localhost:8081.这就属于跨域请求(简单来说,需要请求的地址与发送请求的地址,域名不同) 方法1:全局配置 定义配置类,添加@Conf
阅读全文
posted @ 2022-03-16 18:36 小罗要有出息
阅读(135)
评论(0)
推荐(0)
2022年3月15日
目前前端最稳定的依赖(写完一个项目后的总结)
摘要: "vue": "^2.5.2" "dependencies": { "axios": "0.24.0", "core-js": "^3.8.3", "echarts": "5.1.2", "element-ui": "^2.15.6", "js-cookie": "^3.0.1", "less":
阅读全文
posted @ 2022-03-15 22:53 小罗要有出息
阅读(88)
评论(0)
推荐(0)
2022年3月6日
echarts
摘要: ECharts 安装 yarn add echarts --save 使用 建议使用全局引入,按需引入太过于麻烦了 //全局引入 import * as echarts from 'echarts'; // 基于准备好的dom,初始化echarts实例 var myChart = echarts.i
阅读全文
posted @ 2022-03-06 19:55 小罗要有出息
阅读(172)
评论(0)
推荐(0)
mock
摘要: mock 作用: 可以随机生成数据,没有侵入,所以可以让前端独立于后端开发 安装: yarn add mockjs 使用 // 使用 Mock var Mock = require('mockjs') var data = Mock.mock({ // 属性 list 的值是一个数组,其中含有 1
阅读全文
posted @ 2022-03-06 13:08 小罗要有出息
阅读(195)
评论(0)
推荐(0)
上一页
1
···
5
6
7
8
9
10
11
12
13
···
19
下一页
公告