Leave a Reply

12 Comments on "Spring Boot Quick Start 12 – Returning Objects From Controller"

Notify of
avatar

Vikash Kumar
Guest
Vikash Kumar
25 days 2 hours ago

I got the solution, Just rebuilt the project and error is gone. Thank you for your videos, it is so helpful. Expecting more Real time projects on Spring. Thank you for your videos.

Vikash Kumar
Guest
Vikash Kumar
25 days 3 hours ago

I wrote exactly same code in STS, Following your tutorials from the begining, I am Stuck in a Error while running program on browser. The Code Compiles fine but I am getting following error. Unresolved compilation problems: The method asList(T…) in the type Arrays is not applicable for the arguments (Topic, Topic, Topic) The constructor Topic(String, String, String) is undefined The constructor Topic(String, String, String) is undefined The constructor Topic(String, String, String) is undefinedPlease Help me solve the problem.

golokesh patra
Guest
golokesh patra
28 days 7 hours ago

Hello, public static void main(String[] args)throws IOException{ byte[] jsonData=Files.readAllBytes(Paths.get("ver.json")); ObjectMapper objectMapper = new ObjectMapper(); status stat = objectMapper.readValue(jsonData, status.class);I have this object created in the main class. Now I want to make a restcontroller that returns all the data in the ver.json onto localhost.How should I write the RestController ?

chandu sekhar
Guest
chandu sekhar
1 month 4 days ago

could you please upload jenkins tutorial if possible????

chandu sekhar
Guest
chandu sekhar
1 month 4 days ago

Hi koushik, incredible tutorial for spring boot and every video is simple, short and superb its very easy to understand and practise i have gone through this tutorial so many times and each time i have learned one new thing and your english accent is superb. the way you explained things in simple manner is awesome .

El Stego
Guest
El Stego
2 months 7 days ago

Best series! Thank you so much!

Sharan S
Guest
Sharan S
3 months 11 days ago

Hi Koushikhow does spring converts java objects to json automatically? is some jar included in class path works behind? or even without adding jar it is taken care by rest controller annotation. Thanks

Azad Kalakoti
Guest
Azad Kalakoti
1 month 8 days ago

@RestController does it for you.U can find the answer in detail here:stackoverflow.com/questions/25242321/difference-between-spring-controller-and-restcontroller-annotation

Ganesh Doosa
Guest
Ganesh Doosa
3 months 12 days ago

Great Job

Anette Eree
Guest
Anette Eree
3 months 14 days ago

You are UNBELIEVABLE – the only tutor I go to ever if i have a subject I want to learn quickly and thoroughly. Please write a book if you haven't already. If you have, please share a link where to purchase it as I will buy it myself and recommend it to anyone who ever ask where to start learning.

Николай Беляков
Guest
Николай Беляков
3 months 21 days ago

good job

wpDiscuz