scala模块提示Could not find the selected project in the reactor

ordinary
  • 1
新手上路,请多包涵

运行后没反应,控制台也没有弹出来,在build里看到的报错如图,本来以为是scala写的不对,试了个hello world也没跑起来,同样的报错,应该是项目哪里配置有问题
[INFO] Scanning for projects...
[ERROR] [ERROR] Could not find the selected project in the reactor: cn.itcast:crawler @
[ERROR] Could not find the selected project in the reactor: cn.itcast:crawler -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confl...

回复
阅读 1.9k
1 个回答

不是运行报错是编译报错的,看报错语句说的是模块 crawler 有问题,你可以去检查一下这个模块是不是哪里文件路径有问题呢?

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
宣传栏