摘要:
使用了Mysql Connector/J 6.x以上的版本,然后就报了时区的错误 The server time zone value '�й���ʱ��' is unrecognized or represents more than one time zone. You must config 阅读全文
摘要:
window-->preferences-->maven-->user settings-->global settings把新建的xml指定过去就ok了 阅读全文
摘要:
springboot +maven 启动时报错: Failed to start component [StandardEngine[Tomcat].StandardHost[localhost].TomcatEmbeddedContext[]] NoClassDefFoundError: java 阅读全文
摘要:
在用MyEclipse ID进行maven开发时报Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:xx or one of的解决办法: 1、将${user_home}/.m2 阅读全文
摘要:
(大话设计模式学习总结) 装饰模式(Decorator)定义:装饰模式动态的给一个对象添加一些额外,就增加功能来说,装饰模式比生成子类更加灵活。 装饰模式利用setComponent来对对象进行包装,生成一条对象链,每个装饰对象的实现和如何使用对象分离开,装饰对象只关心自己的功能,无需关系如何被添加 阅读全文
摘要:
(大话设计模式学习总结) 策略模式:它定义了一个算法族,每个算法分别封装,算法之间可以替换,算法之间的替换不影响用户的使用。 算法的 实例化通过算法族的上下文Context进行管理,Context包含对算法的引用,在Context中可以使用简单工厂模式来管理对象的实例化,实现具体算法与用户的解耦。 阅读全文
摘要:
错误提示:java.lang.AbstractMethodError: Method com/mchange/v2/c3p0/impl/NewProxyPreparedStatement.isClosed()Z is abstract at com.mchange.v2.c3p0.impl.NewP 阅读全文
摘要:
1、 Timer种类 1.System.Threading.Timer 2.System.Timers.Timer 3.System.Windows.Forms.Timer 4.System.Windows.Threading.DispatcherTimer 2、 Timer用法及简介 A.Syst 阅读全文
摘要:
静态常量(Const)和动态常量(Readonly)之间的区别 静态常量(Compile-time Constant) 动态常量(Runtime Constant) 定义 声明的同时要设置常量值。 声明的时候可以不需要进行设置常量值,可以在类的构造函数中进行设置。 类型限制 只能修饰基元类型,枚举类 阅读全文