Leave a Reply

76 Comments on "Spring Boot Quick Start 18 – Getting a single resource"

Notify of
avatar

Jankasri
Guest
Jankasri
4 days 17 hours ago

This man is HERO…

kapil tripathi
Guest
kapil tripathi
8 days 14 hours ago

My webpage gives error for "id". Can someone please help? It would be really helpful

赵宜磊
Guest
赵宜磊
10 days 8 hours ago

nice

مطور ويب
Guest
مطور ويب
21 days 14 hours ago

Thanks , brilliant

Jimi1000
Guest
Jimi1000
1 month 19 days ago

Hello when i create the post topic in Postman i got this error message "timestamp": "2018-04-08T09:58:26.853+0000", "status": 500, "error": "Internal Server Error", "message": "Type definition error: [simple type, class io.javabrains.springbootstarter.topic.Topic]; nested exception is com.fasterxml.jackson.databind.exc.InvalidDefinitionException: Cannot construct instance of `io.javabrains.springbootstarter.topic.Topic` (no Creators, like default construct, exist): cannot deserialize from Object value (no delegate- or property-based Creator)n at [Source: (PushbackInputStream); line: 2, column: 2]", "path": "/topics"Do you have an idea of the problem ?

dmitryWeirdo
Guest
dmitryWeirdo
2 months 18 days ago

I'd recommend to not use Optional.get() that straightforward way since it will throw an exception in case of topic is not found by id. Maybe use orElse or at least orElseThrow after findFirst.Anyway, a great tutorial, much appreciated!

sudip upadhyay
Guest
sudip upadhyay
4 months 15 days ago

i am getting empty braces while runnig it?how can i fix this?

Abdur Rahaman
Guest
Abdur Rahaman
4 months 27 days ago

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.

A Cs
Guest
A Cs
6 months 9 days ago

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…

A Cs
Guest
A Cs
6 months 10 days ago

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…

Peace
Guest
Peace
5 months 1 day ago

Because you did not put topics before spring. It should be localhost:8080/topics/spring Try it.

1 2 3 6
wpDiscuz