补全一点代码:
03-02 12:09:19 INFO startUpgrade(:2468) - Start Upgrade
03-02 12:09:19 DEBUG doUpgrade(smartbix.dao.upgrade.RepositoryUpgradeHandler:80) - [smartbix.dao, smartbix.datamining, smartbix.dataprocess, smartbix.dataset, smartbix.datasource, smartbix.fileresource, smartbix.material, smartbix.page, smartbix.smartbi.service, smartbix.smartbi]
03-02 12:09:19 INFO upgrade(smartbix.dao.upgrade.UpgradeTask:774) - upgrade smartbix.page.upgrade.UpgradeTask_1
03-02 12:09:19 DEBUG createTable(smartbix.page.upgrade.UpgradeTask_1:584) - create table tx_maparea(c_id varchar(255) binary not null,c_name varchar(255) binary not null,c_namemap varchar(255) binary null,c_longitude double null,c_latitude double null,c_parentid varchar(255) binary null,c_filetype varchar(255) binary null,c_filepath varchar(255) binary null,c_filecontent longtext null,primary key(c_id)) ENGINE = InnoDB
03-02 12:09:19 FATAL addOperationLog(smartbi.repository.RepositoryUpgradeHelper:385) - Upgraded module 'smartbix.page' fail from UpgradeTask_1 to 2
03-02 12:09:19 ERROR (smartbi.config.BIConfigService - SQL错误 -> Table 'tx_maparea' already exists
smartbix.SmartbiXException: SQL错误 -> Table 'tx_maparea' already exists
at smartbix.SmartbiXException.create(SmartbiXException.java:58) ~[?:?]
at smartbix.dao.upgrade.RepositoryUpgradeHandler.doUpgrade(RepositoryUpgradeHandler.java:244) ~[?:?]
at smartbix.smartbi.SmartbiXConfigHandler$1.beforeUpgrade(SmartbiXConfigHandler.java:170) ~[?:?]
at smartbi.repository.RepositoryUpgradeHelper.doUpgrade(RepositoryUpgradeHelper.java:459) ~[smartbi-DAO.jar:?]
at smartbi.config.BIConfigService.startUpgrade(BIConfigService.java:2472) [smartbi-BIConfig.jar:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_131]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_131]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_131]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_131]
at smartbi.framework.rmi.ClientService.execute(Smartbi:119) [smartbi-Framework.jar:?]
at smartbi.framework.rmi.RMIServlet.processExecute(RMIServlet.java:231) [smartbi-FrameworkRMI.jar:?]
at smartbi.framework.rmi.RMIServlet.doPost(RMIServlet.java:169) [smartbi-FrameworkRMI.jar:?]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:661) [servlet-api.jar:?]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:742) [servlet-api.jar:?]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) [catalina.jar:8.5.31]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:8.5.31]
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) [tomcat-websocket.jar:8.5.31]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [catalina.jar:8.5.31]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:8.5.31]
at smartbi.extension.ExtensionFilter$2.doFilter(ExtensionFilter.java:176) [smartbi-ExtensionManager.jar:?]
at smartbi.extension.ExtensionFilter$1.doFilter(ExtensionFilter.java:158) [smartbi-ExtensionManager.jar:?]
at smartbi.security.patch.PatchFilter.doFilter(PatchFilter.java:73) [classes/:?]
at smartbi.extension.ExtensionFilter$1.doFilter(ExtensionFilter.java:158) [smartbi-ExtensionManager.jar:?]
at smartbi.extension.ExtensionFilter.doFilterInternal(ExtensionFilter.java:189) [smartbi-ExtensionManager.jar:?]
at smartbi.extension.ExtensionFilter.doFilter(ExtensionFilter.java:70) [smartbi-ExtensionManager.jar:?]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [catalina.jar:8.5.31]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:8.5.31]
at smartbi.framework.rmi.TransactionFilter.doFilter(Smartbi:50) [smartbi-Framework.jar:?]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [catalina.jar:8.5.31]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:8.5.31]
at smartbi.freequery.filter.GZIPFilter.doFilter(GZIPFilter.java:211) [smartbi-FreeQuery.jar:?]
at smartbi.freequery.filter.Filter.doFilter(Filter.java:36) [smartbi-FreeQuery.jar:?]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [catalina.jar:8.5.31]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:8.5.31]
at smartbi.freequery.filter.CheckIsLoggedFilter.doFilter(CheckIsLoggedFilter.java:211) [smartbi-FreeQuery.jar:?]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [catalina.jar:8.5.31]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:8.5.31]
at smartbi.freequery.filter.TraceFilter.doFilter(TraceFilter.java:56) [smartbi-FreeQuery.jar:?]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [catalina.jar:8.5.31]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:8.5.31]
at smartbi.framework.RedisSessionFilter.doFilter(Smartbi:125) [smartbi-Framework.jar:?]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [catalina.jar:8.5.31]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:8.5.31]
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198) [catalina.jar:8.5.31]
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) [catalina.jar:8.5.31]
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:496) [catalina.jar:8.5.31]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140) [catalina.jar:8.5.31]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81) [catalina.jar:8.5.31]
at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:650) [catalina.jar:8.5.31]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87) [catalina.jar:8.5.31]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342) [catalina.jar:8.5.31]
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:803) [tomcat-coyote.jar:8.5.31]
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) [tomcat-coyote.jar:8.5.31]
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:790) [tomcat-coyote.jar:8.5.31]
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1468) [tomcat-coyote.jar:8.5.31]
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) [tomcat-coyote.jar:8.5.31]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_131]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_131]
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-util.jar:8.5.31]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_131]
Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'tx_maparea' already exists
at sun.reflect.GeneratedConstructorAccessor134.newInstance(Unknown Source) ~[?:?]
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_131]
at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[?:1.8.0_131]
at com.mysql.jdbc.Util.handleNewInstance(Util.java:425) ~[_JDBC_mysql-connector-java-5.1.48.jar:5.1.48]
at com.mysql.jdbc.Util.getInstance(Util.java:408) ~[_JDBC_mysql-connector-java-5.1.48.jar:5.1.48]
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:944) ~[_JDBC_mysql-connector-java-5.1.48.jar:5.1.48]
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3933) ~[_JDBC_mysql-connector-java-5.1.48.jar:5.1.48]
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3869) ~[_JDBC_mysql-connector-java-5.1.48.jar:5.1.48]
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2524) ~[_JDBC_mysql-connector-java-5.1.48.jar:5.1.48]
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2675) ~[_JDBC_mysql-connector-java-5.1.48.jar:5.1.48]
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2465) ~[_JDBC_mysql-connector-java-5.1.48.jar:5.1.48]
at com.mysql.jdbc.StatementImpl.executeUpdateInternal(StatementImpl.java:1536) ~[_JDBC_mysql-connector-java-5.1.48.jar:5.1.48]
at com.mysql.jdbc.StatementImpl.executeLargeUpdate(StatementImpl.java:2585) ~[_JDBC_mysql-connector-java-5.1.48.jar:5.1.48]
at com.mysql.jdbc.StatementImpl.executeUpdate(StatementImpl.java:1464) ~[_JDBC_mysql-connector-java-5.1.48.jar:5.1.48]
at smartbix.dao.upgrade.UpgradeTask.createTable(UpgradeTask.java:586) ~[?:?]
at smartbix.page.upgrade.UpgradeTask_1.upgradeInternal(UpgradeTask_1.java:17) ~[?:?]
at smartbix.dao.upgrade.UpgradeTask.upgrade(UpgradeTask.java:775) ~[?:?]
at smartbix.dao.upgrade.RepositoryUpgradeHandler.doUpgrade(RepositoryUpgradeHandler.java:184) ~[?:?]
... 58 more