Warning: file_put_contents(/datas/wwwroot/jiajiahui/core/caches/caches_template/2/default/show.php): failed to open stream: Permission denied in /datas/wwwroot/jiajiahui/core/libraries/classes/template_cache.class.php on line 55

Warning: chmod(): Operation not permitted in /datas/wwwroot/jiajiahui/core/libraries/classes/template_cache.class.php on line 56
使用idea导入springboot项目maven报错Non-managed pom.xml file found - 源码之家

使用idea导入springboot项目maven报错Non-managed pom.xml file found

我只是简单的从台式电脑把项目转到手提上,环境全是一样的,可就是报这个错
Non-managed pom.xml file found:

Add as Maven Project or Disable notification

要是按了Add as Maven Project虽然会识别成maven project但是你会发现里面的包虽然在但是却没有引用到。
使用idea导入springboot项目maven报错Non-managed pom.xml file found
我是从这老哥那里找到答案的,https://blog.csdn.net/q89757316/article/details/80896382

module只有一个
可能是因为导入的异常,导致了我在project structure中除了*的bigData-stats工程之外还有main和test两个模块;这导致了import maven一系列下载包失败;将两个模块删掉后,问题解决。
使用idea导入springboot项目maven报错Non-managed pom.xml file found
把里面的Test和Main去掉后,就不会报错了,追究其根本我是不太懂的,但是问题是解决了。