在resin裏用MyConstants.class.getResource("/").getPath(),這個方法時,獲取到的路勁少【項目名稱】,最好用MyConstants.class.getResource("").getPath()這個方法,不會少。get