Exception
日常操作中报错解决方法随记
只要酸菜不要鱼
在读学生
展开
-
SecureRandom.getInstance()导致线程阻塞发生
SecureRandom.getInstance()导致线程阻塞发生的复盘原创 2022-11-17 14:06:04 · 1496 阅读 · 1 评论 -
报错 Exception in thread “main“ javax.imageio.IIOException: Can‘t read input file!
今天图片加水印的小工具时,报如下错误Exception in thread "main" javax.imageio.IIOException: Can't read input file! at javax.imageio.ImageIO.read(ImageIO.java:1301) at com.bc.o2o.util.ImageUtil.main(ImageUtil.java:16)将basePath输出,其结果为:/F:/java%e7%9b%b8%e5%85%b3%e6%96%87%原创 2021-04-01 10:48:49 · 1153 阅读 · 1 评论 -
报错:Caused by: org.springframework.beans.factory.BeanCreationException
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘transactionManager’ defined in class path resource [spring/spring-service.xml]: Initialization of bean failed; nested exception is org.springframework.beans.原创 2021-03-30 15:03:05 · 11240 阅读 · 0 评论 -
报错:An attempt was made to call a method that does not exist. The attempt was made from the following
今天在学习thymeleaf时,运行springboot报如下错误:"C:\Z cap\jdk8u91\bin\java.exe" -XX:TieredStopAtLevel=1 -noverify -Dspring.output.ansi.enabled=always -Dcom.sun.management.jmxremote -Dspring.jmx.enabled=true -Dspring.liveBeansView.mbeanDomain -Dspring.application.admin.原创 2020-12-05 11:17:41 · 3919 阅读 · 1 评论 -
报错:java.lang.NoClassDefFoundError: org/springframework/boot/ApplicationContextFactory
今天在学习springboot时,出现以下错误:java.lang.BootstrapMethodError: java.lang.NoClassDefFoundError: org/springframework/boot/ApplicationContextFactory at org.springframework.boot.test.context.SpringBootContextLoader$WebConfigurer.configure(SpringBootContextLoader.j原创 2020-11-19 21:38:24 · 7163 阅读 · 3 评论 -
报错:Cannot get Jedis connection; nested exception is redis.clients.jedis.exceptions.
使用spring测试redis相关操作时,出现以下错误"C:\Z cap\jdk8u91\bin\java.exe" "-javaagent:C:\Z cap\idea\IntelliJ IDEA 2020.2.3\lib\idea_rt.jar=60156:C:\Z cap\idea\IntelliJ IDEA 2020.2.3\bin" -Dfile.encoding=UTF-8 -classpath "C:\Z cap\jdk8u91\jre\lib\charsets.jar;C:\Z cap\jd原创 2020-11-18 14:28:43 · 7821 阅读 · 2 评论 -
报错:java.sql.SQLException: The server time zone value ‘?й???????‘ is unrecognized or represents
今天在连接数据库是出现下面错误11-Nov-2020 20:22:01.376 严重 [Druid-ConnectionPool-Create-1089531577] com.alibaba.druid.support.logging.JakartaCommonsLoggingImpl.error create connection SQLException, url: jdbc:mysql://localhost:3306/bcdata, errorCode 0, state 01S00 java.s原创 2020-11-11 20:25:59 · 145 阅读 · 0 评论