简体   繁体   English

Camunda forms 在任何带有 Spring 框架的 WAR 中都不起作用

[英]Camunda forms not working in any WAR with Spring Framework

I can't make ANY project with Spring Framework (NOT Boot) work with the embedded forms.我无法使用 Spring 框架(非启动)使任何项目与嵌入式 forms 一起工作。 I always get the "Form failure: The context path is either empty or not defined."我总是收到“表单失败:上下文路径为空或未定义”。 error.错误。

I tried moving the files from /resources/static/forms to webapp/forms , and the Camunda Engine still throws this error when trying to load them.我尝试将文件从/resources/static/forms移动到webapp/forms ,并且 Camunda 引擎在尝试加载它们时仍然抛出此错误。

Is there any way to make this work?有什么办法可以使这项工作? Spring Boot WAR files deployed to a shared engine present the same problem. Spring 部署到共享引擎的引导 WAR 文件存在同样的问题。 Spring Framework the same problem. Spring 框架同样的问题。 And I followed the installation procedure provided in the Camunda documentation at:我遵循了 Camunda 文档中提供的安装程序:

https://docs.camunda.org/get-started/spring/ https://docs.camunda.org/get-started/spring/

Do you have an (empty) META-INF/processes.xml file in you war?你有一个(空的) META-INF/processes.xml文件吗? This marks a process archive and is required to bind deployed resources to your process application.这标记了一个流程存档,并且需要将部署的资源绑定到您的流程应用程序。

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

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