
Java偶遇问题
实践中出现的一些问题
inexaustible
这个作者很懒,什么都没留下…
展开
-
前端更新包报500错误,文件权限设置错误
前端更新包报500错误,文件权限设置错误原创 2023-07-26 14:48:15 · 742 阅读 · 0 评论 -
vue中预览静态pdf文件
/ pdf预览},// 下载a.download = "文件比对操作手册.pdf";a.click();a.remove();原创 2023-07-24 15:01:16 · 1817 阅读 · 1 评论 -
内存参数问题导致内存溢出
内存参数问题导致内存溢出原创 2023-07-19 17:46:07 · 850 阅读 · 0 评论 -
Error:Invalid or corrupt jarfile xxx.jar
上传jar包,执行报错:Error:Invalid or corrupt jarfile xxx.jar。原创 2023-07-19 13:56:39 · 1121 阅读 · 0 评论 -
ERROR: slow sql .. millis.
slow sql .. millis.原创 2023-05-23 13:25:59 · 441 阅读 · 0 评论 -
Address already in use: bind
Address already in use: bind原创 2023-05-24 15:48:41 · 942 阅读 · 0 评论 -
Java 异常中日志处理
Java 异常中日志处理原创 2023-05-24 13:53:41 · 177 阅读 · 0 评论 -
SQL批量插入由拼接``修改为传参格式
SQL批量插入由拼接''修改为传参格式原创 2023-05-15 09:09:36 · 216 阅读 · 0 评论 -
idea 打包不出现target的原因
packaging打包类型,所有的父级项目的packaging都为pom,packaging默认是jar类型原创 2022-07-12 16:10:46 · 1233 阅读 · 0 评论 -
Required request body is missing
org. springframework.http.converter. HttpllessageNotReadableErception: Required request body is missing: publiccom.atguigu.commonutils.Rcom.atguigu.educenter.controller. Ucenter lemberController.loginUser解决办法:原创 2020-07-16 15:51:45 · 479 阅读 · 0 评论 -
expected at least 1 bean which qualifies as autowire candidate. Dependency a...
解决办法:MapperScan扫描要写正确原创 2020-07-15 12:30:48 · 11650 阅读 · 0 评论 -
Caused by: java.lang.IllegalStateException: No fallback...
feign结合Hystrix使用:Caused by: java.lang.IllegalStateException: No fallback instance of type class com.atguigu.eduservice.client.VodFileDegradeFeignClient found for feign client service-vod解决办法:熔断器的实现类中需要添加@Component...原创 2020-07-14 15:55:28 · 1966 阅读 · 2 评论 -
使用Mybatis-Plus进行分页查询,返回的数据中total总是为0的问题
创建一个类注入PaginationInterceptor即可package com.education.educms.config;import com.baomidou.mybatisplus.core.injector.ISqlInjector;import com.baomidou.mybatisplus.extension.injector.LogicSqlInjector;import com.baomidou.mybatisplus.extension.plugins.Pagin原创 2020-11-28 16:16:30 · 1759 阅读 · 2 评论 -
org.springframework.web.bind.MissingPathVariableException: Missing URI template variable ‘limit‘ for
问题:org.springframework.web.bind.MissingPathVariableException: Missing URI template variable 'limit' for解决:在我的代码中导致这个问题的原因是在注解中忘记给limit参数添加{},添加上即可正确运行。原创 2020-07-20 09:25:01 · 11476 阅读 · 0 评论 -
创建application.properties文件时idea没有变成绿叶图标
解决办法:原创 2020-07-14 10:02:28 · 2578 阅读 · 1 评论 -
‘telnet‘ 不是内部或外部命令,也不是可运行的程序或批处理文件。
'telnet' 不是内部或外部命令,也不是可运行的程序或批处理文件。原创 2022-08-28 17:52:05 · 182 阅读 · 0 评论 -
java.sql.SQLException: Unknown initial character set index ‘255‘ received from server. Initial clien
java.sql.SQLException: Unknown initial character set index '255' received from server. Initial client character set can be forced via the 'characterEncoding' property. at com.mysql.jdbc.SQLError.c...原创 2019-11-27 20:31:51 · 695 阅读 · 0 评论 -
ERROR [main] - Error while adding the mapper 'interface com.itheima.core.dao.CustomerDao' to configu
重启Apache服务器时报错:ERROR [main] - Error while adding the mapper 'interface com.itheima.core.dao.CustomerDao' to configuration.ERROR [main] - Error while adding the mapper 'interface com.itheima.core.d...原创 2019-11-26 17:29:31 · 7338 阅读 · 0 评论 -
HTTP Status 500 – Internal Server Error
HTTP Status 500 – Internal Server ErrorType 异常报告消息 Servlet.init() for servlet [crm] threw exception描述 服务器遇到一个意外的情况,阻止它完成请求。Exceptionjavax.servlet.ServletException: Servlet.init() for servle...原创 2019-11-25 22:53:05 · 567 阅读 · 0 评论 -
HTTP Status 500 – Internal Server Error
HTTP Status 500 – Internal Server ErrorType 异常报告消息 /WEB-INF/jsp/customer.jsp (行.: [318], 列: [6]) 无法为TAG [itheima:page]加载标记处理程序类[com.itheima.common.utils.NavigationTag]描述 服务器遇到一个意外的情况,阻止它完成请求。E...原创 2019-11-22 17:01:42 · 1128 阅读 · 7 评论 -
Unknown initial character set index '255' received from server
问题描述:使用mysql8.+版本,使用myeclipse连接数据库时总报Unknown initial character set index '255' received from server.错误原因:MySQL驱动和数据库字符集设置不搭配解决:在数据库后面说明字符集jdbc:mysql://localhost:3306/db?useUnicode=tr...原创 2019-11-21 16:57:03 · 232 阅读 · 0 评论 -
FirstController报错:
FirstController报错:导入:servlet-api.jar包即可原创 2019-11-18 22:48:40 · 298 阅读 · 1 评论 -
eclipse错误: 找不到或无法加载主类 com.itheima.test.TransactionTest
原创 2019-11-17 14:35:51 · 3584 阅读 · 0 评论 -
缺少javax.servlet.http.HttpServletRequest包导致新导入的项目报错
import javax.servlet.http.HttpServletRequest;import javax.servlet.http.HttpServletResponse;错误提示是因为没有引入javax.servlet.http.HttpServletRequest所在的包,编译错误:项目–>右键–>properties–>Java build bath–&...原创 2019-11-14 18:58:57 · 1198 阅读 · 0 评论 -
java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corre
org.apache.ibatis.exceptions.PersistenceException:### Error querying database. Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to yo...原创 2019-10-23 09:47:19 · 1398 阅读 · 0 评论