spring 未找到带有java docker api的库'junixsocket-native-2.0.4.dll'

xkftehaa  于 2022-10-31  发布在  Spring
关注(0)|答案(1)|浏览(153)

{"header":{"type":"auto_translation","ret_code":"error","time_cost":747.0,"request_id":"edc9f0f8586b11edb16dad0d39d360b4"},"message":"Translation error (20001), please retry later. Detail: RuntimeException - The length of source sentence is too long!!! - {\n "header": {\n "time_cost": 0.00046899999999999996,\n "type": "auto_translation",\n "ret_code": "The length of source sentence is too long!!!"\n }\n}"}

xdnvmnnf

xdnvmnnf1#

junixsocket版本2.0.4不支持Windows。您需要升级到更高版本。
尝试将junixsocket依赖项更改为

<dependency>
  <groupId>com.kohlschutter.junixsocket</groupId>
  <artifactId>junixsocket-core</artifactId>
  <version>2.5.2</version>
  <type>pom</type>
</dependency>

PS:在native-common的依赖项配置中有另一个错误:<type>pom</type>只应该指定给junixsocket-corejunixsocket-core是POM类型的产物,其中包含junixsocket-commonjunixsocket-native-common,两者都是jar类型的产物。因此,只要移除该宣告即可,因为junixsocket-core是您应该需要的全部。

相关问题