cinaq / mendix-userlib-cleaner

A simple CLI tool that identifies duplicate JARS in a directory. It can remove them also if desired.
MIT License
21 stars 6 forks source link

Doesn't recognize jackson-databind-2.14.1 over jackson-databind-2.13.4.2 #13

Open devatnl opened 1 year ago

devatnl commented 1 year ago

Reproduce steps:

  1. Test project on Mendix 9.18.4
  2. Download JWT module from Marketplace (v3.2.2)
  3. Download SapAuthentication module (v2.1.9)
  4. Run Mendix Userlib Cleaner
  5. cleanJars ▶ WARN 00a Would remove file jackson-databind: ..\userlib\jackson-databind-2.14.1.jar (instead of jackson-databind-2.13.4.2.jar)

If the cleaner actually removes this jackson-databind-2.14.1.jar file, the project build will succeed but SapAuthentication fails on runtime with this error: 2023-04-08T08:04:12.323Z [APP/PROC/WEB] OUT CRITICAL - M2EE: An unhandled error occurred in the MxRuntime. 2023-04-08T08:04:12.323Z [APP/PROC/WEB] OUT CRITICAL - M2EE: java.lang.NoClassDefFoundError: com/fasterxml/jackson/core/util/JacksonFeature

xiwenc commented 1 year ago

@devatnl can you please attach the affected jars here as attachments? That would speed up the bugfix.

devatnl commented 1 year ago

jacskon-databind.zip