报错:
java: JPS incremental annotation processing is disabled. Compilation results on partial recompilation may be inaccurate. Use build process "jps.track.ap.dependencies" VM flag to enable/disable incremental annotation processing environment.
翻译:
java:禁用JPS增量注释处理。部分重新编译的编译结果可能不准确。使用build process "jps.track.ap.dependencies" VM标志来启用/禁用增量注释处理环境。
Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.data.redis.connection.PoolException: Could not get a resource from the pool; nested exception is io.lettuce.core.RedisConnectionException: Unable to connect to 192.168.10.4:6379] with root cause
java.net.ConnectException: Connection refused: no further information
翻译:
servlet .service() for servlet [dispatcherServlet] in context with path [] throws exception [Request processing failed;嵌套异常是org.springframework.data.redis.connection.PoolException:无法从池中获取资源;嵌套异常是io.莴苣.core. redisconnectionexception: Unable to connect to 192.168.10.4:6379] with root cause
java.net.ConnectException: Connection refused: no further information
我的问题是刚开始没有开启Redis();
启动:
其次
打开redisdesktopmanager软件
Test后显示连接成功
application.yml中redis
成功从数据库导入menu表到Redis