3.9K Star 18.4K Fork 5.3K

卓源软件 / JeeSite 4.x and 5.x

 / 详情

star 达梦数据库引入启动失败

待办的
创建于  
2023-12-16 14:38

是什么问题、该问题是怎么引起的?

达梦数据库引入启动失败

重现步骤、期望结果、截图、代码

这里贴你的代码块

  type: dameng
  driver: dm.jdbc.driver.DmDriver
  url: jdbc:dm://127.0.0.1:5236/CREATION_MANUAL_TEST?zeroDateTimeBehavior=convertToNull&useUnicode=true&characterEncoding=utf-8
  username: XDLI
  password: dmdba1234

实际结果、报错信息、截图

Description:

Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured.

Reason: Failed to determine a suitable driver class


Action:

Consider the following:
	If you want an embedded database (H2, HSQL or Derby), please put it on the classpath.
	If you have database settings to be loaded from a particular profile you may need to activate it (no profiles are currently active).

环境版本:

  • JDK版本:1.8、11、17
  • 浏览器版本:Chrome xx、Firefox xx、IE xx
  • 平台版本:JeeSite 4.x.x、5.x.x(pom.xml里查看)

评论 (6)

Vinson 创建了任务
		<!--达梦数据库-->
		<dependency>
			<groupId>com.dm</groupId>
			<artifactId>Dm8JdbcDriver</artifactId>
			<version>1.8</version>
			<scope>system</scope>
			<systemPath>${project.basedir}/lib/DmJdbcDriver18.jar</systemPath>
		</dependency>
Vinson 修改了标题
Vinson 修改了描述
    <dependency>
      <groupId>com.dameng</groupId>
      <artifactId>Dm8JdbcDriver18</artifactId>
      <version>8.1.1.49</version>
      <scope>runtime</scope>
    </dependency>

换这个依赖试下

### The error may exist in com/jeesite/modules/sys/dao/ModuleDao.java (best guess)
### The error may involve com.jeesite.modules.sys.dao.ModuleDao.findList
### The error occurred while executing a query
### SQL: SELECT a.status AS "status", a.create_by AS "createBy", a.create_date AS "createDate", a.update_by AS "updateBy", a.update_date AS "updateDate", a.remarks AS "remarks", a.module_code AS "moduleCode", a.module_name AS "moduleName", a.description AS "description", a.main_class_name AS "mainClassName", a.current_version AS "currentVersion", a.upgrade_info AS "upgradeInfo" FROM js_sys_module a WHERE a.status = ? ORDER BY a.update_date DESC
### Cause: dm.jdbc.driver.DMException: 第1 行附近出现错误:
无效的表或视图名[JS_SYS_MODULE]
; 第1 行附近出现错误:
无效的表或视图名[JS_SYS_MODULE]; nested exception is dm.jdbc.driver.DMException: 第1 行附近出现错误:
无效的表或视图名[JS_SYS_MODULE]

无效的表或视图名 确认存在吗

登录 后才可以发表评论

状态
负责人
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
参与者(2)
6732 thinkgem 1651893329
Java
1
https://gitee.com/thinkgem/jeesite4.git
git@gitee.com:thinkgem/jeesite4.git
thinkgem
jeesite4
JeeSite 4.x and 5.x

搜索帮助