I've created a maven project, imported my dependencies and checked the libraries which contain the expected files (except for the doc-files which are red).
For some reason (and I'm having this problem in both intellij and eclipse), If I create a class the imports and methods cannot be resolved.
我将在命令行上构建项目以下载依赖项,然后使Intellij中的缓存无效(在“文件”菜单下),然后重新启动IntelliJ。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.