简体   繁体   中英

Intellij not importing dependencies of modules

IntelliJ is not importing my modules dependencies for some reason. Like it's not taking into account my modules pom.xml. The dependencies added for example in the core module don't figure in the External library of the subject. As I'm not yet that familiar with intelliJ I assume the problem comes from the project structure so here it is:

依存关系

You need to import the project as a "Maven Project".

  • Remove the "wallbang" module with the "-" button.
  • Click "+" -> "Import Module", then select the pom.xml.
  • Configure it using the wizard.
  • Click "Ok"

That should open up the Maven view and automatically include all dependencies.

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