|
BEX5,安装教程操作,
1、下载源码,解压
2、启动MySQL数据库.bat 正常
3、启动BeX5运行平台.bat 正常
4、访问http://127.0.0.1:8080/
提示查询用户出错,查看日志:
- Caused by: com.justep.exception.BusinessException: 编码: JUSTEP150210; 提示: 执行KSQL出错, KSQL: select case when UPPER(p.sLoginName)=:name then 1 when UPPER(p.sCode)=:name then 2 else 3 end as odr , mo, mo.sFID, mo.sFName, mo.sFCode, p.* from SA_OPPerson p join SA_OPOrg mo ON p.sMainOrgID = mo where (UPPER(p.sLoginName)=:name or UPPER(p.sCode)=:name) and p.sValidState=1 order by odr
- --> sql:
- --> binds: []
- at com.justep.exception.BusinessException.create(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.impl.TableUtilsImplement.ksqlSelect(Unknown Source)
- at com.justep.system.data.KSQL.select(Unknown Source)
- ... 36 more
- Caused by: com.justep.exception.BusinessException: 编码: JUSTEP150055; 提示: 在模块"/system/data"下获取数据库连接出错
- at com.justep.exception.BusinessException.create(Unknown Source)
- at com.justep.system.data.Transaction.getConnection(Unknown Source)
- at com.justep.system.data.Transaction.getConnection(Unknown Source)
- at com.justep.model.ModelUtils.getConnection(Unknown Source)
- ... 40 more
- Caused by: org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Io 异常: The Network Adapter could not establish the connection)
- at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1549)
- at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1388)
- at org.apache.tomcat.dbcp.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044)
- at com.justep.system.data.Transaction.getConnectionWithJndi(Unknown Source)
- ... 43 more
复制代码 请帮忙解决,感谢!
|
|