I try to add the following dependency in my pom.xml file:
<dependency> <groupId>org.json</groupId> <artifactId>json</artifactId> <version>20180813</version> </dependency> However, the <version> tag's content gets highlighted in red and the Dependency org.json:json:20180813 not found error pops up:
Why does this happen and how to fix it?


<dependency>block, and it worked fine.