Cannot find class SubscriberIdAndMessage

28 Views Asked by At

I'm trying to use the SubscriberIdAndMessage from io.eventuate.tram.consumer.common, but when I try to import it, the compiler doesn't found it. However, it finds other classes from the io.eventuate.tram.consumer.common package, like MessageHandlerDecoratorChain or MessageHandlerDecorator. Do you know what might be the problem here?

1

There are 1 best solutions below

1
Zara Marks On

Have you tried seing if the class SubscriberIdAndMessage is public?

If you put class SubscriberIdAndMessage, it is not the same as public class SubscriberIdAndMessage.

If this is not the issue, can you post a screenshot of the error?