问题合集
Janson_Lin
前中科院开发工程师!
展开
-
【解决】MySQL8.0出现2059错误
错误使用Navicat Premium 连接MySQL时出现如下错误:原因mysql8 之前的版本中加密规则是mysql_native_password,而在mysql8之后,加密规则是caching_sha2_password解决更改加密规则:(如果这里mysql没有配置环境变量,这里需要进入到对应的mysql80/bin中去运行)mysql -uroot -ppassword #登录use mysql; #选择数据库# 远程连接请将'localhost'换成'%'原创 2021-04-09 10:32:13 · 433 阅读 · 0 评论 -
springboot整合mybatisPlus java.lang.ClassNotFoundException: org.apache.ibatis.plugin.Interceptor
异常信息:提示找到不该类的异常。(没有截图)java.lang.ClassNotFoundException: org.apache.ibatis.plugin.Interceptor解决办法:找到这个jar包,打开后,去查找这个类,后来发现maven在下载这个jar包的时候,并没有完全下载,导致了这里的这个类是空的,现在我们的处理方式就是可以重新加载jar。总结:检查类中可能...原创 2019-10-15 14:18:09 · 4475 阅读 · 0 评论 -
Loading class `com.mysql.jdbc.Driver'. This is deprecated. The new driver class is `com.mysql.cj.jdb
最近在搭建一个springboot+mybatis的项目的时候遇到的一个问题:错误提示信息:Loading class `com.mysql.jdbc.Driver'. This is deprecated. The new driver class is `com.mysql.cj.jdbc.Driver'. The driver is automatically registered ...原创 2018-12-28 10:21:05 · 168 阅读 · 0 评论 -
项目问题合集<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-thyme
首先在pom.xml引入thymeleaf的依赖<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-thymeleaf</artifactId></dependency>...原创 2018-12-24 19:05:08 · 9983 阅读 · 0 评论 -
项目前端问题解决记录
1.js中的Math.floor使用 <html><body><script type="text/javascript">document.write(Math.floor(1.70) + "<br />")document.write(Math.floor(0.40) + "<br />&qu原创 2019-01-07 14:53:12 · 384 阅读 · 0 评论 -
IDEA中Diamond types are not supported at this language level,internal java compiler error解决
Diamond types are not supported at this language level解决project的java level 已经核实确实为8,但是IDEA里面仍然会有如下图的提示:通过查看项目设置,发现project的java level 也是8。然后继续检查其他模块 如modules ,发现了问题所在。改为8就好了。遇到类似问题重点排查的位...原创 2019-01-14 10:49:53 · 499 阅读 · 0 评论 -
IDEA启动Tomcat报错Address localhost:1099 is already in use或者Unable to open debugger port (127.0.0.1:5832
Unable to open debugger port (127.0.0.1:58325): java.net.SocketException "socket closed“在IDEA非正常的关闭Tomcat后会出现这两个不同的端口占用的问题。解决方法:1、打开cmd,输入以下命令 netstat -ano|findstr 1099 taskkill -f -pi...原创 2019-07-15 15:31:29 · 170 阅读 · 0 评论 -
IntelliJ IDEA 使用 TOMCAT 中文乱码的各种问题
打开File-Setting, 找到File Encodings这个选项,把encoding设置成你工程的编码即可,一般是UTF-8,如下图(红框的地方),然后重新rebuild一下,基本就行了执行main函数时,控制台乱码同样是打开setting,找到 Build,Execution,Deployment > Compiler > Java Compiler, 设置 Add...原创 2019-07-17 14:25:50 · 140 阅读 · 0 评论 -
解决org.apache.ibatis.binding.BindingException: Invalid bound statement (not found)
在用maven配置mybatis环境时出现此BindingExceptiony异常,发现在classes文件下没有mapper配置文件,应该是maven项目没有扫描到mapper包下的xml文件, 在pom.xml中加入一下代码可以解决: <build> <resources> <!-- maven项目中src源代码下的xml等资源文件编...原创 2019-08-21 15:47:04 · 180 阅读 · 0 评论