public static String normalizeContextPath(String contextPath) {
        if (StringUtils.isBlank(contextPath) || ROOT_WEB_CONTEXT_PATH.equals(contextPath)) {
            return StringUtils.EMPTY;
        }
        return contextPath.startsWith(ROOT_WEB_CONTEXT_PATH) ? contextPath : ROOT_WEB_CONTEXT_PATH + contextPath;
    }
@Test
    void testNormalizeContextPath() {
        assertEquals("/nacos", ContextPathUtil.normalizeContextPath("/nacos"));
        assertEquals("/nacos", ContextPathUtil.normalizeContextPath("nacos"));
        assertEquals("", ContextPathUtil.normalizeContextPath("/"));
        assertEquals("", ContextPathUtil.normalizeContextPath(""));
    }