Access the full course here: javabrains.io/courses/spring_bootquickstart
Learn how to create a GET REST API using Spring MVC that maps to a collection URI.
69 Comments on "Spring Boot Quick Start 18 – Getting a single resource"
i am getting empty braces while runnig it?how can i fix this?
You are a excellent teacher here with spring boot. You have told clearly everything. Thanks a lot. Want a complete web application (E-commerce or anything real world app ) series from you.
Hi,i was following your tutorial and everything was fine until I typed localhost:8080/spring it sends me the error: This application has no explicit mapping for /error, so you are seeing this as a fallback.Fri Nov 17 12:11:51 CST 2017There was an unexpected error (type=Not Found, status=404).No message availableall the ids i have are in lowercase and doublechecked the code and i fine,could you or someone please try to do or makea fix for this please? bc the next tutorials wont help if this doesnt work,thank you in advance…
Because you did not put topics before spring. It should be localhost:8080/topics/spring Try it.
What if I want to have a list of all the objects with the same attribute value
Error:(15, 13) java: cannot find symbol symbol: class TopicService location: class io.zar.springbootstarter.topic.TopicControlleri'm using JDK version 9. Where is the problem?
it works for me only when i put all classes in same package, if I split it to differt packages like you, my app does not start anaymore. Who know why and how to fix?
In CodeChannels.com, you can learn to code by watching videos and stay up to date with latest code shows, events and tutorials aggregated from various leading developer communities.
Copyright 2016 By CodeChannels.com All rights reserved.