There doesn't seem to be an image attached. However, Java errors are usually due to having multiple versions of the same jar library in the project. Check your userlib and vendorlib folders to see if there are files with the same names but different version numbers. If there are, remove ones with the lowest numbers from the userlib folder.
Good luck!
Hi,
I am unable to see any image attached to it , Please check again. This issue happens when we are trying to use java libaraies which are already outdated or some changes are there with newer java version.
Attaching the images for references.
Under userlib, I could see only one version not multiple. before integrating the TcConnector I couldn't see any errors it works fine. After integrating it, I got error from community commons modules where it asked to update all the widgets. Is there any version compatibility matrix available for TcConnector and other dependency modules?
Hi SangitKumar,
Go to MX Studio Pro -> top menu item click on App & show direcory in app explorer.
Go to your directory
C:\Users\————————\TeamCenter-Mendix-Integration-main\javasource\communitycommons
check at the bottom there is one file name StringUtils.java double click on it.
Go to line number 231 & comment out the
return statement code.
//return IOUtils.toString(BOMinputstream.builder().———————)
and write this code
return null;
then save the code & run the mendix studio pro it will work fine.
This sounds like your app is using the wrong version of Commons IO.
Do you have two versions of commons-io-X.X.X.jar in your application?
There should be one in your vendorlib. Check if there is also one in userlib. If you have one in both, delete the one in userlib. It is probably also a good idea to reinstall Community Commons from the Marketplace after doing this.
Good luck!