首页 > 解决方案 > 使用 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

欢迎任何建议。谢谢你。

标签: spring-bootgrailscamunda

解决方案


您正在尝试导入 BOM 而不是简单的库,因此请尝试像 grails 一样导入它。检查http://docs.grails.org/latest/guide/commandLine.html了解如何操作


推荐阅读