You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have the following trace when trying to run the project after importing this library to mock my SQS (using maven):
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqsRestServer' defined in class path resource [com/github/jojoldu/sqs/AwsMockSqsServerAutoConfiguration.class]: **Bean instantiation via factory method failed**; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.elasticmq.rest.sqs.SQSRestServer]: Factory method 'sqsRestServer' threw exception; nested exception is java.lang.NullPointerException
It's a problem with instance of bean related to AwsMockSqsServerAutoConfiguration class.
But I don't have much idea what it is. I appreciate your advice.
At the moment I imported this into the pom.xml file:
Hi guys. best regard !, hi @jojoldu
I have the following trace when trying to run the project after importing this library to mock my SQS (using maven):
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqsRestServer' defined in class path resource [com/github/jojoldu/sqs/AwsMockSqsServerAutoConfiguration.class]: **Bean instantiation via factory method failed**; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.elasticmq.rest.sqs.SQSRestServer]: Factory method 'sqsRestServer' threw exception; nested exception is java.lang.NullPointerException
It's a problem with instance of bean related to AwsMockSqsServerAutoConfiguration class.
But I don't have much idea what it is. I appreciate your advice.
At the moment I imported this into the pom.xml file:
And this:
And add this configurations into
application.properties
file:The text was updated successfully, but these errors were encountered: