报错集
收集出现过的错误及解决方法
蜗牛K
这个作者很懒,什么都没留下…
展开
-
There was an unexpected error (type=Forbidden,status=403)
This application has no explicit mapping for /error,so you are seeing this as a fallbackThere was an unexpected error (type=Forbidden,status=403)解决方式:关闭跨站攻击功能 http.csrf().disable()原创 2020-12-22 15:12:39 · 7553 阅读 · 0 评论 -
java.lang.IllegalStateException: Failed to load property source from location ‘classpath:/applicatio
java.lang.IllegalStateException: Failed to load property source from location ‘classpath:/application.yml’可能原因一:yml文件里有格式错误可能原因二:yml编码格式与项目编码格式不一样解决格式问题:ok后会出现弹框,点击convert即可...原创 2020-12-02 15:34:24 · 828 阅读 · 2 评论 -
intelliJ IDEA:Cannot resolve method“XX“问题解决
https://www.jianshu.com/p/8db6b73fb0c9原创 2020-12-01 16:45:12 · 2176 阅读 · 0 评论 -
Mybatis-Plus报错:java.sql.SQLException: The server time zone value ‘�й���ʱ��‘ is unrecognized or repr
java.sql.SQLException: The server time zone value ‘�й���ʱ��’ is unrecognized or represents more than one time zone. You must configure either the server or JDBC driver (via the serverTimezone configuration property) to use a more specifc time zone value i原创 2020-12-01 15:24:37 · 428 阅读 · 0 评论 -
springboot的Module创建报错:Initialization failed for ‘https://start.spring.io‘ Please check URL, network
Initialization failed for ‘https://start.spring.io’Please check URL, network and proxy settings.Error message:Cannot download ‘https://start.spring.io’: connect timed out解决:check成功后即可顺利创建Module原创 2020-12-01 12:20:00 · 374 阅读 · 0 评论 -
SpringBoot项目中jsp热部署跳转失败
方法上加有@RequestBody注解 使返回为json字符串,所以无法跳转原创 2020-11-25 11:06:15 · 117 阅读 · 0 评论 -
SpringBoot项目启动报错:Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:2.2.6.REL
Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:2.2.6.RELEASE:run (default-cli) on project test_srpngboot1: Application finished with exit code: 1检查yml配置文件里是否有格式错误检查项目名问题原创 2020-11-25 10:57:33 · 5069 阅读 · 0 评论 -
SpringBoot启动报错IllegalArgumentException: ContextPath must start with ‘/‘ and not end with ‘/‘
2020-11-05 14:42:21.394 ERROR 14220 — [ main] o.s.boot.SpringApplication : Application run failedorg.springframework.context.ApplicationContextException: Unable to start web server; nested exception is org.springframework.beans.fa.原创 2020-11-05 14:48:39 · 1597 阅读 · 1 评论 -
kibana启动后浏览器无法访问
首先查看防火墙是否关闭尝试重启后问题会不会得到解决,如果还是无法访问:1.修改kibana.yml文件(本机IP地址)2.如果还是不能访问的话,就卸载重装一遍。卸载:安装:然后进行上面第一步操作。启动:测试访问:如上图则表示访问成功。可在浏览器访问。输入: ip地址:5601 回车...原创 2020-09-09 20:04:01 · 16386 阅读 · 0 评论 -
VM413:3 Uncaught TypeError: $(...).jqGrid is not a function
报错如下:源文件:修改后:修改后就不报错了。报错原因应该为jar包冲突。解决此问题的参考文档为:https://www.cnblogs.com/sunxi/p/11039524.html原创 2020-09-04 19:20:59 · 941 阅读 · 0 评论 -
java.lang.NoClassDefFoundError: com/fasterxml/jackson/databind/exc/InvalidDefinitionException
因为使用的Spring版本与本地jsckson版本不匹配,所以需要把jsckson版本升级原创 2020-08-18 16:26:36 · 292 阅读 · 0 评论 -
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
报错如下端口冲突/端口被占用解决:查看当前进程里正在使用的端口 命令 : netstat -ntlp杀掉此进程:启动访问: xxx.xxx.xxx.xxx:80成功!原创 2020-08-13 02:00:56 · 1456 阅读 · 0 评论 -
ERROR 1045 (28000): Access denied for user ‘root‘@‘localhost‘ (using password: YES)
ERROR 1045 (28000): Access denied for user ‘root’@‘localhost’ (using password: YES)需要重置密码https://blog.csdn.net/vv19910825/article/details/82979563转载原创 2020-08-11 18:57:54 · 124 阅读 · 0 评论 -
springboot整合Mybatis报错1
Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:2.2.6.RELEASE:run (default-cli) on project tourProject1: Application finished with exit code: 1原创 2020-08-02 19:16:10 · 141 阅读 · 0 评论