Fix plugin resources path when context path ends with /

String prePath = (contextPath.endsWith("/")) ? contextPath : contextPath + "/";
....apend("plugin/")