Incoming email for Spring Boot

I want to use this plugin in my application Spring Boot.
I set in pom file :

org.camunda.bpm.extension
camunda-bpm-mail-core
1.1.0

I set my mail config in standard file application.properties, it is normal ?

When i deploy to standart distribution .war to Tomcat - it is Ok.

When i run my application for Spring Boot i see error :
2019-10-21 11:17:34.898 ERROR 27216 — [ main] org.camunda.bpm.engine.context : ENGINE-16004 Exception while closing command context: ENGINE-09005 Could not parse BPMN process. Errors:

  • One of the attributes ‘class’, ‘delegateExpression’, ‘type’, or ‘expression’ is mandatory on serviceTask. | bpmn/pizzaOrderProcess.bpmn | line 8 | column 100
  • One of the attributes ‘class’, ‘delegateExpression’, ‘type’, or ‘expression’ is mandatory on serviceTask. | bpmn/pizzaOrderProcess.bpmn | line 44 | column 102

Looks like you have a service task with a missing implementation. Did you check that?

implementation Connector, is it right?

org.camunda.bpm camunda-engine-plugin-connect com.sun.mail javax.mail 1.5.5
	<!-- https://mvnrepository.com/artifact/org.slf4j/slf4j-api -->
	<dependency>
		<groupId>org.slf4j</groupId>
		<artifactId>slf4j-api</artifactId>
		<version>1.7.21</version>
	</dependency>

	<!-- https://mvnrepository.com/artifact/org.camunda.connect/camunda-connect-core -->
	<dependency>
		<groupId>org.camunda.connect</groupId>
		<artifactId>camunda-connect-core</artifactId>
		<version>1.1.0</version>
	</dependency>
	<dependency>
		<groupId>org.camunda.bpm.extension</groupId>
		<artifactId>camunda-bpm-mail-core</artifactId>
		<version>1.1.0</version>
	</dependency>

Set in folder resources file camunda.cfg.xml

<?xml version="1.0" encoding="UTF-8"?>

But does not work. maybe you need to call this config file?

I put a project on github
can anyone help?

github link to your spring boot project?