随笔分类 -  JAVA

摘要:IDEA如何设置HOME目录: 编辑idea的启动配置文件,增加如下一行: -Duser.home=E:\Source\Repos\Java 阅读全文
posted @ 2021-05-08 15:47 还可入梦 阅读(827) 评论(0) 推荐(0)
摘要:在Git上拉下来了一个别人的maven项目,但是用IDEA打开的时候,在左侧project加载不到.class文件,只显示pom.xml文件。 解决办法:将项目工程的.idea文件夹删除掉,重新打开即可。 阅读全文
posted @ 2021-04-09 08:44 还可入梦 阅读(464) 评论(0) 推荐(0)
摘要:一、获取SimpleDateFormat当前系统时间和日期并格式化输出: SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");//设置日期格式 System.out.println(df.format(new Date( 阅读全文
posted @ 2021-04-08 15:47 还可入梦 阅读(8163) 评论(0) 推荐(0)
摘要:转自https://www.cnblogs.com/zhxhdean/archive/2011/03/25/1995431.html 阅读全文
posted @ 2020-10-29 10:36 还可入梦 阅读(119) 评论(0) 推荐(0)
摘要:Java 图片与byte数组互相转换 阅读全文
posted @ 2020-09-04 15:33 还可入梦 阅读(3583) 评论(0) 推荐(0)
摘要:记录自用 阅读全文
posted @ 2020-07-30 09:38 还可入梦 阅读(148) 评论(0) 推荐(0)
摘要:The bean 'XXXRepository', defined in null, could not be registered. A bean with that name has already been defined in null and overriding is disabled. 阅读全文
posted @ 2020-06-13 11:42 还可入梦 阅读(5205) 评论(0) 推荐(1)
摘要:spring boot jpa-java.lang.IllegalArgumentException: Not a managed type异常问题解决方法 阅读全文
posted @ 2019-09-18 15:41 还可入梦 阅读(8434) 评论(0) 推荐(0)
摘要:could not execute statement; SQL [n/a]; constraint [PRIMARY]; nested exception is org.hibernate.exception.ConstraintViolationException: could not execute statement 阅读全文
posted @ 2019-08-05 10:03 还可入梦 阅读(16315) 评论(1) 推荐(1)
摘要:ERROR 10392 --- [ main] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Exception during pool initialization. WARN 10392 --- [ main] o.s.b.a.orm.jpa.DatabaseLookup : Unable to determine jdbc url from datasource WARN 10392 --- [ main] o.h.e.j.e.i.JdbcEnvironmentInitiator : HHH000342: Could not obtain connection to query metadata : The server time zone value '�й���׼ʱ��' is unrecognized or represents more than one time zone. You must configure 阅读全文
posted @ 2019-08-01 17:41 还可入梦 阅读(33823) 评论(4) 推荐(1)