运行后没反应,控制台也没有弹出来,在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...
不是运行报错是编译报错的,看报错语句说的是模块 crawler 有问题,你可以去检查一下这个模块是不是哪里文件路径有问题呢?