随笔分类 - JAVA
摘要:IDEA如何设置HOME目录: 编辑idea的启动配置文件,增加如下一行: -Duser.home=E:\Source\Repos\Java
阅读全文
摘要:在Git上拉下来了一个别人的maven项目,但是用IDEA打开的时候,在左侧project加载不到.class文件,只显示pom.xml文件。 解决办法:将项目工程的.idea文件夹删除掉,重新打开即可。
阅读全文
摘要:一、获取SimpleDateFormat当前系统时间和日期并格式化输出: SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");//设置日期格式 System.out.println(df.format(new Date(
阅读全文
摘要:转自https://www.cnblogs.com/zhxhdean/archive/2011/03/25/1995431.html
阅读全文
摘要: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.
阅读全文
摘要:此问题是在虚拟环境上遇到的
阅读全文
摘要:spring boot jpa-java.lang.IllegalArgumentException: Not a managed type异常问题解决方法
阅读全文
摘要:could not execute statement; SQL [n/a]; constraint [PRIMARY]; nested exception is org.hibernate.exception.ConstraintViolationException: could not execute statement
阅读全文
摘要: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
阅读全文

浙公网安备 33010602011771号