# Flowable 7.0.0 is not autodeploying BPMNs

**URL:** <https://forum.flowable.org/t/flowable-7-0-0-is-not-autodeploying-bpmns/11007>\
**Category:** Uncategorized\
**Created:** [November 8, 2023, 9:09pm UTC](https://forum.flowable.org/t/flowable-7-0-0-is-not-autodeploying-bpmns/11007 "2023-11-08T21:09:55Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![vcarri202\_comcast](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/vcarri202_comcast/32/3310_2.png) [@vcarri202\_comcast](https://forum.flowable.org/u/vcarri202_comcast)\
**Post date:** [November 8, 2023, 9:09pm UTC](https://forum.flowable.org/t/flowable-7-0-0-is-not-autodeploying-bpmns/11007/1 "2023-11-08T21:09:55Z")

</div>

I am trying to upgrade to Spring Boot 3.1.3 and Java 17 and Flowable 7.0.0. When I build the application and look in the target folder I don’t see the BPMN under /classes.

In the logs I see this:  
o.f.s.b.ProcessEngineAutoConfiguration : No deployment resources were found for autodeployment

![image](https://canada1.discourse-cdn.com/flex035/uploads/flowable/original/2X/b/b4e58668ec44a00c000acfe2c8bbcddc573dd7c0.png)

Is this a bug or I am missing something. I can see the BPMN in the target folder with previous version 6.8.0. Thank you.

---

<div class="post-metadata">

**Author:** ![vcarri202\_comcast](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/vcarri202_comcast/32/3310_2.png) [@vcarri202\_comcast](https://forum.flowable.org/u/vcarri202_comcast)\
**Post date:** [November 10, 2023, 7:59pm UTC](https://forum.flowable.org/t/flowable-7-0-0-is-not-autodeploying-bpmns/11007/2 "2023-11-10T19:59:01Z")

</div>

@filiphr Can you please assist here. This is a blocker for me and I can’t move forward. Thank you.

I can’t even deploy it manually. I get this error:

2023-11-10T12:55:49.089-07:00 INFO 46563 — [nio-8082-exec-4] c.c.web.rest.controller.AdminResource : Going to deploy new process definition NDWUserRecertificationProcess with extension processes/NDWUserRecertificationProcess.bpmn20.xml  
2023-11-10T12:55:49.104-07:00 ERROR 46563 — [nio-8082-exec-4] c.c.web.rest.controller.AdminResource : Error deploying process definition resource ‘processes/NDWUserRecertificationProcess.bpmn20.xml’ not found  
2023-11-10T12:55:49.105-07:00 ERROR 46563 — [nio-8082-exec-4] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path threw exception [Request processing failed: com.comcast.exceptions.FlowableApiError: resource ‘processes/NDWUserRecertificationProcess.bpmn20.xml’ not found] with root cause

com.comcast.exceptions.FlowableApiError: resource ‘processes/NDWUserRecertificationProcess.bpmn20.xml’ not found

```auto
@Autowired
private ProcessEngine processEngine;

var repositoryService = processEngine.getRepositoryService();
String nameWithExt = "processes/" + xmlName + ".bpmn20.xml";
Deployment deployment = repositoryService.createDeployment().addClasspathResource(nameWithExt).deploy();

```

---

<div class="post-metadata">

**Author:** ![joram](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/joram/32/26_2.png) [@joram](https://forum.flowable.org/u/joram)\
**Post date:** [November 11, 2023, 2:31pm UTC](https://forum.flowable.org/t/flowable-7-0-0-is-not-autodeploying-bpmns/11007/3 "2023-11-11T14:31:05Z")

</div>

> [@vcarri202\_comcast](#):
>
> When I build the application and look in the target folder I don’t see the BPMN under /classes.

That sounds like a Maven problem rather than a Flowable one. Flowable has no impact into how your project gets compiled.

> [@vcarri202\_comcast](#):
>
> com.comcast.exceptions.FlowableApiError: resource ‘processes/NDWUserRecertificationProcess.bpmn20.xml’ not found

Can you share a minimal project setup with us, so we can try it on our side?

> [@vcarri202\_comcast](#):
>
> @filiphr Can you please assist here. This is a blocker for me and I can’t move forward. Thank you.

No need to ping anyone directly. This is a community forum, anyone in the community can help.

---

<div class="post-metadata">

**Author:** ![vcarri202\_comcast](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/vcarri202_comcast/32/3310_2.png) [@vcarri202\_comcast](https://forum.flowable.org/u/vcarri202_comcast)\
**Post date:** [November 11, 2023, 8:45pm UTC](https://forum.flowable.org/t/flowable-7-0-0-is-not-autodeploying-bpmns/11007/4 "2023-11-11T20:45:22Z")

</div>

Thank you so much for your response. I re-generated the spring boot application and it came with application.properties. I left it the way it was and it was able to autodeploy the BPMN. In the pom I wanted to use application.yml and that was causing the issue.

I was doing this:

```auto
<build>
        <defaultGoal>spring-boot:run</defaultGoal>
		<plugins>
			<plugin>
				<groupId>org.springframework.boot</groupId>
				<artifactId>spring-boot-maven-plugin</artifactId>
			</plugin>
		</plugins>
        <resources>
            <resource>
                <filtering>true</filtering>
                <directory>src/main/resources</directory>
                **<includes>**
 **<include>application.yml</include>**
 **</includes>**
            </resource>
        </resources>
	</build>

```

Removing the “includes” section fixed the issue. Thank you again. The ticket can be closed.

---

<div class="post-metadata">

**Author:** ![joram](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/joram/32/26_2.png) [@joram](https://forum.flowable.org/u/joram)\
**Post date:** [November 14, 2023, 11:56am UTC](https://forum.flowable.org/t/flowable-7-0-0-is-not-autodeploying-bpmns/11007/5 "2023-11-14T11:56:24Z")

</div>

Happy to hear it worked.

> [@vcarri202\_comcast](#):
>
> The ticket can be closed.

This is a community forum, not much can be closed here 😉
