megagao / production_ssm

这是一个SSM(Spring+SpringMVC+Mybatis)+jQuery EasyUI开发的ERP系统。
1.07k stars 610 forks source link

在tomcat运行报错 #26

Open cloudstaymoon opened 5 years ago

cloudstaymoon commented 5 years ago

报了很多这种错误: Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in file [D:\Program Files\Tomcat\apache-tomcat-8.0.35\webapps\production_ssm\WEB-INF\classes\spring\applicationContext-dao.xml]: Cannot resolve reference to bean 'dataSource' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in file [D:\Program Files\Tomcat\apache-tomcat-8.0.35\webapps\production_ssm\WEB-INF\classes\spring\applicationContext-dao.xml]: Invocation of init method failed; nested exception is java.sql.SQLException: Could not retrieve transation read-only status server

请问是哪里出现问题了呀?期待大佬的回复,谢谢啦~

konangolden commented 5 years ago

数据库没有配置好

a460720272 commented 5 years ago

我也是卡在这里了