You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2022-09-01T17:40:45.900-0500 ERROR main io.prestosql.server.PrestoServer com/google/common/collect/ImmutableList
java.lang.NoClassDefFoundError: com/google/common/collect/ImmutableList
at io.prestosql.plugin.localfile.LocalFilePlugin.getConnectorFactories(LocalFilePlugin.java:36)
at io.prestosql.server.PluginManager.installPlugin(PluginManager.java:303)
at io.prestosql.server.PluginManager.loadPlugin(PluginManager.java:269)
at io.prestosql.server.PluginManager.loadPlugin(PluginManager.java:246)
at io.prestosql.server.PluginManager.loadPlugin(PluginManager.java:237)
at io.prestosql.server.PluginManager.loadPlugins(PluginManager.java:215)
at io.prestosql.server.PrestoServer.run(PrestoServer.java:150)
at io.prestosql.server.PrestoServer.main(PrestoServer.java:91)
Caused by: java.lang.ClassNotFoundException: com.google.common.collect.ImmutableList
at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at io.prestosql.server.PluginClassLoader.loadClass(PluginClassLoader.java:80)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 8 more
The text was updated successfully, but these errors were encountered:
Windows 10下编译成功:mvn clean package -DskipTests -Dcheckstyle.skip=true
备注:其它windows问题已做手工处理,比如:
1.在root/pom.xml文件的property下添加如下:
<air.check.skip-extended>true</air.check.skip-extended>
2.
// 注释掉对操作系统的限制,更改为:warnRequirement
// failRequirement("Presto requires Linux or Mac OS X (found %s)", osName);
warnRequirement("Presto requires Linux or Mac OS X (found %s)", osName);
3.删除catalog文件,只留一个MYSQL和localfile的
4.有些路径换成windows绝对路径
PluginsManagerConfig.java文件里的
plugins换成D:\Learn\BigData\Presto\plugins
FileSystemClientManager.java
etc\filesystem换成D:\Learn\BigData\Presto\hetu-core\presto-main\etc\filesystem
但是用ideal启动报如下错误:
2022-09-01T17:40:45.900-0500 ERROR main io.prestosql.server.PrestoServer com/google/common/collect/ImmutableList
java.lang.NoClassDefFoundError: com/google/common/collect/ImmutableList
at io.prestosql.plugin.localfile.LocalFilePlugin.getConnectorFactories(LocalFilePlugin.java:36)
at io.prestosql.server.PluginManager.installPlugin(PluginManager.java:303)
at io.prestosql.server.PluginManager.loadPlugin(PluginManager.java:269)
at io.prestosql.server.PluginManager.loadPlugin(PluginManager.java:246)
at io.prestosql.server.PluginManager.loadPlugin(PluginManager.java:237)
at io.prestosql.server.PluginManager.loadPlugins(PluginManager.java:215)
at io.prestosql.server.PrestoServer.run(PrestoServer.java:150)
at io.prestosql.server.PrestoServer.main(PrestoServer.java:91)
Caused by: java.lang.ClassNotFoundException: com.google.common.collect.ImmutableList
at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at io.prestosql.server.PluginClassLoader.loadClass(PluginClassLoader.java:80)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 8 more
The text was updated successfully, but these errors were encountered: