activiti工作流,这个地址http://localhost:8080/WfFrame/private/wf/model/list出错
2015-11-03 15:08:59,107 [DEBUG][org.activiti.engine.impl.interceptor.LogInterceptor] - --- starting ModelQueryImpl --------------------------------------------------------
2015-11-03 15:08:59,109 [DEBUG][org.apache.ibatis.transaction.jdbc.JdbcTransaction] - Opening JDBC Connection
2015-11-03 15:08:59,109 [DEBUG][org.apache.ibatis.transaction.jdbc.JdbcTransaction] - Setting autocommit to false on JDBC Connection [com.alibaba.druid.proxy.jdbc.ConnectionProxyImpl@4ec7fa8c]
2015-11-03 15:08:59,109 [DEBUG][org.activiti.engine.impl.persistence.entity.ModelEntity.selectModelsByQueryCriteria] - ==> Preparing: select distinct RES.* from ACT_RE_MODEL RES order by order by RES.CREATE_TIME_ desc LIMIT ? OFFSET ?
2015-11-03 15:08:59,109 [DEBUG][org.activiti.engine.impl.persistence.entity.ModelEntity.selectModelsByQueryCriteria] - ==> Parameters: 10(Integer), 0(Integer)
2015-11-03 15:08:59,112 [DEBUG][org.activiti.engine.impl.interceptor.CommandContext] - Error while closing command context
org.apache.ibatis.exceptions.PersistenceException:
Error querying database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'order by RES.CREATE_TIME_ desc
LIMIT 10 OFFSET 0' at line 6
The error may exist in org/activiti/db/mapping/entity/Model.xml
The error may involve org.activiti.engine.impl.persistence.entity.ModelEntity.selectModelsByQueryCriteria-Inline
The error occurred while setting parameters
SQL: select distinct RES.* from ACT_RE_MODEL RES order by order by RES.CREATE_TIME_ desc LIMIT ? OFFSET ?
Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'order by RES.CREATE_TIME_ desc
LIMIT 10 OFFSET 0' at line 6
at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:30)
at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:122)