spring-mvc

unresolvable dependency org.springframework.core.KotlinDetector.isKotlinReflectPresent()z

China☆狼群 提交于 2020-08-27 18:05:46
问题 Hi everyone I am getting the following error while deploying my application in tomcat.I have configiured tomcat in eclipse and the version tomcat is 8.5.3 and the version of java is 1.8. DEBUG 2018-10-10 11:52:09,243 [localhost-startStop-1] org.springframework.web.servlet.DispatcherServlet - Servlet with name 'spitter' will try to create custom WebApplicationContext context of class 'org.springframework.web.context.support.XmlWebApplicationContext', using parent context [null] ERROR 2018-10

Setting spring session on redis server

给你一囗甜甜゛ 提交于 2020-08-27 07:21:11
问题 I am writing my rest apis using spring boot. And I am trying to maintain user's session on redis server. Redis is up and running on the default port 6379 . I have used the lettuce jar to make connection to the redis server. But seems like my session is not being set on redis server. I try to get the session object set using uuid, and it return something like this 127.0.0.1:6379> get 02978830-2f35-47b7-a367-1f48e40d0ea0 (nil) From redis cli, I am able to set and get the key values. 127.0.0.1