麦粉社区
>
帖子详情

导入excel文件

数据挖掘 发表于 2022-3-9 15:32
发表于 2022-3-9 15:32:05

加载本地数据被禁用;需要在客户端和服务器端都启用,客户端和服务端分别在那启动??

发表于 2022-3-9 15:34:43
你说的怎样加载本地数据呀?这样的么,还是其他方式?https://wiki.smartbi.com.cn/pages/viewpage.action?pageId=75697191

回复

使用道具 举报

发表于 2022-3-9 15:42:25
5338862285a55dfead.png
  •   茶语
    这个参考这个来打开呢 https://wiki.smartbi.com.cn/pages/viewpage.action?pageId=76677683
    2022-3-9 16:13| 回复

回复

使用道具 举报

发表于 2022-3-9 15:47:31
是在这个环境上导入本地execl文件么?
https://demo.smartbi.com.cn/smartbi/vision/index.jsp

回复

使用道具 举报

发表于 2022-3-9 15:52:34
点击一下弹出的提示窗口的那个“显示栈信息”,然后把显示出来的内容copy导txt里面,上传上来。我看看能看得懂不。

顺便把smartbi的版本也发上来看下。
https://wiki.smartbi.com.cn/pages/viewpage.action?pageId=76679842

回复

使用道具 举报

发表于 2022-3-9 15:59:38

com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Loading local data is disabled; this must be enabled on both the client and server sides


at sun.reflect.GeneratedConstructorAccessor192.newInstance(Unknown Source)


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:425)


at com.mysql.jdbc.Util.getInstance(Util.java:408)


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.StatementImpl.executeUpdateInternal(StatementImpl.java:1536)


at com.mysql.jdbc.StatementImpl.executeLargeUpdate(StatementImpl.java:2585)


at com.mysql.jdbc.StatementImpl.executeUpdate(StatementImpl.java:1464)


at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:225)


at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:225)


at smartbi.log.PreparedStatementWarp.executeUpdate(PreparedStatementWarp.java:325)


at smartbi.datapackage.importer.BaseImporter.insertDataInternal(BaseImporter.java:816)


at smartbi.datapackage.importer.MysqlImporter.insertDataInternal(MysqlImporter.java:91)


at smartbi.datapackage.importer.BaseImporter.insertData(BaseImporter.java:762)


at smartbi.datapackage.importer.BaseImporter.doImport(BaseImporter.java:167)


at smartbi.datapackage.service.DataPackageService.insertData(DataPackageService.java:836)


at smartbi.datapackage.DataPackageServlet.processRequest(DataPackageServlet.java:222)


at smartbi.datapackage.DataPackageServlet.service(DataPackageServlet.java:106)


at javax.servlet.http.HttpServlet.service(HttpServlet.java:733)


at smartbi.extension.Extension.processMatchServlet(Extension.java:474)


at smartbi.extension.ExtensionFilter.processInternal(ExtensionFilter.java:218)


at smartbi.extension.ExtensionFilter.access$000(ExtensionFilter.java:45)


at smartbi.extension.ExtensionFilter$2.doFilter(ExtensionFilter.java:166)


at smartbi.extension.ExtensionFilter$1.doFilter(ExtensionFilter.java:156)


at smartbi.framework.rmi.TransactionFilter.doFilter(Smartbi:50)


at smartbi.extension.ExtensionFilter$1.doFilter(ExtensionFilter.java:156)


at smartbi.security.patch.PatchFilter.doFilter(PatchFilter.java:70)


at smartbi.extension.ExtensionFilter$1.doFilter(ExtensionFilter.java:156)


at smartbi.weixin.filter.WxLoginFilter.doFilter(WxLoginFilter.java:216)


at smartbi.extension.ExtensionFilter$1.doFilter(ExtensionFilter.java:156)


at smartbi.extension.ExtensionFilter.doFilterInternal(ExtensionFilter.java:179)


at smartbi.extension.ExtensionFilter.doFilter(ExtensionFilter.java:68)


at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)


at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)


at smartbi.freequery.filter.TraceFilter.doFilter(TraceFilter.java:61)


at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)


at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)


at smartbi.framework.RedisSessionFilter.doFilter(Smartbi:125)


at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)


at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)


at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)


at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)


at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:543)


at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)


at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)


at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:690)


at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)


at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)


at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:615)


at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)


at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:818)


at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1626)


at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)


at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)


at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)


at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)


at java.lang.Thread.run(Thread.java:748)

回复

使用道具 举报

发表于 2022-3-9 16:06:26
这是数据库抛出来的错误,是你的数据库不支持哦。https://blog.csdn.net/qq_33191599/article/details/107311781
把关键的错误信息去网上搜一下
回复

使用道具 举报

高级模式
B Color Image Link Quote Code Smilies
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

11回帖数 0关注人数 1904浏览人数
最后回复于:2022-3-9 16:06
快速回复 返回顶部 返回列表