Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

During fresh install, you might face this error:

XXX

This is due to duplicate plugins with different file names in the plugins foldersWhen upgrading to newer version of OpenSpecimen, you might encounter any of the following errors to name a few:

  1. org.hibernate.DuplicateMappingException: Duplicate query mapping
  2. org.hibernate.InvalidMappingException: Could not parse mapping document from input stream
  3. org.hibernate.DuplicateMappingException: Duplicate collection role mapping

These errors occur because of presence of duplicate JAR files in the OpenSpecimen plugins directory. This is a bug in OpenSpecimen that installer and will be fixed in future versionrelease builds.

To fix this problem, do the following:

...

Follow the below steps to solve the problem:

  1. Change directory to the OpenSpecimen plugins directory.
  2. Delete all the older versions of the plugin JAR files whilst retaining the JAR files of higher versions or whose version matches that of OpenSpecimen.
  3. Restart OpenSpecimen.