- 博客(15)
- 收藏
- 关注
原创 前后端分离:Spring Boot + Vue + 微信小程序 宝塔面板部署教程自用
前后端分离:Spring Boot + Vue + 微信小程序 宝塔面板部署教程自用
2022-06-10 15:34:27 4196 1
原创 Uncaught (in promise) ReferenceError: http is not defined
前端问题解决方法,在vue文件的对应的api文件中加上import http from '@/utils/http'
2022-04-11 20:34:18 3205
原创 java.lang.IllegalStateException: Failed to load ApplicationContext
运行测试时发生错误错误截图:解决方法:在pom.xml的Javax.servlet-api依赖里加上<scope>provided</scope>
2022-02-09 18:19:41 307
原创 layUI JS出现中文乱码
错误截图:解决方法:IntelliJ IDEA 统一设置编码为utf-8编码_风情-CSDN博客_idea 设置编码问题一:File->Settings->Editor->File Encodings问题二:File->Other Settings->Default Settings ->Editor->File Encodings问题三:将项目中的.idea文件夹中的encodings.xml文件中的..
2021-10-06 21:22:07 2295
原创 java.lang.Exception: Method selectAll() should be void
错误截图:解决方法:用Test 跑单元测试是要求方法不能有参数和返回类型的,改下测试的方法就行了。
2021-10-06 11:36:51 1385
原创 org.springframework.web下无servlet包
问题截图:解决方法:在pom.xml导入spring-webmvc依赖<dependency> <groupId>org.springframework</groupId> <artifactId>spring-webmvc</artifactId> <version>5.2.6.RELEASE</version> </d
2021-10-05 21:27:43 1664
原创 org.springframework.web包下无filter.CharacterEncodingFilter
解决中文乱码问题,复制网上的配置文件到web.xml时出错。org.springframework.web包下无filter.CharacterEncodingFilter解决方法:在pom.xml中引入spring-web依赖。 <dependency> <groupId>org.springframework</groupId> <artifactId>spring-web&.
2021-10-05 18:10:22 368
原创 IntelliJ IDEA Maven Reimport出错:org.apache.maven.plugins:maven-compiler-plugin:3.1
解决方法:在Setting里找到Maven,更改下载好的Maven的路径就可以解决了。
2021-10-05 17:27:55 160
原创 IDEA 启动Tomcat报错 :Error running ‘start Tomcat‘: Can‘t find catalina.jar
解决方法:重新修改下配置就可以了。
2021-10-05 16:37:33 292
原创 Could not autowire. No beans of ‘UserMapper‘ type found.
解决方法:在Mapper类前加上@Repository红波浪消失了
2021-09-08 15:56:13 91
原创 o.m.s.m.ClassPathMapperScanner : No MyBatis mapper was found in ‘[com.XXX.XXX]‘ pack
解决方法:https://my.oschina.net/kevin2kelly/blog/2046324
2021-09-08 13:21:34 2081
原创 has been blocked by CORS policy: Response to preflight request doesn‘t pass access control check:
Access to XMLHttpRequest at 'http://127.0.0.1:8083/XXX' from origin 'http://localhost:8083' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requeste
2021-08-23 21:28:58 3367
原创 Caused by: org.yaml.snakeyaml.scanner.ScannerException: while scanning a simple key
学习Spring Boot时发生如下错误:Caused by: org.yaml.snakeyaml.scanner.ScannerException: while scanning a simple keyin 'reader', line 8, column 3: nameAndSex:${cat.name},性别是${cat.sex} ^could not find expected ':'in 'reader', line 8, column 39: ...
2021-06-29 19:12:23 392
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人