datacleaner / DataCleaner

The premier open source Data Quality solution
GNU Lesser General Public License v3.0
595 stars 180 forks source link

Warning on startup: ChangeAwareObjectInputStream - Could not resolve class of name #1875

Open ghost opened 3 years ago

ghost commented 3 years ago

I have added a custom data store. It works fine but on startup I always get this warning:


WARN  17:04:43 ChangeAwareObjectInputStream - Could not resolve class of name '<mydatastore>'
WARN  17:04:43 UserPreferencesImpl - User preferences file version does not match application version: failed to read class descriptor

I placed the jar file with the custom data store in the extensions directory. Starting the JVM with debug output shows no errors related to my jar file. To me it seems that classes mentioned in the conf.xml file are loaded before the extensions are loaded?

...
WARN  16:56:39 ChangeAwareObjectInputStream - Could not resolve class of name '<mydatastore>'
WARN  16:56:39 UserPreferencesImpl - User preferences file version does not match application version: failed to read class descriptor
...
[Loaded org.datacleaner.extensions.ExtensionReader from file:/C:/.../DataCleaner-5.7.0/DataCleaner/lib/DataCleaner-engine-core-5.7.0.jar]
...
[Loaded <mydatastore> from file:/C:/.../DataCleaner-5.7.0/DataCleaner/extensions/extension.jar]

Is there any way I can tell DataCleaner to add my jar to the class path? I already tried to add the extensions to the class path by modifying the launch script but the warning persisted.