spring-boot

springboot with hibernate Internal Server Error but status code 200

爱⌒轻易说出口 提交于 2020-01-17 15:16:23
问题 I'm quite new to Spring and I have created a small webservice with Spring-boot , Hibernate and Swagger . Here is my HomeController: package io.swagger.configuration; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; /** * Home

springboot with hibernate Internal Server Error but status code 200

守給你的承諾、 提交于 2020-01-17 15:15:50
问题 I'm quite new to Spring and I have created a small webservice with Spring-boot , Hibernate and Swagger . Here is my HomeController: package io.swagger.configuration; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; /** * Home

Spring Boot, Thymeleaf Form Error

ⅰ亾dé卋堺 提交于 2020-01-17 09:16:05
问题 I am trying to create a task creation page. There is a form where the user can enter the name, description and task status and save it. However, when I go to the page it shows me this error There was an unexpected error (type=Internal Server Error, status=500). Error during execution of processor

spring-data-redis with @Cachable & @Query gives a java.io.NotSerializableException on DefaultMethodInvokingMethodInterceptor

筅森魡賤 提交于 2020-01-17 07:14:11
问题 When using redis as a cache and @Query on a repository method, redis JdkSerializationRedisSerializer , is unable to serialize a projection. Put a github project with tests; https://github.com/varunmehta/spring-cache-error Actual Entity @Entity public class User { @Id private Integer id; private