INFO org.springframework.context.support.PropertySourcesPlaceholderConfigurer (172) - Loading properties file from class path resource [config.properties] ERROR com.alibaba.druid.pool.DruidAbstractDataSource (873) - maxIdle is deprecated INFO org.hibernate.annotations.common.Version (66) - HCANN000001: Hibernate Commons Annotations {4.0.5.Final} INFO org.hibernate.Version (54) - HHH000412: Hibernate Core {4.3.6.Final} INFO org.hibernate.cfg.Environment (239) - HHH000206: hibernate.properties not found INFO org.hibernate.cfg.Environment (346) - HHH000021: Bytecode provider name : javassist INFO com.alibaba.druid.pool.DruidDataSource (450) - {dataSource-1} inited INFO org.hibernate.dialect.Dialect (145) - HHH000400: Using dialect: org.hibernate.dialect.MySQL5InnoDBDialect INFO org.hibernate.engine.transaction.internal.TransactionFactoryInitiator (62) - HHH000399: Using default transaction strategy (direct JDBC transactions) INFO org.hibernate.hql.internal.ast.ASTQueryTranslatorFactory (47) - HHH000397: Using ASTQueryTranslatorFactory INFO org.hibernate.validator.internal.util.Version (27) - HV000001: Hibernate Validator 5.1.3.Final WARN org.springframework.beans.factory.support.DefaultListableBeanFactory (1427) - Bean creation exception on FactoryBean type check: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'zoneDAO' defined in file [ xxx ZoneDAO.class]: Cannot create inner bean '(inner bean)#7bbeab41' of type [xxx .dao.HibernateSQLHandler] while setting bean property 'proxy'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)#7bbeab41#14': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.hibernate.SessionFactory cn.com.paic.pacloud.common.dao.HibernateSQLHandler.sessionFactory; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [spring-hibernate.xml]: Invocation of init method failed; nested exception is org.hibernate.MappingException: Could not get constructor for org.hibernate.persister.entity.SingleTableEntityPersister INFO org.hibernate.dialect.Dialect (145) - HHH000400: Using dialect: org.hibernate.dialect.MySQL5InnoDBDialect
這個錯誤有多是字段未標識@Transient致使java