spring-boot - 使用 Grails 3 设置 Camunda
问题描述
我正在尝试使用 Grails 3 运行 Camunda 社区版。这是 Maven 坐标:
<dependency>
<groupId>org.camunda.bpm</groupId>
<artifactId>camunda-bom</artifactId>
<version>7.9.0</version>
<scope>import</scope>
<type>pom</type>
</dependency>
我尝试在 build.gradle 文件中像这样在 gradle 中翻译这个坐标:
dependencies {
compile "org.camunda.bpm:camunda-bom:7.9.0"
}
它编译但是当我尝试导入 camunda 类时,它没有看到它们。这是我的配置
Grails Version: 3.2.6
| Groovy Version: 2.4.7
| JVM Version: 1.8.0_181
Gradle 3.0
欢迎任何建议。谢谢你。
解决方案
您正在尝试导入 BOM 而不是简单的库,因此请尝试像 grails 一样导入它。检查http://docs.grails.org/latest/guide/commandLine.html了解如何操作
推荐阅读
- javascript - 对人类隐藏元素,但对机器人隐藏
- angular - Highcharts - Point Angular 12 类型上不存在属性值
- c# - 规则中的 FluentValidation 链式验证器接收缓存的实例和/或属性值?
- javascript - 如何使用 js 和 css 来修复我的页面变得更宽的视差
- r - 动态设置漂亮的刻度线和标签以包含数据限制
- android - Kotlin RecyclerView 没有附加适配器
- javascript - Javascript 的 Abortable Fetch 会关闭 HTTP 连接吗?
- javascript - 修复 nextjs 组件级 scss 问题
- python - Scape Selenium to Pandas - 列表问题
- amazon-web-services - Is there a way to batch delete AWS Athena queries