Unable to add java-dynamic-sqs-listener-spring-starter

Hi

I am trying to add below starter in my project:
implementation ("com.jashmore:java-dynamic-sqs-listener-spring-starter:5.0.0")

But it’s giving me error:

2022-03-10 02:28:11.211 WARN 27676 — [ main] org.atmosphere.util.IOUtils : More than one Servlet Mapping defined. WebSocket may not work org.apache.catalina.core.ApplicationServletRegistration@57d86841
2022-03-10 02:28:11.321 INFO 27676 — [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path ‘’
2022-03-10 02:28:11.323 INFO 27676 — [ main] faultMessageListenerContainerCoordinator : Starting MessageListenerContainerCoordinator
2022-03-10 02:28:11.330 WARN 27676 — [ main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.context.ApplicationContextException: Failed to start bean ‘messageListenerContainerCoordinator’; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘core_Store’ defined in URL [jar:file:/Users/shahzad/.gradle/caches/modules-2/files-2.1/io.jmix.core/jmix-core/1.1.3/487bcee1df48c048e36677c016dcaf903e4f2879/jmix-core-1.1.3.jar!/io/jmix/core/metamodel/model/impl/StoreImpl.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type ‘java.lang.String’ available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {}
2022-03-10 02:28:13.437 INFO 27676 — [ main] i.j.d.impl.JmixEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit ‘main’
2022-03-10 02:28:13.441 INFO 27676 — [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated…
2022-03-10 02:28:13.448 INFO 27676 — [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed.
2022-03-10 02:28:13.454 INFO 27676 — [ main] o.apache.catalina.core.StandardService : Stopping service [Tomcat]
2022-03-10 02:28:13.465 INFO 27676 — [ main] ConditionEvaluationReportLoggingListener :

Error starting ApplicationContext. To display the conditions report re-run your application with ‘debug’ enabled.
2022-03-10 02:28:13.481 ERROR 27676 — [ main] o.s.b.d.LoggingFailureAnalysisReporter :


APPLICATION FAILED TO START


Description:

> Parameter 0 of constructor in io.jmix.core.metamodel.model.impl.StoreImpl required a bean of type ‘java.lang.String’ that could not be found.
**> **
**> **
> Action:
**> **
> Consider defining a bean of type ‘java.lang.String’ in your configuration.
>

Task :bootRun FAILED

Execution failed for task ‘:bootRun’.

Build cancelled while executing task ‘:bootRun’

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

Is this in conflict with Jmix? I am trying to add in Jmix 1.1.3 project.

Hi @getshahzad

Thank you for reporting the problem. We have created the Github issue.

Regards,
Nadezhda.