Leave a Reply

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

Notify of
avatar

Ярослав Павлюк
Guest
Ярослав Павлюк
14 days 6 hours ago

Hello.I have problem:Error:(22, 41) java: lambda expressions are not supported in -source 1.6 (use -source 8 or higher to enable lambda expressions).Help me, please =)

Vijay Raut
Guest
Vijay Raut
20 days 4 hours ago

Cool videos, I am really covered all the thing which I wanted.

Stephen Kuehl
Guest
Stephen Kuehl
28 days 4 hours ago

Cool!

Jose Abel de la Fuente Arriaga
Guest
Jose Abel de la Fuente Arriaga
1 month 12 days ago

is possible to use spring boot with soap services?… like RequestMapping?

Will Ruiz
Guest
Will Ruiz
1 month 23 days ago

Can someone post code for this method…that is not in Lamda public Topic getTopic(String id){ return topics.stream().filter(t -> t.getId().equals(id)).findFirst().get();}

Shank09
Guest
Shank09
1 month 2 hours ago

public Topic getTopic(String id){ for(Topic topic : topics){ if(topic.getId().equals(id)){ return topic; } } return null;}

Will Ruiz
Guest
Will Ruiz
1 month 13 days ago

figured it out…use this:public Topic getTopic(String id){ Topic tp = new Topic(); for(int i=0; i<topics.size(); i++){ Topic t = topics.get(i); if(t.getId().equals(id)){ tp = topics.get(i); } } return tp; }

zzor12
Guest
zzor12
1 month 24 days ago

Hi thank you so much! How to add search method in my spring boot application Pls help me 🙂

Dagny T
Guest
Dagny T
2 months 10 days ago

You are one awesommeee tutor !!!!! seriously !!

John saida
Guest
John saida
2 months 21 days ago

HI Koushik,First thanks for your serviceswhen I try to run my app by adding the path variable values I can see the 404 messages instead of single product information. did lot of analysis but unable to found good solution.Below is my code snap shot.@RequestMapping("/getProduct/{id}") public Product getProduct(@PathVariable String id) { return productService.getProductById(id); }could you please let me know if any issues with the above stated code.Thanks in advance.

Britka Sablja
Guest
Britka Sablja
1 month 27 days ago

use all lower case letters in mapping. For some reason Spring converts url to lowercase so it can't find getProduct because it is searching for getproducts.

kartik tamta
Guest
kartik tamta
2 months 24 days ago

why you are not telling springmvc with hibernate sir

Osman Mohammed
Guest
Osman Mohammed
4 months 27 days ago

Hello Kaushik..Thanks for the tutorial.My project can't figure out where 't' in the lamda expression is coming from..

AMOL BADGAUJAR
Guest
AMOL BADGAUJAR
4 months 11 days ago

Make sure u have jdk 1.8

wpDiscuz