备库搭建后,进入备库报错psql: FATAL: the database system is starting up 原因:备库配置文件没有hot_standby = on master -bash-4.1$ ps aux |grep post postgres 89707 0.0 0.0 43196188 2872 ? Ss 00:15 0:27 postgres: wal sender process rep 10.40.55.69(26717)…
报错: You are trying to add a non-nullable field 'BookName' to BookInfo without a default; we can't do that (the database needs something to populate existing rows). Please select a fix: 1) Provide a one-off default now (will be set on all existing row…
报错信息:Disconnected from the target VM, address: '127.0.0.1:59770', transport: 'socket' -Dmaven.multiModuleProjectDirectory system propery is not set. Check $M2_HOME environment variable and mvn script match.把idea升级到最新版本或者把maven降级到3.1.1就好了…
先看具体日志: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name of URL [jar:-SNAPSHOT.jar!/BOOT-INF/c…
在编写一个Hibernate4集成spring4的小demo的时候出现了该错误: org.hibernate.HibernateException: No Session found for current thread at org.springframework.orm.hibernate4.SpringSessionContext.currentSession(SpringSessionContext.java:106) at org.hibernate.internal.SessionF…