• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Junilu Lacar
  • Paul Clapham
  • Knute Snortum
Saloon Keepers:
  • Stephan van Hulst
  • Ron McLeod
  • Tim Moores
  • salvin francis
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Vijitha Kumara

Controller implements an Interface  RSS feed

 
Ranch Hand
Posts: 1324
3
Java Netbeans IDE Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a Controller which implements an Interface like this



The interesting part of the Interface is like this;



When I run the web service (SOAP UI) I get a 404 error
{status":404,"error":"Not Found","message":"No message available","path":"/test/v1/test"}
 
Angus Ferguson
Ranch Hand
Posts: 1324
3
Java Netbeans IDE Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In teh Controller Class this is the code


 
Angus Ferguson
Ranch Hand
Posts: 1324
3
Java Netbeans IDE Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It get lost from the method to the Interface because the annotation below is commented, the reason is that that Code already exists in the Interface.

 
Too many men are afraid of being fools - Henry Ford. Foolish tiny ad:
global solutions you can do at home or in your backyard
https://www.kickstarter.com/projects/paulwheaton/better-world-boo
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!