Skip to content
Advertisement

The POM for org.json:json:jar:20210118 is missing, no dependency information available

I am adding jar dependency in pom.xml file in maven project

<dependency>
   <groupId>org.json</groupId>
   <artifactId>json</artifactId>
   <version>20210118</version>
</dependency>

but i got error: The POM for org.json:json:jar:20210118 is missing, no dependency information available

I am trying add that dependency

Advertisement

Answer

Version you added is not available in maven repository, find proper version on this site. For example, this dependency should work:

<dependency>
    <groupId>org.json</groupId>
    <artifactId>json</artifactId>
    <version>20220924</version>
</dependency>
User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement