/
Fixing duplicate plugin JAR files problem
Got feedback or spotted a mistake?

Leave a comment at the end of this page or email contact@krishagni.com

Fixing duplicate plugin JAR files problem

When upgrading to a 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 the presence of duplicate JAR files in the OpenSpecimen plugins directory. This is a bug in the OpenSpecimen installer and will be fixed in future release builds.

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.


Related content

How to change the default OpenSpecimen login page?
How to change the default OpenSpecimen login page?
Read with this
Technical problems and solutions
Technical problems and solutions
More like this
How to build OpenSpecimen plugin jar?
How to build OpenSpecimen plugin jar?
More like this
How to solve "Error creating bean with name 'importSpeForms' defined in ServletContext resource"?
How to solve "Error creating bean with name 'importSpeForms' defined in ServletContext resource"?
More like this
How to resolve permissible-values.xml changeset failed.
How to resolve permissible-values.xml changeset failed.
More like this
How to restore OpenSpecimen from older backup?
How to restore OpenSpecimen from older backup?
More like this
Got feedback or spotted a mistake?

Leave a comment at the end of this page or email contact@krishagni.com