Fixed resource search issue in jar files.