起步软件技术论坛
搜索
 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1599|回复: 6

[结贴] 导入数据库报错

[复制链接]

26

主题

123

帖子

326

积分

中级会员

Rank: 3Rank: 3

积分
326
发表于 2016-12-1 08:56:11 | 显示全部楼层 |阅读模式
版本: X5.2.7 小版本号:
数据库: MS SQLServer 服务器操作系统: Windows 应用服务器:
客户端操作系统: Windows 7 浏览器: 其它(帖子中说明)
导入数据库时报错    JUSTEP170002, ,导入excel失败! 前台报错:java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:592)
        at com.justep.system.action.Engine.invokeActions(Native Method)
        at com.justep.system.action.Engine.invokeActions(Unknown Source)
        at com.justep.business.server.BusinessServer.doAction(Unknown Source)
        at com.justep.business.server.BusinessServer.doExcute(Unknown Source)
        at com.justep.business.server.BusinessServer.excute(Unknown Source)
        at com.justep.business.server.BusinessServerServlet.execService(Unknown Source)
        at com.justep.business.server.BusinessServerServlet.service(Unknown Source)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at com.justep.x.bs.BusinessServerServlet.service(Unknown Source)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
        at java.lang.Thread.run(Thread.java:595)
Caused by: com.justep.excel.ExcelException: 编码: JUSTEP170002; 提示:
        at com.justep.excel.ExcelException.create(ExcelException.java:28)
        at com.justep.excel.ImportConceptConfig.(ImportConceptConfig.java:21)
        at com.justep.excel.ImportConfig.(ImportConfig.java:15)
        at com.justep.excel.ImportGenerator.loadMapping(ImportGenerator.java:85)
        at com.justep.excel.ImportGenerator.init(ImportGenerator.java:59)
        at com.justep.excel.ImportGenerator.generate(ImportGenerator.java:109)
        at Excel.importExcel(Excel.java:88)
        ... 26 more

at (http://127.0.0.1:8080/x5/$v3aaaa8db5c1b4009aa6d15ca65ce21a8/base/base.js?language=zh_CN:1)


后台报错:
2016-12-01 08:50:55 开始-WINDOW生成中间文件: /UI/hyoa/tonggaoguanli/process/tongbao/mainActivity.w
2016-12-01 08:50:56 结束-WINDOW生成中间文件: /UI/hyoa/tonggaoguanli/process/tongbao/mainActivity.w
2016-12-01 08:50:56 开始-中间文件生成缓存文件: /UI/hyoa/tonggaoguanli/process/tongbao/mainActivity.w
2016-12-01 08:50:56 结束-中间文件生成缓存文件: /UI/hyoa/tonggaoguanli/process/tongbao/mainActivity.w
2016-12-01 08:50:58 开始-WINDOW生成中间文件: /UI/zhiliangsjtj/zhilianggctj/process/sjtjdr/mainActivity.w
2016-12-01 08:50:58 结束-WINDOW生成中间文件: /UI/zhiliangsjtj/zhilianggctj/process/sjtjdr/mainActivity.w
2016-12-01 08:50:58 开始-中间文件生成缓存文件: /UI/zhiliangsjtj/zhilianggctj/process/sjtjdr/mainActivity.w
2016-12-01 08:50:58 结束-中间文件生成缓存文件: /UI/zhiliangsjtj/zhilianggctj/process/sjtjdr/mainActivity.w
2016-12-01 08:51:06 action:<?xml version="1.0" encoding="UTF-8"?>
<action direct-execute="false" process="/SA/excel/system/systemProcess" activity="mainActivity" action-flag="__action_0__" executor="9A197AF96274448580148FD76A63D8D2" execute-context="" name="importExcel"><parameters xmlns:xbiz="http://www.justep.com/xbiz#"><parameter name="config"><xbiz:xml><config use-default="true" to="DB" excel-file="E:\X5.2.7\apache-tomcat\temp\9f293f1f-bec2-496a-8444-3ff993424295.tmp" mapping-file="E:\X5.2.7\apache-tomcat\temp\30f3a2d5-b955-49b2-ba56-905003b786b8.tmp"><data><concept name="ZH_ZLGCTJ"><relation name="version" type="Integer"/><relation name="fWLBM" type="String"/><relation name="fWLMC" type="String"/><relation name="fBM" type="String"/><relation name="fSCRQ" type="Date"/><relation name="fTRSL" type="Float"/><relation name="fBHGSL" type="Float"/><relation name="fZPWT" type="Float"/><relation name="fGZJ" type="Float"/><relation name="fLY" type="Float"/><relation name="fK" type="Float"/><relation name="fLJBHG" type="Float"/><relation name="fXH" type="Float"/><relation name="fDL" type="Float"/><relation name="fduanlu" type="Float"/><relation name="fLH" type="Float"/><relation name="fSH" type="Float"/><relation name="fZHLS" type="Float"/><relation name="fZZLS" type="Float"/><relation name="fQT" type="Float"/><relation name="fCZZ" type="String"/><relation name="fKH" type="String"/><relation name="fBZ" type="String"/><relation name="fLRRQ" type="Date"/><relation name="fLRR" type="String"/><relation name="fLB" type="String"/><relation name="fBY1" type="String"/><relation name="fBY2" type="String"/><relation name="fBY3" type="String"/><relation name="fBY4" type="String"/><relation name="fBY5" type="String"/></concept></data></config></xbiz:xml></parameter><parameter name="createActionParam"><xbiz:map><item key="process"><xbiz:simple type="http://www.w3.org/2001/XMLSchema#String"><![CDATA[/zhiliangsjtj/zhilianggctj/process/sjtjdr/sjtjdrProcess]]></xbiz:simple></item><item key="activity"><xbiz:simple type="http://www.w3.org/2001/XMLSchema#String"><![CDATA[mainActivity]]></xbiz:simple></item><item key="action"><xbiz:simple type="http://www.w3.org/2001/XMLSchema#String"><![CDATA[createZH_ZLGCTJAction]]></xbiz:simple></item><item key="parameters"><xbiz:map><item key="table"><xbiz:table><rows><userdata name="concept">ZH_ZLGCTJ</userdata><userdata name="relations">ZH_ZLGCTJ.version,ZH_ZLGCTJ.fWLBM,ZH_ZLGCTJ.fWLMC,ZH_ZLGCTJ.fBM,ZH_ZLGCTJ.fSCRQ,ZH_ZLGCTJ.fTRSL,ZH_ZLGCTJ.fBHGSL,ZH_ZLGCTJ.fZPWT,ZH_ZLGCTJ.fGZJ,ZH_ZLGCTJ.fLY,ZH_ZLGCTJ.fK,ZH_ZLGCTJ.fLJBHG,ZH_ZLGCTJ.fXH,ZH_ZLGCTJ.fDL,ZH_ZLGCTJ.fduanlu,ZH_ZLGCTJ.fLH,ZH_ZLGCTJ.fSH,ZH_ZLGCTJ.fZHLS,ZH_ZLGCTJ.fZZLS,ZH_ZLGCTJ.fQT,ZH_ZLGCTJ.fCZZ,ZH_ZLGCTJ.fKH,ZH_ZLGCTJ.fBZ,ZH_ZLGCTJ.fLRRQ,ZH_ZLGCTJ.fLRR,ZH_ZLGCTJ.fLB,ZH_ZLGCTJ.fBY1,ZH_ZLGCTJ.fBY2,ZH_ZLGCTJ.fBY3,ZH_ZLGCTJ.fBY4,ZH_ZLGCTJ.fBY5</userdata><userdata name="model">/zhiliangsjtj/zhilianggctj/data</userdata><userdata name="concept-alias">ZH_ZLGCTJ</userdata><userdata name="id-column-name">ZH_ZLGCTJ</userdata><userdata name="id-column-type">String</userdata><userdata name="id-column-define">ZH_ZLGCTJ</userdata><userdata name="relation-alias">version,fWLBM,fWLMC,fBM,fSCRQ,fTRSL,fBHGSL,fZPWT,fGZJ,fLY,fK,fLJBHG,fXH,fDL,fduanlu,fLH,fSH,fZHLS,fZZLS,fQT,fCZZ,fKH,fBZ,fLRRQ,fLRR,fLB,fBY1,fBY2,fBY3,fBY4,fBY5</userdata><userdata name="relation-types">Integer,String,String,String,Date,Float,Float,Float,Float,Float,Float,Float,Float,Float,Float,Float,Float,Float,Float,Float,String,String,String,Date,String,String,String,String,String,String,String</userdata><userdata name="update-mode">whereVersion</userdata></rows></xbiz:table></item><item key="defaultValues"><xbiz:map/></item></xbiz:map></item></xbiz:map></parameter><parameter name="saveActionParam"><xbiz:map><item key="process"><xbiz:simple type="http://www.w3.org/2001/XMLSchema#String"><![CDATA[/zhiliangsjtj/zhilianggctj/process/sjtjdr/sjtjdrProcess]]></xbiz:simple></item><item key="activity"><xbiz:simple type="http://www.w3.org/2001/XMLSchema#String"><![CDATA[mainActivity]]></xbiz:simple></item><item key="action"><xbiz:simple type="http://www.w3.org/2001/XMLSchema#String"><![CDATA[saveZH_ZLGCTJAction]]></xbiz:simple></item><item key="parameters"><xbiz:map><item key="table"><xbiz:table><rows><userdata name="concept">ZH_ZLGCTJ</userdata><userdata name="relations">ZH_ZLGCTJ.version,ZH_ZLGCTJ.fWLBM,ZH_ZLGCTJ.fWLMC,ZH_ZLGCTJ.fBM,ZH_ZLGCTJ.fSCRQ,ZH_ZLGCTJ.fTRSL,ZH_ZLGCTJ.fBHGSL,ZH_ZLGCTJ.fZPWT,ZH_ZLGCTJ.fGZJ,ZH_ZLGCTJ.fLY,ZH_ZLGCTJ.fK,ZH_ZLGCTJ.fLJBHG,ZH_ZLGCTJ.fXH,ZH_ZLGCTJ.fDL,ZH_ZLGCTJ.fduanlu,ZH_ZLGCTJ.fLH,ZH_ZLGCTJ.fSH,ZH_ZLGCTJ.fZHLS,ZH_ZLGCTJ.fZZLS,ZH_ZLGCTJ.fQT,ZH_ZLGCTJ.fCZZ,ZH_ZLGCTJ.fKH,ZH_ZLGCTJ.fBZ,ZH_ZLGCTJ.fLRRQ,ZH_ZLGCTJ.fLRR,ZH_ZLGCTJ.fLB,ZH_ZLGCTJ.fBY1,ZH_ZLGCTJ.fBY2,ZH_ZLGCTJ.fBY3,ZH_ZLGCTJ.fBY4,ZH_ZLGCTJ.fBY5</userdata><userdata name="model">/zhiliangsjtj/zhilianggctj/data</userdata><userdata name="concept-alias">ZH_ZLGCTJ</userdata><userdata name="id-column-name">ZH_ZLGCTJ</userdata><userdata name="id-column-type">String</userdata><userdata name="id-column-define">ZH_ZLGCTJ</userdata><userdata name="relation-alias">version,fWLBM,fWLMC,fBM,fSCRQ,fTRSL,fBHGSL,fZPWT,fGZJ,fLY,fK,fLJBHG,fXH,fDL,fduanlu,fLH,fSH,fZHLS,fZZLS,fQT,fCZZ,fKH,fBZ,fLRRQ,fLRR,fLB,fBY1,fBY2,fBY3,fBY4,fBY5</userdata><userdata name="relation-types">Integer,String,String,String,Date,Float,Float,Float,Float,Float,Float,Float,Float,Float,Float,Float,Float,Float,Float,Float,String,String,String,Date,String,String,String,String,String,String,String</userdata><userdata name="update-mode">whereVersion</userdata></rows></xbiz:table></item></xbiz:map></item></xbiz:map></parameter></parameters></action>
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:592)
at com.justep.system.action.Engine.invokeActions(Native Method)
at com.justep.system.action.Engine.invokeActions(Unknown Source)
at com.justep.business.server.BusinessServer.doAction(Unknown Source)
at com.justep.business.server.BusinessServer.doExcute(Unknown Source)
at com.justep.business.server.BusinessServer.excute(Unknown Source)
at com.justep.business.server.BusinessServerServlet.execService(Unknown Source)
at com.justep.business.server.BusinessServerServlet.service(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at com.justep.x.bs.BusinessServerServlet.service(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:595)
Caused by: com.justep.excel.ExcelException: 编码: JUSTEP170002; 提示:
at com.justep.excel.ExcelException.create(ExcelException.java:28)
at com.justep.excel.ImportConceptConfig.<init>(ImportConceptConfig.java:21)
at com.justep.excel.ImportConfig.<init>(ImportConfig.java:15)
at com.justep.excel.ImportGenerator.loadMapping(ImportGenerator.java:85)
at com.justep.excel.ImportGenerator.init(ImportGenerator.java:59)
at com.justep.excel.ImportGenerator.generate(ImportGenerator.java:109)
at Excel.importExcel(Excel.java:88)
... 26 more





1

主题

1831

帖子

821

积分

高级会员

Rank: 4

积分
821
QQ
发表于 2016-12-1 09:37:15 | 显示全部楼层
回复 支持 反对

使用道具 举报

26

主题

123

帖子

326

积分

中级会员

Rank: 3Rank: 3

积分
326
 楼主| 发表于 2016-12-1 10:18:36 | 显示全部楼层
mapping文件中的概念名是对的
<?xml version="1.0" encoding="UTF-8"?>
<mapping>
        <default-config>
                <sheet all="false" start="1" end="1"/>
                <row all="all"/>
        </default-config>
        <concept name="ZH_ZLGCTJ">
<!--                <primary-key>-->
<!--                        <key-value cell-number="1"/>-->
<!--                </primary-key>-->
                <relation name="fWLBM" cell-number="1"/>
                <relation name="fWLMC" cell-number="2"/>
                <relation name="fBM" cell-number="3"/>
                <relation name="fSCRQ" value-type="date" cell-number="4"/>
                <relation name="fTRSL" value-type="Float" cell-number="5"/>
                <relation name="fBHGSL" value-type="Float" cell-number="6"/>               
                <relation name="fZPWT" value-type="Float" cell-number="7"/>
                <relation name="fGZJ" value-type="Float" cell-number="8"/>
        <relation name="fQT" value-type="Float" cell-number="9"/>
        <relation name="fCZZ"  cell-number="10"/>
        <relation name="fKH"  cell-number="11"/>
        <relation name="fBZ"  cell-number="12"/>
        <relation name="fLRRQ" value-type="date" cell-number="13"/>
        <relation name="fLRR"  cell-number="14"/>
        <relation name="fLB"  cell-number="15"/>
        </concept>
</mapping>
回复 支持 反对

使用道具 举报

91

主题

13万

帖子

3万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
36067
发表于 2016-12-1 11:30:57 | 显示全部楼层
excel中有表头吧,
<row all="all"/>改为
<row all="false" start="2" end="99999"/>
远程的联系方法QQ1392416607,添加好友时,需在备注里注明其论坛名字及ID,公司等信息
发远程时同时也发一下帖子地址,方便了解要解决的问题  WeX5教程  WeX5下载



如按照该方法解决,请及时跟帖,便于版主结贴
回复 支持 反对

使用道具 举报

26

主题

123

帖子

326

积分

中级会员

Rank: 3Rank: 3

积分
326
 楼主| 发表于 2016-12-1 13:48:52 | 显示全部楼层
改成从第2行开始 还是报错
2016-12-01 13:47:57 开始-WINDOW生成中间文件: /UI/hyoa/tonggaoguanli/process/tongbao/mainActivity.w
2016-12-01 13:47:59 结束-WINDOW生成中间文件: /UI/hyoa/tonggaoguanli/process/tongbao/mainActivity.w
2016-12-01 13:47:59 开始-中间文件生成缓存文件: /UI/hyoa/tonggaoguanli/process/tongbao/mainActivity.w
2016-12-01 13:47:59 结束-中间文件生成缓存文件: /UI/hyoa/tonggaoguanli/process/tongbao/mainActivity.w
2016-12-01 13:48:00 开始-WINDOW生成中间文件: /UI/zhiliangsjtj/zhilianggctj/process/sjtjdr/mainActivity.w
2016-12-01 13:48:01 结束-WINDOW生成中间文件: /UI/zhiliangsjtj/zhilianggctj/process/sjtjdr/mainActivity.w
2016-12-01 13:48:01 开始-中间文件生成缓存文件: /UI/zhiliangsjtj/zhilianggctj/process/sjtjdr/mainActivity.w
2016-12-01 13:48:01 结束-中间文件生成缓存文件: /UI/zhiliangsjtj/zhilianggctj/process/sjtjdr/mainActivity.w
2016-12-01 13:48:14 action:<?xml version="1.0" encoding="UTF-8"?>
<action direct-execute="false" process="/SA/excel/system/systemProcess" activity="mainActivity" action-flag="__action_0__" executor="9A197AF96274448580148FD76A63D8D2" execute-context="" name="importExcel"><parameters xmlns:xbiz="http://www.justep.com/xbiz#"><parameter name="config"><xbiz:xml><config use-default="true" to="DB" excel-file="E:\X5.2.7\apache-tomcat\temp\72ea84ee-097f-4f04-a07a-daa32b72ddc2.tmp" mapping-file="E:\X5.2.7\apache-tomcat\temp\04ed6138-df6a-4020-86dc-8fbfbd76138d.tmp"><data><concept name="ZH_ZLGCTJ"><relation name="version" type="Integer"/><relation name="fWLBM" type="String"/><relation name="fWLMC" type="String"/><relation name="fBM" type="String"/><relation name="fSCRQ" type="Date"/><relation name="fTRSL" type="Float"/><relation name="fBHGSL" type="Float"/><relation name="fZPWT" type="Float"/><relation name="fGZJ" type="Float"/><relation name="fLY" type="Float"/><relation name="fK" type="Float"/><relation name="fLJBHG" type="Float"/><relation name="fXH" type="Float"/><relation name="fDL" type="Float"/><relation name="fduanlu" type="Float"/><relation name="fLH" type="Float"/><relation name="fSH" type="Float"/><relation name="fZHLS" type="Float"/><relation name="fZZLS" type="Float"/><relation name="fQT" type="Float"/><relation name="fCZZ" type="String"/><relation name="fKH" type="String"/><relation name="fBZ" type="String"/><relation name="fLRRQ" type="Date"/><relation name="fLRR" type="String"/><relation name="fLB" type="String"/><relation name="fBY1" type="String"/><relation name="fBY2" type="String"/><relation name="fBY3" type="String"/><relation name="fBY4" type="String"/><relation name="fBY5" type="String"/></concept></data></config></xbiz:xml></parameter><parameter name="createActionParam"><xbiz:map><item key="process"><xbiz:simple type="http://www.w3.org/2001/XMLSchema#String"><![CDATA[/zhiliangsjtj/zhilianggctj/process/sjtjdr/sjtjdrProcess]]></xbiz:simple></item><item key="activity"><xbiz:simple type="http://www.w3.org/2001/XMLSchema#String"><![CDATA[mainActivity]]></xbiz:simple></item><item key="action"><xbiz:simple type="http://www.w3.org/2001/XMLSchema#String"><![CDATA[createZH_ZLGCTJAction]]></xbiz:simple></item><item key="parameters"><xbiz:map><item key="table"><xbiz:table><rows><userdata name="concept">ZH_ZLGCTJ</userdata><userdata name="relations">ZH_ZLGCTJ.version,ZH_ZLGCTJ.fWLBM,ZH_ZLGCTJ.fWLMC,ZH_ZLGCTJ.fBM,ZH_ZLGCTJ.fSCRQ,ZH_ZLGCTJ.fTRSL,ZH_ZLGCTJ.fBHGSL,ZH_ZLGCTJ.fZPWT,ZH_ZLGCTJ.fGZJ,ZH_ZLGCTJ.fLY,ZH_ZLGCTJ.fK,ZH_ZLGCTJ.fLJBHG,ZH_ZLGCTJ.fXH,ZH_ZLGCTJ.fDL,ZH_ZLGCTJ.fduanlu,ZH_ZLGCTJ.fLH,ZH_ZLGCTJ.fSH,ZH_ZLGCTJ.fZHLS,ZH_ZLGCTJ.fZZLS,ZH_ZLGCTJ.fQT,ZH_ZLGCTJ.fCZZ,ZH_ZLGCTJ.fKH,ZH_ZLGCTJ.fBZ,ZH_ZLGCTJ.fLRRQ,ZH_ZLGCTJ.fLRR,ZH_ZLGCTJ.fLB,ZH_ZLGCTJ.fBY1,ZH_ZLGCTJ.fBY2,ZH_ZLGCTJ.fBY3,ZH_ZLGCTJ.fBY4,ZH_ZLGCTJ.fBY5</userdata><userdata name="model">/zhiliangsjtj/zhilianggctj/data</userdata><userdata name="concept-alias">ZH_ZLGCTJ</userdata><userdata name="id-column-name">ZH_ZLGCTJ</userdata><userdata name="id-column-type">String</userdata><userdata name="id-column-define">ZH_ZLGCTJ</userdata><userdata name="relation-alias">version,fWLBM,fWLMC,fBM,fSCRQ,fTRSL,fBHGSL,fZPWT,fGZJ,fLY,fK,fLJBHG,fXH,fDL,fduanlu,fLH,fSH,fZHLS,fZZLS,fQT,fCZZ,fKH,fBZ,fLRRQ,fLRR,fLB,fBY1,fBY2,fBY3,fBY4,fBY5</userdata><userdata name="relation-types">Integer,String,String,String,Date,Float,Float,Float,Float,Float,Float,Float,Float,Float,Float,Float,Float,Float,Float,Float,String,String,String,Date,String,String,String,String,String,String,String</userdata><userdata name="update-mode">whereVersion</userdata></rows></xbiz:table></item><item key="defaultValues"><xbiz:map/></item></xbiz:map></item></xbiz:map></parameter><parameter name="saveActionParam"><xbiz:map><item key="process"><xbiz:simple type="http://www.w3.org/2001/XMLSchema#String"><![CDATA[/zhiliangsjtj/zhilianggctj/process/sjtjdr/sjtjdrProcess]]></xbiz:simple></item><item key="activity"><xbiz:simple type="http://www.w3.org/2001/XMLSchema#String"><![CDATA[mainActivity]]></xbiz:simple></item><item key="action"><xbiz:simple type="http://www.w3.org/2001/XMLSchema#String"><![CDATA[saveZH_ZLGCTJAction]]></xbiz:simple></item><item key="parameters"><xbiz:map><item key="table"><xbiz:table><rows><userdata name="concept">ZH_ZLGCTJ</userdata><userdata name="relations">ZH_ZLGCTJ.version,ZH_ZLGCTJ.fWLBM,ZH_ZLGCTJ.fWLMC,ZH_ZLGCTJ.fBM,ZH_ZLGCTJ.fSCRQ,ZH_ZLGCTJ.fTRSL,ZH_ZLGCTJ.fBHGSL,ZH_ZLGCTJ.fZPWT,ZH_ZLGCTJ.fGZJ,ZH_ZLGCTJ.fLY,ZH_ZLGCTJ.fK,ZH_ZLGCTJ.fLJBHG,ZH_ZLGCTJ.fXH,ZH_ZLGCTJ.fDL,ZH_ZLGCTJ.fduanlu,ZH_ZLGCTJ.fLH,ZH_ZLGCTJ.fSH,ZH_ZLGCTJ.fZHLS,ZH_ZLGCTJ.fZZLS,ZH_ZLGCTJ.fQT,ZH_ZLGCTJ.fCZZ,ZH_ZLGCTJ.fKH,ZH_ZLGCTJ.fBZ,ZH_ZLGCTJ.fLRRQ,ZH_ZLGCTJ.fLRR,ZH_ZLGCTJ.fLB,ZH_ZLGCTJ.fBY1,ZH_ZLGCTJ.fBY2,ZH_ZLGCTJ.fBY3,ZH_ZLGCTJ.fBY4,ZH_ZLGCTJ.fBY5</userdata><userdata name="model">/zhiliangsjtj/zhilianggctj/data</userdata><userdata name="concept-alias">ZH_ZLGCTJ</userdata><userdata name="id-column-name">ZH_ZLGCTJ</userdata><userdata name="id-column-type">String</userdata><userdata name="id-column-define">ZH_ZLGCTJ</userdata><userdata name="relation-alias">version,fWLBM,fWLMC,fBM,fSCRQ,fTRSL,fBHGSL,fZPWT,fGZJ,fLY,fK,fLJBHG,fXH,fDL,fduanlu,fLH,fSH,fZHLS,fZZLS,fQT,fCZZ,fKH,fBZ,fLRRQ,fLRR,fLB,fBY1,fBY2,fBY3,fBY4,fBY5</userdata><userdata name="relation-types">Integer,String,String,String,Date,Float,Float,Float,Float,Float,Float,Float,Float,Float,Float,Float,Float,Float,Float,Float,String,String,String,Date,String,String,String,String,String,String,String</userdata><userdata name="update-mode">whereVersion</userdata></rows></xbiz:table></item></xbiz:map></item></xbiz:map></parameter></parameters></action>
java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:592)
        at com.justep.system.action.Engine.invokeActions(Native Method)
        at com.justep.system.action.Engine.invokeActions(Unknown Source)
        at com.justep.business.server.BusinessServer.doAction(Unknown Source)
        at com.justep.business.server.BusinessServer.doExcute(Unknown Source)
        at com.justep.business.server.BusinessServer.excute(Unknown Source)
        at com.justep.business.server.BusinessServerServlet.execService(Unknown Source)
        at com.justep.business.server.BusinessServerServlet.service(Unknown Source)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at com.justep.x.bs.BusinessServerServlet.service(Unknown Source)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
        at java.lang.Thread.run(Thread.java:595)
Caused by: com.justep.excel.ExcelException: 编码: JUSTEP170007; 提示:
        at com.justep.excel.ExcelException.create(ExcelException.java:32)
        at com.justep.excel.ImportGenerator.loadMapping(ImportGenerator.java:83)
        at com.justep.excel.ImportGenerator.init(ImportGenerator.java:59)
        at com.justep.excel.ImportGenerator.generate(ImportGenerator.java:109)
        at Excel.importExcel(Excel.java:88)
        ... 26 more
Caused by: org.dom4j.DocumentException: Invalid byte 2 of 2-byte UTF-8 sequence. Nested exception: Invalid byte 2 of 2-byte UTF-8 sequence.
        at org.dom4j.io.SAXReader.read(SAXReader.java:484)
        at org.dom4j.io.SAXReader.read(SAXReader.java:321)
        at com.justep.excel.ImportGenerator.loadMapping(ImportGenerator.java:81)
        ... 29 more
回复 支持 反对

使用道具 举报

91

主题

13万

帖子

3万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
36067
发表于 2016-12-1 14:17:25 | 显示全部楼层
org.dom4j.DocumentException: Invalid byte 2 of 2-byte UTF-8 sequence. Nested exception: Invalid byte 2 of 2-byte UTF-8 sequence.
字符集不正确

平台需要的是utf-8的
确认mapping文件的字符集是否正确
远程的联系方法QQ1392416607,添加好友时,需在备注里注明其论坛名字及ID,公司等信息
发远程时同时也发一下帖子地址,方便了解要解决的问题  WeX5教程  WeX5下载



如按照该方法解决,请及时跟帖,便于版主结贴
回复 支持 反对

使用道具 举报

26

主题

123

帖子

326

积分

中级会员

Rank: 3Rank: 3

积分
326
 楼主| 发表于 2016-12-3 08:26:43 | 显示全部楼层
已经解决了,谢谢
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|X3技术论坛|Justep Inc.    

GMT+8, 2024-11-24 07:17 , Processed in 0.098160 second(s), 25 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表