Got feedback or spotted a mistake?

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

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 12 Next »

ERROR org.springframework.web.context.ContextLoader- Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is org.hibernate.InvalidMappingException: Could not parse mapping document from input stream

Reason: Plugin folder has multiple version of the same plugin. E.g. 

Solution:

  1. Delete the older versions of the plugin jars. I.e. keep only one file per JAR.
  2. Restart Tomcat server.

Error: "Invocation of init method failed; nested exception is liquibase.exception.DatabaseException:" com.mysql.MysqlDataTruncation:  Data : Data too long for column 'AUTHOR' at row.

Reason: Due to failure of changeset "<changeSet id="vgaikwad" author="Add import rights to all roles having create, update and delete rights on resource" dbms="mysql">"

Solution:

  • Stop OpenSpecimen service (Tomcat)
  • Login to Database.
  • Fire this query: alter table databasechangelog change author author varchar(255);
  • Start OpenSpecimen service (Tomcat)
  • No labels