摘要:
先贴上一段Exception源码注释 第一段能看出Exception与Error的不同,Exception是一个系统想要捕获的东西。(Errors是不应捕获的) 异常分为Checked Exception和Unchecked Exception。 CheckedException是除了Runtime 阅读全文
摘要:
Dependency management plugin Maven dependencies have six possible scopes: maven依赖的6个有效范围 Compile: This is the default scope. Compile dependencies are 阅读全文
摘要:
当建立一个maven项目时,maven首先会从本地仓库获取依赖,如果没有找到则会从中央仓库获取,最后从远程仓库获取。 将定制库加载到本地仓库 所有的 POM 文件要项目元素必须有三个必填字段: groupId,artifactId,version 在库中的项目符号是:groupId:artifact 阅读全文