创建maven项目
pom导入jar包依赖,<scope>provided</scope>解释
scope取值 有效范围(compile, runtime, test) 依赖传递 例子
compile all 是 spring-core
provided compile, test 否 servlet-api
runtime runtime, test 是 JDBC驱动
test test 否 JUnit
system compile, test 是
compile :编译、运行、测试 均有效
provided:编译、测试有效
runtime:运行、测试有效