0

I got 404 exception, when i replace jersey annotations with spring rest annotations.

enter image description here

Alien
  • 15,141
  • 6
  • 37
  • 57
user3796427
  • 11
  • 1
  • 3

1 Answers1

0

Do you have a class annotated with @Componentscan in your root package , if you don't it's normal to hava a 404 not found in this case. With jersey in order to expose a rest api you need to register it.

Mehdi Bahra
  • 319
  • 1
  • 8