错误原因:之前创建过一个其他类型的maven工程,下载的jar包有冲突! 解决方法:清空maven repository。 转自:http://blog.sina.com.cn/s/blog_628cc2b70102uyow.html