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!
Please sign in to leave a comment.
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?
Upload ID "2022_06_17_iubBqYrVaTmbcRMpFsJkn2"
Here is my pom.xml
https://paste.ofcode.org/vFYiQZHHFHAkqHp7uY8dhj
There is no upload with this ID.
pom.xml doesn't have json dependency.
The Upload is still stuck at 0%
I have the package Locally, do i need to add it to the pom.xml too?
For the Maven project you must have all the dependencies specified in pom.xml.
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>