使用DSL json序列化和反序列化时无法编译java项目

问题描述 投票:0回答:1

我已经用谷歌搜索过这个。但没有得到结果。我正在使用java的jdk 8

[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] Mono is required to run DSL compiler. Mono not detected or specified.
[ERROR] DSL compilation error
  Unable to setup DSL-JSON processing environment. Specify dsljson.loglevel=DEBUG for more information.
java serialization deserialization dsl
1个回答
0
投票

如果您使用的是java jdk 8.则在pom.xml中添加此依赖项

  <dependency>
            <groupId>com.dslplatform</groupId>
            <artifactId>dsl-json-java8</artifactId>
            <version>1.9.8</version>
        </dependency>
© www.soinside.com 2019 - 2024. All rights reserved.