I want to use camunda RPA bridge, but when i run it through following command
java -jar camunda-bpm-rpa-bridge.jar
I got the following error
Description:
Field vendorProperties in org.camunda.bpm.rpa.bridge.externaltask.ExternalTaskAdapter required a bean of type ‘org.camunda.bpm.rpa.bridge.properties.RpaVendorProperties’ that could not be found.
The injection point has the following annotations:
- @org.springframework.beans.factory.annotation.Autowired(required=true)
Action:
Consider defining a bean of type ‘org.camunda.bpm.rpa.bridge.properties.RpaVendorProperties’ in your configuration.
It had been in the following link with no response.
This error occurs, if no vendor is specified in the application.yml of the RPA bridge.
The configuration expects properties for either UI-Path or Automation-Anywhere.
Can you please double-check, whether your configuration is correct?
Hi @StephanHaarmann
Thanks for the response, I have set rpa vendor in application.yaml file.
Here is the application.yaml file and the error log : application.yaml (4.1 KB)
2022-08-21 13:43:49.572 INFO 2524 — [ main] org.camunda.bpm.rpa.bridge.Bridge : Starting Bridge v1.1.7 using Java 11.0.8 on MRD-PC with PID 2524 (C:\Camunda\camunda-bpm-rpa-bridge-1.1.7\camunda-bpm-rpa-bridge.jar started by Lenovo in C:\Camunda\camunda-bpm-rpa-bridge-1.1.7)
2022-08-21 13:43:49.578 INFO 2524 — [ main] org.camunda.bpm.rpa.bridge.Bridge : No active profile set, falling back to 1 default profile: “default”
2022-08-21 13:43:50.746 INFO 2524 — [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8081 (http)
2022-08-21 13:43:50.758 INFO 2524 — [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
2022-08-21 13:43:50.758 INFO 2524 — [ main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.60]
2022-08-21 13:43:50.847 INFO 2524 — [ main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
2022-08-21 13:43:50.847 INFO 2524 — [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1183 ms
2022-08-21 13:43:50.918 INFO 2524 — [ main] org.camunda.bpm.rpa.bridge.license : Found license key content at path file:/C:/Users/Lenovo/.camunda/license.txt
2022-08-21 13:43:50.967 WARN 2524 — [ main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘bridge’: Unsatisfied dependency expressed through field ‘taskAdapter’; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘externalTaskAdapter’: Unsatisfied dependency expressed through field ‘vendorProperties’; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type ‘org.camunda.bpm.rpa.bridge.properties.RpaVendorProperties’ available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}
2022-08-21 13:43:50.971 INFO 2524 — [ main] o.apache.catalina.core.StandardService : Stopping service [Tomcat]
2022-08-21 13:43:50.984 INFO 2524 — [ main] ConditionEvaluationReportLoggingListener :
Error starting ApplicationContext. To display the conditions report re-run your application with ‘debug’ enabled.
2022-08-21 13:43:51.014 ERROR 2524 — [ main] o.s.b.d.LoggingFailureAnalysisReporter :
APPLICATION FAILED TO START
Description:
Field vendorProperties in org.camunda.bpm.rpa.bridge.externaltask.ExternalTaskAdapter required a bean of type ‘org.camunda.bpm.rpa.bridge.properties.RpaVendorProperties’ that could not be found.
The injection point has the following annotations:
- @org.springframework.beans.factory.annotation.Autowired(required=true)
Action:
Consider defining a bean of type ‘org.camunda.bpm.rpa.bridge.properties.RpaVendorProperties’ in your configuration.
Hi,
I think, the problem is in the application.yaml the indentation of your automation-anywhere-api: properties is wrong. It must be on a level beneath org.camunda.bpm.rpa, i.e., add two more spaces before each of the properties: application.yaml (4.2 KB)