mirror of
https://gitee.com/dromara/liteFlow.git
synced 2026-06-10 19:26:54 +08:00
bugfix MissMavenDependencyException 格式化问题
This commit is contained in:
@@ -1,7 +1,11 @@
|
||||
package com.yomahub.liteflow.exception;
|
||||
|
||||
import cn.hutool.core.map.MapBuilder;
|
||||
import cn.hutool.core.util.StrUtil;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* 缺少 maven 依赖异常
|
||||
*
|
||||
@@ -24,7 +28,14 @@ public class MissMavenDependencyException extends RuntimeException {
|
||||
private String message;
|
||||
|
||||
public MissMavenDependencyException(String groupId, String artifactId) {
|
||||
this.message = StrUtil.format(TEMPLATE, groupId, artifactId);
|
||||
Map<String, String> params = MapBuilder.create(new HashMap<String, String>())
|
||||
.put("groupId", groupId)
|
||||
.put("artifactId", artifactId)
|
||||
.build();
|
||||
this.message = StrUtil.format(TEMPLATE, MapBuilder.create(new HashMap<String, String>())
|
||||
.put("groupId", groupId)
|
||||
.put("artifactId", artifactId)
|
||||
.build());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user