简体   繁体   中英

Intellij is showing errors for dependencies even when project is building fine

I am fairly new to intellij and I am having a hard time understanding on how to set up the project structure of my project.

I have a multi-module project when a root pom and a few child poms. BUt somehow intellij is recognising some of the dependencies and not recognizing others. follow image: 在此处输入图像描述

I tried to correct my project structure but without any success. Following is the present look of my project structure.

在此处输入图像描述

Library settings:

在此处输入图像描述

I found the issue after a lot of trouble. The issue was that the poms of the sub projects were somehow marked as ignored.

在此处输入图像描述

As soon as removed them from ignored the issue was resolved

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM