Skip to content

Commit 9f724c1

Browse files
authored
还原依赖 javax.activation,实测 JDK 11, 13 都需要
否则 APIJSONBoot DemoApplication 第 95 行报错 NoClassDefFoundError static { Map<String, Pattern> COMPILE_MAP = AbstractVerifier.COMPILE_MAP; ... } Exception in thread "main" java.lang.NoClassDefFoundError: javax/activation/UnsupportedDataTypeException https://github.com/APIJSON/APIJSON-Demo/blob/master/APIJSON-Java-Server/APIJSONBoot/src/main/java/apijson/boot/DemoApplication.java#L95
1 parent 95432dd commit 9f724c1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

APIJSONORM/pom.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@
2323
<artifactId>fastjson</artifactId>
2424
<version>1.2.79</version>
2525
</dependency>
26+
<dependency>
27+
<groupId>javax.activation</groupId>
28+
<artifactId>activation</artifactId>
29+
<version>1.1.1</version>
30+
</dependency>
2631
</dependencies>
2732

2833
<build>

0 commit comments

Comments
 (0)