I am getting following exception when loading the Spring container. The stack trace is as follows. It was working fine but don't know what happened. Can anyone gave me solutions for this?
org.apache.lucene.index.CorruptIndexException: failed to locate current segments_N
As indicated, it seems that your index has become corrupted. A couple possible causes might be not closing resources correctly, or forcefully interrupting Lucene while it was writing to the index.
You can use CheckIndex
to get more information about the state of the index, and attempt to fix it.