Leave a Reply

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

Notify of
avatar

Aleksander Ojciec
Guest
Aleksander Ojciec
2 days 2 hours ago

Hi, im getting some errors
aplication starts but it can't create table. Unsuccessful: drop table topic, that's what I get. Doesn't derby need anything in .properties file? I've tried to solve this but nothing worked

bhanuchirutha
Guest
bhanuchirutha
2 days 9 hours ago

is this code in github?

Angshuman Dey
Guest
Angshuman Dey
4 days 3 hours ago

After annotating repository variable with @Autowired getting exception org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'com.ad.springboot.dao.StudentRepository'.Any one have any idea??

Manikanta Varahala Ganapathiraju
Guest
Manikanta Varahala Ganapathiraju
10 days 1 hour ago

Hi Kaushik thank you so much for this tutorial, this is extremely helpful….I have a question though..when i am making a GET request with /topics, it should return an empty List in POSTMAN right..? but for me its throwing the following error.. (404 not found){ "timestamp": 1492266791646, "status": 404, "error": "Not Found", "message": "No message available", "path": "/topics"} (i have followed the steps as per the video exactly)Can someone please help me to sort out this issue..

Aleksander Ojciec
Guest
Aleksander Ojciec
2 days 2 hours ago

Have you solved this problem? I have the same I think, spring can't create table

Varsha Venkatesh
Guest
Varsha Venkatesh
4 days 12 hours ago

Rename the package that you copied from course-api project. It will work fine.

Ashutosh Sharma
Guest
Ashutosh Sharma
12 days 23 hours ago

I am getting this error while starting applicaion:Exception encountered during context initialization – cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'halMessageConverterSupportedMediaTypeCustomizer': Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: org/springframework/web/servlet/mvc/method/annotation/RequestMappingHandlerAdapter

Manikanta Varahala Ganapathiraju
Guest
Manikanta Varahala Ganapathiraju
9 days 20 hours ago

add the following to pom.xml and check<dependency> <groupId>org.apache.derby</groupId> <artifactId>derby</artifactId> <scope>runtime</scope> </dependency>

bollsg
Guest
bollsg
18 days 23 hours ago

I get a null pointer exception to add or to query the topic repository. any idea why?2017-04-06 21:51:33.218 ERROR 18940 — [nio-8080-exec-1] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is java.lang.NullPointerException] with root causejava.lang.NullPointerException: null at com.tgt.giri.topics.TopicService.add(TopicService.java:38) ~[classes/:na] at com.tgt.giri.topics.TopicsController.postCourse(TopicsController.java:30) ~[classes/:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_51]

bollsg
Guest
bollsg
18 days 23 hours ago

Ignore it. I forgot the Autowired :(. Great tutorial though.

Ala'a Mezian
Guest
Ala'a Mezian
22 days 5 hours ago

Guys Please i need help i get an Exception Error Like this <h1>HTTP Status 500 – Request processing failed; nested exception is java.lang.NullPointerException</h1>Please Help me it might be not initialzing the data base

kasavajhula srikanth
Guest
kasavajhula srikanth
22 days 23 hours ago

when i restart the server all the database information is lost . Why is this happening ? Is there a way I can persist data in the Apache Derby database even after I restartt my application

Fabián Trejo
Guest
Fabián Trejo
12 days 15 hours ago

because derby and H2 are database in memory

Beyond Horizon
Guest
Beyond Horizon
24 days 5 hours ago

Do you know what cause that error:Field topicRepository in jpa.rest.api.topic.Services.TopicService required a bean of type 'jpa.rest.api.topic.repositiory.TopicRepository' that could not be found.Consider defining a bean of type 'jpa.rest.api.topic.repositiory.TopicRepository' in your configuration.I can't find anything that could help me with it..

Vignesh Kanna
Guest
Vignesh Kanna
25 days 9 hours ago

Good work, it is little bit annoying if I hear those button sound in between the video… pls avoid that or edit that…

1 2 3
wpDiscuz