摘要:
pom文件加入: 阅读全文
摘要:
1.不使用import *:Setting=>Editor=>Code Style=>Java=>Imports=>Class count to use/Names count to...,设置个数 2.自动移除无用的import:Setting=>Editor=>General=>Auto Imp 阅读全文
摘要:
如果想用BigDecimal精确表示数据,使用new BigDecimal(String) 阅读全文
摘要:
1.Could not find resource(mybatis本身不支持通配符,是spring提供的ant匹配法) 2.ClassNotFoundException: org.I0Itec.zkclient.IZkStateListener(缺少zkclient) 3.NoClassDefFou 阅读全文
摘要:
1.sql语句中给表名和字段加上`,导致异常:不进行分表策略,表不存在 阅读全文
摘要:
1.PUT was not successful: 404 Not Found 结果:jetty.xml中开启BlobMessage相关配置 2.Consumer消费时:FileNotFoundException 结果:fileserver/WEB-IND/web.xml中RestFilter、De 阅读全文
摘要:
关键接口和类: 1.发送消息 2.发送文件 关键:BlogMessage 阅读全文
摘要:
1.Failed to load class "org.slf4j.impl.StaticLoggerBinder" answer: 一、在编译路径中添加Log4J的包,比如我一直在用的log4j-1.2.8.jar; 二、再添加一个叫做slf4j-log4j12-1.5.11.jar的包进行转换, 阅读全文
摘要:
1.There are test failures 阅读全文
摘要:
1.ClassNotFoundException: org.springframework.dao.support.DaoSupport(解决:导入spring-tx) 2.NoClassDefFoundError: org/springframework/jdbc/datasource/Trans 阅读全文