|
楼主 |
发表于 2013-7-30 11:14:39
|
显示全部楼层
ecoolper 发表于 2013-7-30 10:58
编译有错误,java代码有错误,设置为源码路径,自己找错误
Caused by: com.justep.model.exception.ModelException: 执行ksql:select QYJBXX.JJHY_SP as 名称, QYJBXX.ZZJGDM_WGH as 组织机构代码, QYJBXX.FRDB_WGH as 法人, QYJBXX.LXRDH_WGH as 联系电话, QYJBXX.QYDZ_WGH as 地址 from QYJBXX QYJBXX limit 0,0时出错!
at com.justep.system.data.impl.TableUtilsImplement.ksqlSelect(Unknown Source)
at com.justep.system.data.impl.TableUtilsImplement.ksqlSelect(Unknown Source)
at com.justep.system.data.impl.TableUtilsImplement.ksqlSelect(Unknown Source)
at com.justep.system.data.KSQL.select(Unknown Source)
at SJKB.gridSelect(SJKB.java:25)
... 26 more
Caused by: com.justep.system.ksql.matcher.TokenMatchException: BXX.JJHY_SP as ^^名称, QYJBXX.ZZJ 中未找到需要的token, 位置:25 需要下列之一:<Identifier>
at com.justep.system.ksql.token.TokenManager.matchToken(Unknown Source)
at com.justep.system.ksql.token.TokenManager.match(Unknown Source)
at com.justep.system.ksql.parser.AbstractParser.selectColumn(Unknown Source)
at com.justep.system.ksql.parser.AbstractParser.selectListNode(Unknown Source)
at com.justep.system.ksql.parser.AbstractParser.selectSentenceNode(Unknown Source)
at com.justep.system.ksql.parser.QueryParser.start(Unknown Source)
at com.justep.system.ksql.parser.QueryParser.start(Unknown Source)
at com.justep.system.ksql.parser.AbstractParser.parse(Unknown Source)
... 31 more
2013-07-30 11:13:21 excute Action error:<?xml version="1.0" encoding="UTF-8"?>
<action direct-execute="false" process="/report/SJKB/process/SJKB/sJKBProcess" activity="mainActivity" action-flag="__action_0__" executor="" execute-context="" name="gridSelectAction"><parameters xmlns:xbiz="http://www.justep.com/xbiz#"><parameter name="sql"><xbiz:simple type="http://www.w3.org/2001/XMLSchema#String"><![CDATA[select QYJBXX.JJHY_SP as 名称, QYJBXX.ZZJGDM_WGH as 组织机构代码, QYJBXX.FRDB_WGH as 法人, QYJBXX.LXRDH_WGH as 联系电话, QYJBXX.QYDZ_WGH as 地址 from QYJBXX QYJBXX ]]></xbiz:simple></parameter><parameter name="offset"><xbiz:simple type="http://www.w3.org/2001/XMLSchema#Integer">0</xbiz:simple></parameter><parameter name="limit"><xbiz:simple type="http://www.w3.org/2001/XMLSchema#Integer">0</xbiz:simple></parameter></parameters></action>
com.justep.model.exception.ModelException: java.lang.reflect.InvocationTargetException
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: 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)
... 21 more
Caused by: com.justep.model.exception.ModelException: 执行ksql:select QYJBXX.JJHY_SP as 名称, QYJBXX.ZZJGDM_WGH as 组织机构代码, QYJBXX.FRDB_WGH as 法人, QYJBXX.LXRDH_WGH as 联系电话, QYJBXX.QYDZ_WGH as 地址 from QYJBXX QYJBXX limit 0,0时出错!
at com.justep.system.data.impl.TableUtilsImplement.ksqlSelect(Unknown Source)
at com.justep.system.data.impl.TableUtilsImplement.ksqlSelect(Unknown Source)
at com.justep.system.data.impl.TableUtilsImplement.ksqlSelect(Unknown Source)
at com.justep.system.data.KSQL.select(Unknown Source)
at SJKB.gridSelect(SJKB.java:25)
... 26 more
Caused by: com.justep.system.ksql.matcher.TokenMatchException: BXX.JJHY_SP as ^^名称, QYJBXX.ZZJ 中未找到需要的token, 位置:25 需要下列之一:<Identifier>
at com.justep.system.ksql.token.TokenManager.matchToken(Unknown Source)
at com.justep.system.ksql.token.TokenManager.match(Unknown Source)
at com.justep.system.ksql.parser.AbstractParser.selectColumn(Unknown Source)
at com.justep.system.ksql.parser.AbstractParser.selectListNode(Unknown Source)
at com.justep.system.ksql.parser.AbstractParser.selectSentenceNode(Unknown Source)
at com.justep.system.ksql.parser.QueryParser.start(Unknown Source)
at com.justep.system.ksql.parser.QueryParser.start(Unknown Source)
at com.justep.system.ksql.parser.AbstractParser.parse(Unknown Source)
... 31 more
这个的意思是不支持列的别名的吧? |
|