fix issue on generate javadoc in case when template is not found