Cannot resolve class or package 'context'
@stamen 你好,想跟你请教个问题:
学生在学习spring4.x这本书的时候,导入源码chapter4,发现很多地方都报错
很多地方都报错
Cannot resolve class 'GroovyWebApplicationContext' 更少... (Ctrl+F1)
Inspection info: This inspection lets you spot the following problems that might occur in descriptors that are used to deploy your Web Module to a server:
References to the non-instantiable classes
References to the classes that do not extend required class
References to classes with inappropriate scope
Empty tag and attribute values
Tag and attribute values that do not match required pattern (e.g. Java Identifiers)
Tags that do not include required children tags or attributes
Tags that define objects with duplicate names
看了一下手前面好像说要把xml文件放.m2目录下了,放了还是不行
我自己有下载maven,可以运行的,于是我配置上idea了
学生我搞不懂,以为是没有配置tomcat,于是配置了tomcat,报了这个问题:No artifacts configured
于是去百度了一下,跟着百度那些文章配置,配置成了下面这样
可是问题还是没有解决
请问我该如何解决这个问题?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
版本不对吧