Some spring classes not found.

Hi, how can I import some classes like?
import org.springframework.handler.annotation.MessageMapping;
import org.springframework.messaging.handler.annotation.SendTo;
Thanks.

Hi Ismael,

What do you want to achieve and what does not work for you?

Hi konstantin:
I want to create a websocket connection between my cuba app and an Android client.
But I cant import the springframework necessary classes like MessageMaping or SendTo.

CUBA has no dependency on spring-messaging, so you have to add it to your project.

Edit Project properties, Advanced > Dependencies. See context help for details. If you use platform 6.2, select Spring version 4.2.5.RELEASE, for platform 6.3 - Spring version 4.3.1.RELEASE.

Thanks.