简体   繁体   English

在 spring 框架中集成 Camunda webapps

[英]Integrating Camunda webapps in spring framework

I setup Camunda in my Spring 3 project (Tomcat server) using this guide .我使用本指南在我的 Spring 3 项目(Tomcat 服务器)中设置了 Camunda。 I embedded the workflow engine in my project.我在我的项目中嵌入了工作流引擎。

However, I cannot access the cockpit when I go to the url http://localhost:8080/camunda/app/.但是,当我从 go 到 url http://localhost:8080/camunda/app/ 时,我无法访问驾驶舱。 I get a 404 error.我收到 404 错误。

I see that there is a dependency to be added in case of Spring boot according to this guide我看到根据本指南在 Spring 引导的情况下需要添加一个依赖项

But I see no such dependencies available for Spring.但我发现 Spring 没有此类依赖项。 Do we not get access to webapps while integrating Camunda with Spring?在将 Camunda 与 Spring 集成时,我们是否无法访问 webapps?

Also asked this question in the camunda form: https://forum.camunda.org/t/integrating-camunda-webapps-in-spring-framework/27661还以camunda形式提出了这个问题: https://forum.camunda.org/t/integrating-camunda-webapps-in-spring-framework/27661

You'll need the following dependency.您将需要以下依赖项。

<dependency>
  <groupId>org.camunda.bpm.webapp</groupId>
  <artifactId>camunda-webapp-webjar</artifactId>
</dependency>

Then ensure you have the required configurations.然后确保您具有所需的配置。 Refer the spring boot auto configuration set up here and the web app initialiser here .请参阅此处的 spring 引导自动配置设置和此处的 web 应用程序初始化程序。

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

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