IntelliJ Says it is "not found"

Answered

This is indeed in maven Central:

<!-- https://mvnrepository.com/artifact/org.apache.commons/commons-configuration2 -->
<dependency>
  <groupId>org.apache.commons</groupId>
  <artifactId>commons-configuration2</artifactId>
  <version>2.11.0</version>

</dependency>

What is the problem?

0
3 comments

Have you tried to reload the maven project in the Maven tool window?

If it doesn't help, try to close IDE, delete .idea folder and any *.iml files in your project root folder in file explorer, and re-import the project from existing sources.

0

Yes reloading the Maven project fixed the problem. Thanks for replkying. I don't think I should have to do that when I add an additional dependency on occasion

0

Please sign in to leave a comment.