报错
org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘lineController’: Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘planMgtServiceImpl’: Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘stockBizImpl’: Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘stockRepository’: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: Validation failed for query for method public abstract int com.simpletour.repository.inventory.StockRepository.updateByUnionKey(java.lang.Integer,com.simpletour.commons.data.entity.key.UnionKey)!
仔细看最下面有
org.hibernate.hql.internal.ast.QuerySyntaxException: com.simpletour.domain.inventory.Stock is not mapped