随笔分类 - java
get more
摘要:数据备份: Runtime rt = Runtime.getRuntime(); String run [] = {"cmd","/c", "c://mysqldump -hlocalhost -uroot -pxxxx --databases cache >e://cache.sql"}; rt.
阅读全文
摘要:1.使用官方推荐的方式安装 yum-utilsyum install -y yum-utils2.使用如下的命令设置稳定版的 repositoryyum-config-manager \ --add-repo \ https://docs.docker.com/engine/installation
阅读全文
摘要:记录一下以前遇到的问题 在使用db2数据库处理数据的时候,碰到特殊字段,出现的问题 java.io.charConversionException 官方解决方法: db2.jcc.charsetDecoderEncoder=3 so that instead of throwing an excep
阅读全文
摘要:因为thymeleaf 使用快捷键提示,不提示标签信息。 在使用网上说的的install new software安装插件的时候 报错: Unable to read repository at http://www.thymeleaf.org/eclipse-plugin-update-site/
阅读全文
摘要:环境:spring 4.2.6 使用全注解来获取值的时候发生@Value为写好的表达式 简单的代码: 实体类: public class RichMan { @Value(value="${richMan.name}") private String name ; @Value("99123") p
阅读全文
摘要:记录一下遇到的错误 org.springframework.beans.factory.parsing.BeanDefinitionParsingException: 使用环境:spring 4.1.6 代码: 类1 配置类 @Configuration@Import(value= {Sky.cla
阅读全文

浙公网安备 33010602011771号