Broadleaf管理员错误

时间:2018-01-23 18:58:56

标签: broadleaf-commerce

我遵循开发人员文档,在独立的tomcat,独立的solr和mysql上托管broadleaf commerce和broadleaf admin。我在tomcat上部署了ROOT.war和admin.war,我可以看到这些表是在mysql上成功创建的。问题是当我点击http://localhost:8080/admin/login时,我在tomcat日志中遇到错误,我无法访问登录页面。我无法确定问题的真正原因。我得到的错误是

org.springframework.dao.InvalidDataAccessResourceUsageException: 
Unknown column 'localeimpl0_.CREATED_BY' in 'field list'; SQL [n/a]; 
nested exception is org.hibernate.exception.SQLGrammarException: 
Unknown column 'localeimpl0_.CREATED_BY' in 'field list'
at org.springframework.orm.jpa.vendor.HibernateJpaDialect.convertHibernateAccessException(HibernateJpaDialect.java:261) ~[spring-orm-4.3.10.RELEASE.jar:4.3.10.RELEASE]
at org.springframework.orm.jpa.vendor.HibernateJpaDialect.translateExceptionIfPossible(HibernateJpaDialect.java:244) ~[spring-orm-4.3.10.RELEASE.jar:4.3.10.RELEASE]
at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.translateExceptionIfPossible(AbstractEntityManagerFactoryBean.java:488) ~[spring-orm-4.3.10.RELEASE.jar:4.3.10.RELEASE]
at org.springframework.dao.support.ChainedPersistenceExceptionTranslator.translateExceptionIfPossible(ChainedPersistenceExceptionTranslator.java:59) ~[spring-tx-4.3.10.RELEASE.jar:4.3.10.RELEASE]
at org.springframework.dao.support.DataAccessUtils.translateIfNecessary(DataAccessUtils.java:213) ~[spring-tx-4.3.10.RELEASE.jar:4.3.10.RELEASE]
at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:147) ~[spring-tx-4.3.10.RELEASE.jar:4.3.10.RELEASE]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[spring-aop-4.3.10.RELEASE.jar:4.3.10.RELEASE]
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:673) ~[spring-aop-4.3.10.RELEASE.jar:4.3.10.RELEASE]
at org.broadleafcommerce.common.locale.dao.LocaleDaoImpl$$EnhancerBySpringCGLIB$$ca72ef81.findDefaultLocale(<generated>) ~[broadleaf-common-5.2.2-GA.jar:na]
at org.broadleafcommerce.common.locale.service.LocaleServiceImpl.findDefaultLocale(LocaleServiceImpl.java:47) ~[broadleaf-common-5.2.2-GA.jar:na]
at org.broadleafcommerce.common.locale.service.LocaleServiceImpl$$FastClassBySpringCGLIB$$e9131ff4.invoke(<generated>) ~[broadleaf-common-5.2.2-GA.jar:na]

0 个答案:

没有答案