mirror of
https://github.com/tiennm99/zfoo.git
synced 2026-08-07 08:25:30 +00:00
fix[storage]: fixed the issue that when packaged as a jar, the resource could not get the absolute path
This commit is contained in:
@@ -78,8 +78,8 @@ public class ExportBinaryTest {
|
||||
@Test
|
||||
public void test() throws Exception {
|
||||
var config = new StorageConfig();
|
||||
config.setScanPackages(new String[]{"com.zfoo.storage.export"});
|
||||
config.setResourceLocations(new String[]{"classpath:/excel"});
|
||||
config.setScanPackage("com.zfoo.storage.export");
|
||||
config.setResourceLocation("classpath:/excel");
|
||||
config.setWriteable(true);
|
||||
config.setRecycle(false);
|
||||
var storageManager = new StorageManager();
|
||||
|
||||
Reference in New Issue
Block a user