Leave a Reply

53 Comments on "Spring Boot Quick Start 29 – Making Crud Operations with Repository"

Notify of
avatar

Fladio Armandika
Guest
Fladio Armandika
2 days 20 hours ago

help me! i got this error Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory at org.springframework.boot.SpringApplication.<clinit>(SpringApplication.java:179) at com.example.demo.CourseApiData2Application.main(CourseApiDataApplication.java:10)

ch0c89
Guest
ch0c89
13 days 9 hours ago

Thanks for the amazing tutorials. BTW, You can ideally override findAll method with return type as List<Topic> in TopicRepository. Just add the following code and it will work like charm.@Override public List<Topic> findAll();

erluxman
Guest
erluxman
15 days 19 hours ago

This is so amazing that I could not even believe that I could start writing spring boot apps this easily. But one problem I am facing is that whenever I stop and restart the application all the data I had stored using post request into my embedded database just disappears and I have to post data again. And I kinda recall that you said you will do some tutorials about connecting the external database ( non volatile /persistence database). I would love it so much if you could do some videos on that .. Thanks in advance sir 🙂

ThePhysics1234
Guest
ThePhysics1234
17 days 16 hours ago

i didn't get the part where you instantiate an interface and autowire it?

Stephen Kuehl
Guest
Stephen Kuehl
30 days 9 hours ago

arg.. You never showed the controller.

Ankur Rampuria
Guest
Ankur Rampuria
1 month 6 days ago
Hello Everyone,I am following the same steup but I am getting below error while create table in DB . Please note i am using Java 5 with Spring boot 1.4.3.RELEASE verison.Please hlep me out with this issue.2017-05-19 11:09:04.551  INFO 12420 — [           main] org.hibernate.Version                    : HHH000412: Hibernate Core {5.0.11.Final}2017-05-19 11:09:04.555  INFO 12420 — [           main] org.hibernate.cfg.Environment            : HHH000206: hibernate.properties not found2017-05-19 11:09:04.557  INFO 12420 — [           main] org.hibernate.cfg.Environment            : HHH000021: Bytecode provider name : javassist2017-05-19 11:09:04.757  INFO 12420 — [           main] o.hibernate.annotations.common.Version   : HCANN000001: Hibernate Commons Annotations {5.0.1.Final}2017-05-19 11:09:05.109  INFO 12420 — [           main] org.hibernate.dialect.Dialect            : HHH000400: Using dialect: org.hibernate.dialect.DerbyTenSevenDialect2017-05-19 11:09:06.935 … Read more »
Marinakulichok
Guest
Marinakulichok
29 days 17 hours ago

I do my app in eclipse and without saving all my changes I have got the same error as your((((Just always press Save button in eclipse ide!

Amit Tanwani
Guest
Amit Tanwani
1 month 10 days ago

Can you please tell me how dependency is injected in TopicRepository ? which class object will get injected in variable topicRepository ?

Tuluvsaikhan Battulga
Guest
Tuluvsaikhan Battulga
1 month 12 days ago

If you use IntelliJ, you might encounter a problem where topicRepository is not autowired. It's actually autowired,but IntelliJ doesn't recognize that. If you add Spring Data plugin in plugins, it will not show any errors.

mtst 99
Guest
mtst 99
1 month 14 days ago

For PUT you forgot to remove id from @RequestMapping:@RequestMapping(method=RequestMethod.PUT, value="/topics") private void updateTopic(@RequestBody Topic topic){ topicService.updateTopic(topic); }and thanks a lot for these clear and step by step teachings. Please continue.

Neeraj Jassal
Guest
Neeraj Jassal
1 month 20 days ago

You explained very well, these videos are really awesome. Thanks Koushik

1 2 3 4
wpDiscuz