数据接入

master
Qin Dong Ming 2024-09-06 21:02:09 +08:00
parent 1c558b3c30
commit a79e144c32
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ public class RuleTest {
try { try {
//外部类文件路径 //外部类文件路径
String externalClassFilePath = String externalClassFilePath =
engineWorkSourcePath + "/com/muyu/abstracts/" + engineVersion.getName() + ".class"; engineWorkSourcePath + "/home/com/muyu/abstracts/" + engineVersion.getName() + ".class";
Path classFilePath = Paths.get(externalClassFilePath); Path classFilePath = Paths.get(externalClassFilePath);
//获取外部类所在的目录 //获取外部类所在的目录
String externalClassDir = externalClassFilePath.substring(0, externalClassFilePath.lastIndexOf('/')); String externalClassDir = externalClassFilePath.substring(0, externalClassFilePath.lastIndexOf('/'));