摘要: 转自:https://www.cnblogs.com/Jacob186/p/6254423.html 用spring做国际化时经常会报: org.springframework.context.NoSuchMessageException: No message found under code ' 阅读全文
posted @ 2016-10-21 19:27 Sharpest 阅读(5248) 评论(0) 推荐(0) 编辑
摘要: 转自:https://blog.csdn.net/qq_29545573/article/details/78972073 阅读全文
posted @ 2016-10-21 11:08 Sharpest 阅读(177) 评论(0) 推荐(0) 编辑
摘要: maven jar包下载命令行方式在STS中下载JAR包时经常卡住无法继续下载,这时可以用命令行方式进行下载。在终端中今入到该项目的根目录下,然后mvn clean;mvn install;等待下载即可。如果每次今入STS时,它总是去下载某一工程的JAR包,那么就需要把该工程close就好了。 阅读全文
posted @ 2016-10-21 11:07 Sharpest 阅读(2844) 评论(0) 推荐(0) 编辑
摘要: 转自:https://www.jb51.net/article/133592.htm 一.枚举和静态常量区别 讲到枚举我们首先思考,它和public static final String 修饰的常量有什么不同。 我举枚举的两个优点: 1. 保证了类型安全:调用者无法随意传一个 int或者Strin 阅读全文
posted @ 2016-10-21 11:06 Sharpest 阅读(354) 评论(0) 推荐(0) 编辑