These errors are usually down to a clash of jar files in your application's userlib folder. Newer versions may new methods that don't exist in previous versions which could cause problems.
To fix this, go into your userlib, and look for any duplicates you can see. Delete the duplicates with the lower version numbers, keeping only the version with the highest version number.
For example, if your userlib has jsoup-1.15.3.jar and jsoup-1.16.1.jar, you would delete 1.15.3 and keep 1.16.1.
I hope this helps. Good luck!
Hi Sabitha,
It seems you're having trouble with some custom Java in Mendix. Could you elaborate what you try to achieve, what you did you get this error and what you already tried to solve it?
According to the AI-generated summary:
The error message indicates missing packages and classes from the org.json.simple library.
The user needs to ensure they have the correct dependencies installed and configured properly.
Suggested Solution:
The user can try adding the following dependency to their pom.xml file:
<dependency> <groupId>org.json.simple</groupId> <artifactId>json-simple</artifactId> <version>1.1.1</version> </dependency>
Additionally, the user may need to adjust their import statements to match the correct package names.
Kind regards,
Johan