修改日期 | 修改人 | 备注 |
2020-07-02 13:23:01[当前版本] | 梁 | 1 |
2020-06-18 14:43:03 | 柯 | CREAT |
Tomcat下localhost文件中报错:
严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'ctrlMenu': Unsatisfied dependency expressed through field 'publishComponent': Error creating bean with name 'publishComponent' defined in com.yumstone.weborder.component.WebConfig: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.yumstone.weborder.component.PublishComponent]: Factory method 'publishComponent' threw exception; nested exception is org.springframework.dao.EmptyResultDataAccessException: Incorrect result size: expected 1, actual 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'publishComponent' defined in com.yumstone.weborder.component.WebConfig: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.yumstone.weborder.component.PublishComponent]: Factory method 'publishComponent' threw exception; nested exception is org.springframework.dao.EmptyResultDataAccessException: Incorrect result size: expected 1, actual 0
导致Java无限通无法正常使用。
原因可能是酒店基本参数里,系统需要调用的基本参数缺失。
请检查酒店基本参数,尤其需要注意服务费、加工费、税金等系统用科目。