public static String getAbsolutePathFromClassPath(String path) {
        URL resource = PathUtil.class.getResource(path);
        try {
            assert resource != null;
            URI uri = resource.toURI();
            return Paths.get(uri).toString();
        } catch (NullPointerException | URISyntaxException e) {
            throw DataXException.asDataXException("path error,please check whether the path is correct");
        }

    }
@Test
    public void testParseClassPathFile() {
        String path = "/pathTest.json";
        String absolutePathFromClassPath = PathUtil.getAbsolutePathFromClassPath(path);
        Assert.assertNotNull(absolutePathFromClassPath);
    }