Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
234 views
in Technique[技术] by (71.8m points)

java - Unable to load intellij module when using mvn idea:idea

I am using: IntelliJ IDEA 11.1.3 (Community edition) and Maven 3.0.4.

The project contains several modules, one of them creates a war-file. When I use "mvn idea:idea" IntelliJ is unable to load this module for some reason. The error message is: "10:40:04 AM Error Loading Project: Cannot load module"

I can fix the problem by manually importing existing module, but this is a very annoying problem. Does anyone know why this happens, could it be a maven or intellij problem? Is it something I can do to fix it?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

Just open the project by pointing to the pom.xml file. Skip the maven-idea-plugin, it is obsolete.

The maven-idea-plugin has not been active since 2008.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

2.1m questions

2.1m answers

60 comments

57.0k users

...