在resources建了这么个文件,我想在代码里引用这个,路径应该怎么写?
this.getClass().getResource("/templates/word/export.docx").getPath()
classpath:/templates/word/export.docx