rapidoid / rapidoid

Rapidoid - Extremely Fast, Simple and Powerful Java Web Framework and HTTP Server!

Home Page:http://www.rapidoid.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Using session() in org.rapidoid:rapidoid-http-server:5.5.5

romannikov opened this issue · comments

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?