Package org.json.simple.x Does not Exist

Answered

When i Attempt to Build My Project i get 'package org.json.simple does not exist' as an Error, In the Normal View it does not mark any errors, only When Building, Help would be appreciated!

1
6 comments

What's the scope of the json dependency in your project?

Can you share a sample project to reproduce this issue at https://uploads.jetbrains.com?

0

Upload ID "2022_06_17_iubBqYrVaTmbcRMpFsJkn2"

Here is my pom.xml

https://paste.ofcode.org/vFYiQZHHFHAkqHp7uY8dhj

 

 

0

There is no upload with this ID.

pom.xml doesn't have json dependency.

0

The Upload is still stuck at 0%

 

I have the package Locally, do i need to add it to the pom.xml too?

0

For the Maven project you must have all the dependencies specified in pom.xml.

0

Ok It's Fixed!

Thank you for pointing out i forgot it in the Maven

 

<dependency>
    <groupId>com.googlecode.json-simple</groupId>
    <artifactId>json-simple</artifactId>
    <version>1.1.1</version>
</dependency>

0

Please sign in to leave a comment.