redis调用 hgetAll方法报错,望迅速解决啊急急急

严重: Exception starting filter jfinal
java.lang.RuntimeException: java.io.IOException: java.lang.RuntimeException: class not found CLASSNAME: loader:WebappClassLoader
  context: wlunion_front
  delegate: false
----------> Parent Classloader:
java.net.URLClassLoader@2c7b84de

	at com.jfinal.plugin.redis.serializer.FstSerializer.valueFromBytes(FstSerializer.java:78)
	at com.jfinal.plugin.redis.Cache.valueFromBytes(Cache.java:1217)
	at com.jfinal.plugin.redis.Cache.hgetAll(Cache.java:527)
	at com.etmay.common.redis.RedisManager.getRoomMap(RedisManager.java:149)
	at com.etmay.common.redis.RedisManager.printRooms(RedisManager.java:172)
	at com.etmay.common.config.MainConfig.afterJFinalStart(MainConfig.java:106)
	at com.jfinal.core.JFinalFilter.init(JFinalFilter.java:56)
	at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:285)
	at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:266)
	at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:108)
	at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4747)
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5389)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1410)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1400)
	at java.util.concurrent.FutureTask.run(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: java.lang.RuntimeException: class not found CLASSNAME: loader:WebappClassLoader


评论区

JFinal

2018-09-05 11:50

WebappClassLoader 这个找不到,难道是没有添加 jetty-server 这个 jar 包?

zhelong

2018-09-06 12:32

又好啦,可能是我redis用的不对吧,谢谢~

zhelong

2018-09-06 12:32

@JFinal 又好啦,可能是我redis用的不对吧,谢谢~

热门反馈

扫码入社