前端之家收集整理的这篇文章主要介绍了
mssing包org.springframework.web,
前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我继续学习maven并尝试理解为什么当org.springframework.web dependecy已经在pom中定义时,我得到这个错误包“org.springframework.web.servlet不存在”.
@H_
404_5@
你能告诉我为什么会出现这个错误吗?
最佳答案
org.springframework.web.servlet是Spring MVC的一部分,它位于org.springframework:spring-webmvc artifact:
@H_
404_5@
org.springframework:spring-web包含在Web应用程序中使用Spring的常用功能,它与Spring MVC无关.