Using session() in org.rapidoid:rapidoid-http-server:5.5.5
romannikov opened this issue · comments
Dmitry Romannikov commented
Hi!
I try to use req.session()
in my code but it causes a java.lang.NoClassDefFoundError: org/rapidoid/gui/reqinfo/ReqInfo
error due to HttpUtils:289 line:
public static String cookiePath() {
String ctxPath = ReqInfo.get().contextPath(); // this line
return U.notEmpty(ctxPath) ? ctxPath : "/";
}
Is it a bug? and if it's a bug, can I fix it by moving org.rapidoid.gui.reqinfo
into rapidoid-http-fast
?