这是我在执行 'mvn clean install' 时遇到的错误。
在当前项目和插件组 [org.apache.maven.plugins, org.codehaus.mojo] 中找不到前缀“presto-docs”的插件,可从存储库 [local (/var/root/.m2/repository) ), sonatype-nexus-snapshots ( https://oss.sonatype.org/content/repositories/snapshots ), 中央 ( https://repo.maven.apache.org/maven2)] -> [Help 1] org. apache.maven.plugin.prefix.NoPluginFoundForPrefixException:在当前项目和插件组 [org.tomdz.maven、com.mycila、com.facebook.presto、org.apache. maven.plugins, org.codehaus.mojo] 可从存储库 [local (/var/root/.m2/repository), sonatype-nexus-snapshots ( https://oss.sonatype.org/content/repositories/snapshots ) , 中央 (https://repo.maven.apache.org/maven2)]
此处构建失败:
[INFO] --- sphinx-maven-plugin:1.0.3:generate (default) @ presto-docs ---
[INFO] 将 sphinx 解包到 /Users/sprinklr/tools/presto/presto-docs /target/sphinx
[错误] 线程“主” javax.script.ScriptException 中的异常:ValueError:未知语言环境:UTF-8 在
org.python.jsr223.PyScriptEngine.scriptException(PyScriptEngine.java: 191)
[错误] 在 org.python.jsr223.PyScriptEngine.eval(PyScriptEngine.java:42)
[错误] 在 org.python.jsr223.PyScriptEngine.eval(PyScriptEngine.java:31)
[错误] 在 javax.script。 AbstractScriptEngine.eval(AbstractScriptEngine.java:264)
[错误] 在 org.tomdz.maven.sphinx.SphinxRunner.run(SphinxRunner.java:59)
[错误] at org.tomdz.maven.sphinx.SphinxRunner.main(SphinxRunner.java:25)
[错误] 原因:回溯(最后一次调用):
[错误] 文件“”,第 1 行,在
[错误]文件“/Users/sprinklr/tools/presto/presto-docs/target/sphinx/sphinx/ init .py”,第 47 行,主要
[ERROR] from sphinx import cmdline
[ERROR] File“/Users/sprinklr/tools/ presto/presto-docs/target/sphinx/sphinx/ init .py”,第 47 行,在 main
[ERROR] from sphinx import cmdline
[ERROR] File “/Users/sprinklr/tools/presto/presto-docs/target/sphinx /sphinx/cmdline.py",第 18 行,在
[错误] 中来自 docutils.utils import SystemMessage
[错误] 文件“/Users/sprinklr/tools/presto/presto-docs/target/sphinx/docutils/utils/ init .py”,第 19 行,在
[错误] from docutils.io import FileOutput
[错误] 文件“/ Users/sprinklr/tools/presto/presto-docs/target/sphinx/docutils/io.py",第 18 行,在
[ERROR] from docutils.error_reporting import locale_encoding, ErrorString, ErrorOutput
[ERROR] File "/Users/sprinklr/ tools/presto/presto-docs/target/sphinx/docutils/error_reporting.py",第 47 行,在
[ERROR] locale_encoding = locale.getlocale()[1] 或 locale.getdefaultlocale()[1]
[ERROR] 文件中“ /private/var/root/.m2/repository/org/python/jython-standalone/2.5.2/jython-standalone-2.5.2.jar/Lib/locale.py”,第 443 行,在 getdefaultlocale 中
[错误] 文件“/private/var/root/.m2/repository/org/python/jython-standalone/2.5.2/jython-standalone-2.5.2.jar/Lib/locale.py”,第 375 行,在_parse_localename
[错误] ValueError:未知语言环境:UTF-8
请指导我克服这个