linux部署tomcat后,初始化链接数据库,导入数据失败。

如图所示,linux启动tomcat后,访问地址,然后就进行初始化设置,配置了服务器上的数据库,就显示导入数据失败,

com.fr.third.org.hibernate.exception.SQLGrammarException: could not execute statement at com.fr.third.org.hibernate.exception.internal.SQLExceptionTypeDelegate.convert(SQLExceptionTypeDelegate.java:63) at com.fr.third.org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:42) at com.fr.third.org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:111) at com.fr.third.org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:97) at com.fr.third.org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.executeUpdate(ResultSetReturnImpl.java:207) at com.fr.third.org.hibernate.hql.internal.ast.exec.BasicExecutor.doExecute(BasicExecutor.java:91) at com.fr.third.org.hibernate.hql.internal.ast.exec.BasicExecutor.execute(BasicExecutor.java:60) at com.fr.third.org.hibernate.hql.internal.ast.exec.DeleteExecutor.execute(DeleteExecutor.java:111) at com.fr.third.org.hibernate.hql.internal.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:429) at com.fr.third.org.hibernate.engine.query.spi.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:374) at com.fr.third.org.hibernate.internal.SessionImpl.executeUpdate(SessionImpl.java:1360) at com.fr.third.org.hibernate.internal.QueryImpl.executeUpdate(QueryImpl.java:102) at com.fr.decision.migration.manager.AbstractTransferManager.truncateTable(Unknown Source) at com.fr.decision.migration.manager.AbstractTransferManager.truncateTables(Unknown Source) at com.fr.decision.migration.manager.AbstractTransferManager.transfer(Unknown Source) at com.fr.decision.migration.manager.AbstractTransferManager.startTransfer(Unknown Source) at com.fr.decision.migration.MigrationContext$TransferManagerCollection.startTransfer(Unknown Source) at com.fr.decision.migration.MigrationContext$1.run(Unknown Source) at java.lang.Thread.run(Thread.java:748) Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'project.fine_conf_entity' doesn't exist at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at com.mysql.jdbc.Util.handleNewInstance(Util.java:403) at com.mysql.jdbc.Util.getInstance(Util.java:386) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:944) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3933) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3869) at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2524) at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2675) at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2465) at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1915) at com.mysql.jdbc.PreparedStatement.executeUpdateInternal(PreparedStatement.java:2136) at com.mysql.jdbc.PreparedStatement.executeUpdateInternal(PreparedStatement.java:2070) at com.mysql.jdbc.PreparedStatement.executeLargeUpdate(PreparedStatement.java:5187) at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2055) at com.fr.third.alibaba.druid.pool.DruidPooledPreparedStatement.executeUpdate(DruidPooledPreparedStatement.java:252) at com.fr.third.org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.executeUpdate(ResultSetReturnImpl.java:204) ... 14 more

1636528433(1).jpg

FineReport 九九九九九 发布于 2021-11-10 15:15
1min目标场景问卷 立即参与
回答问题
悬赏:3 F币 + 添加悬赏
提示:增加悬赏、完善问题、追问等操作,可使您的问题被置顶,并向所有关注者发送通知
共1回答
最佳回答
0
zsh331Lv8专家互助
发布于2021-11-10 15:22

外接数据库配置常见问题-https://help.fanruan.com/finereport/doc-view-2777.html

————————————————————

image.png

  • 2关注人数
  • 314浏览人数
  • 最后回答于:2021-11-10 15:22
    请选择关闭问题的原因
    确定 取消
    返回顶部