Maven:maven导入servlet-api的jar包时报错:servlet-api:unknown 解决:导入这个依赖时没有加版本号,应该加上版本号。例如: <version>2.4</version>