{"header":{"type":"auto_translation","ret_code":"error","time_cost":459.0,"request_id":"3cb055075a8611ed8a6c78ba710c1e34"},"message":"Translation error (20001), please retry later. Detail: RuntimeException - The length of source sentence is too long!!! - {\n "header": {\n "time_cost": 0.00032,\n "type": "auto_translation",\n "ret_code": "The length of source sentence is too long!!!"\n }\n}"}
2条答案
按热度按时间wlzqhblo1#
由于@Marco没有提供他的修复,我会。对于任何人有同样的问题,请按照以下步骤解决:
cas-overlay-template
后,在src/main/java/org/apereo/cas/util
下创建包含以下内容的CasVersion.java
:1.将以下依赖项添加到
pom.xml
1.将出现的任何
<app-server>-tomcat</app-server>
替换为<app-server></app-server>
,因为您要提供应用程序服务器。以上步骤应足以解决报告的问题。
vh0rcniy2#
我编译了上面的Java文件,并用一个JAR包替换了它,我试图替换JAR包的
cas-server-core-util-api-5.3.16.jar
版本。