简体   繁体   English

使用 Grails 3 设置 Camunda

[英]Setup Camunda with Grails 3

I am trying to run Camunda Community Edition with Grails 3. This is the Maven coordinate:我正在尝试使用 Grails 3 运行 Camunda Community Edition。这是 Maven 坐标:

<dependency>
  <groupId>org.camunda.bpm</groupId>
  <artifactId>camunda-bom</artifactId>
  <version>7.9.0</version>
  <scope>import</scope>
  <type>pom</type>
</dependency>

I try to translate this cordinate in gradle like this in the build.gradle file:我尝试在 build.gradle 文件中像这样在 gradle 中翻译这个坐标:

dependencies {    
    compile "org.camunda.bpm:camunda-bom:7.9.0"  
}

It compile but when I try to import camunda classes, it didn't see them.它可以编译,但是当我尝试导入 camunda 类时,它没有看到它们。 Here is my configuration这是我的配置

 Grails Version: 3.2.6
| Groovy Version: 2.4.7
| JVM Version: 1.8.0_181
Gradle 3.0

Any suggestion is welcome.欢迎任何建议。 Thank you.谢谢你。

You are trying to import a BOM not a simple library so try to import it as grails do.您正在尝试导入一个 BOM 而不是一个简单的库,所以尝试像 grails 一样导入它。 Check http://docs.grails.org/latest/guide/commandLine.html to see how to do it检查http://docs.grails.org/latest/guide/commandLine.html以了解如何操作

Camunda doesn't support grails runtime. Camunda 不支持 grails 运行时。 For supported runtime, please refer this page https://docs.camunda.org/manual/7.15/introduction/supported-environments/有关支持的运行时,请参阅此页面https://docs.camunda.org/manual/7.15/introduction/supported-environments/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM