java.lang.NoClassDefFoundError

com/facebook/presto/hadoop/$internal/org/apache/http/client/utils/URIBuilder

Samebug tips6

jsp-api and servlet-api jars must NOT be deployed by your web app. They should be marked as provided but not deployed by your app.

The server rejects all jars that already belong to the server runtime (such as tomcat-.jar, servlet.jar). Consider substituting the CORS filter you're using for this one: https://goo.gl/ctQ7Fs

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web28576

  • com/facebook/presto/hadoop/$internal/org/apache/http/client/utils/URIBuilder
  • via GitHub by syepes
    , 1 year ago
    com/facebook/presto/hadoop/$internal/org/apache/commons/net/util/SubnetUtils
  • org/apache/http/client/utils/URIBuilder
  • Stack trace

    • java.lang.NoClassDefFoundError: com/facebook/presto/hadoop/$internal/org/apache/http/client/utils/URIBuilder at org.apache.hadoop.crypto.key.kms.KMSClientProvider.createURL(KMSClientProvider.java:433) at org.apache.hadoop.crypto.key.kms.KMSClientProvider.decryptEncryptedKey(KMSClientProvider.java:773) at org.apache.hadoop.crypto.key.KeyProviderCryptoExtension.decryptEncryptedKey(KeyProviderCryptoExtension.java:388) at org.apache.hadoop.hdfs.DFSClient.decryptEncryptedDataEncryptionKey(DFSClient.java:1395) at org.apache.hadoop.hdfs.DFSClient.createWrappedInputStream(DFSClient.java:1465) at org.apache.hadoop.hdfs.DistributedFileSystem$3.doCall(DistributedFileSystem.java:305) at org.apache.hadoop.hdfs.DistributedFileSystem$3.doCall(DistributedFileSystem.java:299) at org.apache.hadoop.fs.FileSystemLinkResolver.resolve(FileSystemLinkResolver.java:81) at org.apache.hadoop.hdfs.DistributedFileSystem.open(DistributedFileSystem.java:312) at org.apache.hadoop.fs.FileSystem.open(FileSystem.java:767) at org.apache.hadoop.mapred.LineRecordReader.<init>(LineRecordReader.java:108) at org.apache.hadoop.mapred.TextInputFormat.getRecordReader(TextInputFormat.java:67) at com.facebook.presto.hive.HiveUtil.lambda$createRecordReader$2(HiveUtil.java:166) at com.facebook.presto.hive.RetryDriver.run(RetryDriver.java:136) at com.facebook.presto.hive.HiveUtil.createRecordReader(HiveUtil.java:166) at com.facebook.presto.hive.GenericHiveRecordCursorProvider.createHiveRecordCursor(GenericHiveRecordCursorProvider.java:47) at com.facebook.presto.hive.HivePageSourceProvider.getHiveRecordCursor(HivePageSourceProvider.java:129) at com.facebook.presto.hive.HivePageSourceProvider.createPageSource(HivePageSourceProvider.java:107) at com.facebook.presto.spi.connector.classloader.ClassLoaderSafeConnectorPageSourceProvider.createPageSource(ClassLoaderSafeConnectorPageSourceProvider.java:44) at com.facebook.presto.split.PageSourceManager.createPageSource(PageSourceManager.java:48) at com.facebook.presto.operator.TableScanOperator.createSourceIfNecessary(TableScanOperator.java:268) at com.facebook.presto.operator.TableScanOperator.isFinished(TableScanOperator.java:210) at com.facebook.presto.operator.Driver.processInternal(Driver.java:375) at com.facebook.presto.operator.Driver.processFor(Driver.java:301) at com.facebook.presto.execution.SqlTaskExecution$DriverSplitRunner.processFor(SqlTaskExecution.java:618) at com.facebook.presto.execution.TaskExecutor$PrioritizedSplitRunner.process(TaskExecutor.java:529) at com.facebook.presto.execution.TaskExecutor$Runner.run(TaskExecutor.java:665) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.ClassNotFoundException: com.facebook.presto.hadoop.$internal.org.apache.http.client.utils.URIBuilder at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at com.facebook.presto.server.PluginClassLoader.loadClass(PluginClassLoader.java:102) at java.lang.ClassLoader.loadClass(ClassLoader.java:357)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 2 months ago
    Unknown user
    Once, 3 months ago
    Once, 6 months ago
    Unknown user
    Once, 9 months ago
    Once, 11 months ago
    1538 more bugmates