diff --git a/pom.xml b/pom.xml
index b5dc58f..e682ff8 100644
--- a/pom.xml
+++ b/pom.xml
@@ -9,7 +9,7 @@
pom
- 1.6.1
+ 2.0
2.2
UTF-8
diff --git a/servlet-core/src/main/java/tech/smartboot/servlet/plugins/license/LicenseException.java b/servlet-core/src/main/java/tech/smartboot/servlet/plugins/license/LicenseException.java
index f19ed14..b1515af 100644
--- a/servlet-core/src/main/java/tech/smartboot/servlet/plugins/license/LicenseException.java
+++ b/servlet-core/src/main/java/tech/smartboot/servlet/plugins/license/LicenseException.java
@@ -22,4 +22,9 @@ public LicenseException(String message) {
public LicenseException(String message, Throwable cause) {
super(message, cause);
}
+
+ @Override
+ public synchronized Throwable fillInStackTrace() {
+ return this;
+ }
}
diff --git a/servlet-core/src/main/java/tech/smartboot/servlet/plugins/license/LicensePlugin.java b/servlet-core/src/main/java/tech/smartboot/servlet/plugins/license/LicensePlugin.java
index df5fd26..1a99237 100644
--- a/servlet-core/src/main/java/tech/smartboot/servlet/plugins/license/LicensePlugin.java
+++ b/servlet-core/src/main/java/tech/smartboot/servlet/plugins/license/LicensePlugin.java
@@ -13,6 +13,7 @@
import org.smartboot.http.common.enums.HttpStatus;
import org.smartboot.http.common.logging.Logger;
import org.smartboot.http.common.logging.LoggerFactory;
+import org.smartboot.http.common.utils.StringUtils;
import org.smartboot.http.server.HttpRequest;
import org.smartboot.http.server.HttpResponse;
import org.smartboot.http.server.HttpServerHandler;
@@ -36,7 +37,7 @@
*/
public class LicensePlugin extends Plugin {
private static final Logger LOGGER = LoggerFactory.getLogger(LicensePlugin.class);
-
+ private static final LicenseTO INVALID_LICENSE = new LicenseTO();
private LicenseTO licenseTO;
private License license;
@@ -50,7 +51,7 @@ public void initPlugin(Container containerRuntime) {
containerRuntime.getConfiguration().setHttpServerHandler(new HttpServerHandler() {
@Override
public void handle(HttpRequest request, HttpResponse response, CompletableFuture