我正在使用以下配置来生成招摇:
java: 6
swagger-codegen-maven-plugin: 2.1.3
io.swagger: 1.5.0
com.fasterxml.jackson.core: 2.7.0
当我运行 maven install(来自 intellij)时,出现此错误:
[ERROR] Failed to execute goal io.swagger:swagger-codegen-maven-plugin:2.1.3:generate (default) on project <project>: Execution default of goal io.swagger:swagger-codegen-maven-plugin:2.1.3:generate failed: An API incompatibility was encountered while executing io.swagger:swagger-codegen-maven-plugin:2.1.3:generate: java.lang.UnsupportedClassVersionError: JVMCFRE003 bad major version; class=io/swagger/parser/SwaggerParser, offset=6
有人可以帮忙吗?