question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Missing dependent libraries of embulk-core 0.9.0

See original GitHub issue

I tried to upgrade my plugin to v0.9.0 but encountered the error below.

sishimura% ./gradlew compileKotlin
:compileKotlin
Using kotlin incremental compilation
w: The '-d' option with a directory destination is ignored because '-module' is specified
e: /path/of/embulk-input-remote/src/main/kotlin/org/embulk/input/remote/RemoteFileInputPlugin.kt: (3, 12): Unresolved reference: fasterxml
e: /path/of/embulk-input-remote/src/main/kotlin/org/embulk/input/remote/RemoteFileInputPlugin.kt: (4, 12): Unresolved reference: google
e: /path/of/embulk-input-remote/src/main/kotlin/org/embulk/input/remote/RemoteFileInputPlugin.kt: (33, 27): Unresolved reference: Optional
e: /path/of/embulk-input-remote/src/main/kotlin/org/embulk/input/remote/RemoteFileInputPlugin.kt: (49, 26): Unresolved reference: Optional
e: /path/of/embulk-input-remote/src/main/kotlin/org/embulk/input/remote/RemoteFileInputPlugin.kt: (75, 19): Unresolved reference: Optional
e: /path/of/embulk-input-remote/src/main/kotlin/org/embulk/input/remote/RemoteFileInputPlugin.kt: (79, 22): Unresolved reference: Optional
e: /path/of/embulk-input-remote/src/main/kotlin/org/embulk/input/remote/RemoteFileInputPlugin.kt: (83, 23): Unresolved reference: Optional
e: /path/of/embulk-input-remote/src/main/kotlin/org/embulk/input/remote/RemoteFileInputPlugin.kt: (153, 25): Unresolved reference: it
e: /path/of/embulk-input-remote/src/main/kotlin/org/embulk/input/remote/RemoteFileInputPlugin.kt: (158, 57): Unresolved reference: it
e: /path/of/embulk-input-remote/src/main/kotlin/org/embulk/input/remote/RemoteFileInputPlugin.kt: (202, 14): Unresolved reference: JsonProperty
e: /path/of/embulk-input-remote/src/main/kotlin/org/embulk/input/remote/RemoteFileInputPlugin.kt: (203, 14): Unresolved reference: JsonProperty
e: /path/of/embulk-input-remote/src/main/kotlin/org/embulk/input/remote/RemoteFileInputPlugin.kt: (204, 14): Unresolved reference: JsonProperty
e: /path/of/embulk-input-remote/src/main/kotlin/org/embulk/input/remote/SSHClient.kt: (38, 48): Unresolved reference: it
:compileKotlin FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':compileKotlin'.
> Compilation error. See log for more details

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 1.716 secs

It seems that dependent libraries of embulk-core 0.9.0 cannot be resolved.

sishimura% ./gradlew dependencies --configuration compile
:dependencies

------------------------------------------------------------
Root project
------------------------------------------------------------

compile - Dependencies for source set 'main'.
+--- org.jetbrains.kotlin:kotlin-stdlib:1.1.1
|    \--- org.jetbrains:annotations:13.0
+--- com.hierynomus:sshj:0.19.1
|    +--- org.slf4j:slf4j-api:1.7.7
|    +--- org.bouncycastle:bcprov-jdk15on:1.51
|    +--- org.bouncycastle:bcpkix-jdk15on:1.51
|    |    \--- org.bouncycastle:bcprov-jdk15on:1.51
|    +--- com.jcraft:jzlib:1.1.3
|    \--- net.i2p.crypto:eddsa:0.1.0
+--- com.jcraft:jzlib:1.1.3
\--- org.embulk:embulk-core:0.9.0

(*) - dependencies omitted (listed previously)

BUILD SUCCESSFUL

Total time: 0.729 secs

They can be resolved on embulk-core 0.8.39

sishimura% ./gradlew dependencies --configuration compile 
:dependencies

------------------------------------------------------------
Root project
------------------------------------------------------------

compile - Dependencies for source set 'main'.
+--- org.jetbrains.kotlin:kotlin-stdlib:1.1.1
|    \--- org.jetbrains:annotations:13.0
+--- com.hierynomus:sshj:0.19.1
|    +--- org.slf4j:slf4j-api:1.7.7 -> 1.7.12
|    +--- org.bouncycastle:bcprov-jdk15on:1.51
|    +--- org.bouncycastle:bcpkix-jdk15on:1.51
|    |    \--- org.bouncycastle:bcprov-jdk15on:1.51
|    +--- com.jcraft:jzlib:1.1.3
|    \--- net.i2p.crypto:eddsa:0.1.0
+--- com.jcraft:jzlib:1.1.3
\--- org.embulk:embulk-core:0.8.39
     +--- org.embulk:embulk-jruby-strptime:0.8.39
     |    \--- org.jruby:jruby-complete:9.1.13.0
     +--- org.embulk:guice-bootstrap:0.1.1
     |    \--- com.google.inject:guice:4.0
     |         +--- javax.inject:javax.inject:1
     |         +--- aopalliance:aopalliance:1.0
     |         \--- com.google.guava:guava:16.0.1 -> 18.0
     +--- com.google.guava:guava:18.0
     +--- com.google.inject:guice:4.0 (*)
     +--- com.google.inject.extensions:guice-multibindings:4.0
     |    \--- com.google.inject:guice:4.0 (*)
     +--- javax.inject:javax.inject:1
     +--- com.fasterxml.jackson.core:jackson-annotations:2.6.7
     +--- com.fasterxml.jackson.core:jackson-core:2.6.7
     +--- com.fasterxml.jackson.core:jackson-databind:2.6.7
     |    +--- com.fasterxml.jackson.core:jackson-annotations:2.6.0 -> 2.6.7
     |    \--- com.fasterxml.jackson.core:jackson-core:2.6.7
     +--- com.fasterxml.jackson.datatype:jackson-datatype-guava:2.6.7
     |    +--- com.fasterxml.jackson.core:jackson-databind:2.6.7 (*)
     |    +--- com.fasterxml.jackson.core:jackson-core:2.6.7
     |    \--- com.google.guava:guava:15.0 -> 18.0
     +--- com.fasterxml.jackson.datatype:jackson-datatype-joda:2.6.7
     |    +--- com.fasterxml.jackson.core:jackson-annotations:2.6.0 -> 2.6.7
     |    +--- com.fasterxml.jackson.core:jackson-core:2.6.7
     |    +--- com.fasterxml.jackson.core:jackson-databind:2.6.7 (*)
     |    \--- joda-time:joda-time:2.2 -> 2.9.2
     +--- com.fasterxml.jackson.module:jackson-module-guice:2.6.7
     |    +--- com.fasterxml.jackson.core:jackson-core:2.6.7
     |    +--- com.fasterxml.jackson.core:jackson-databind:2.6.7 (*)
     |    \--- com.google.inject:guice:3.0 -> 4.0 (*)
     +--- ch.qos.logback:logback-classic:1.1.3
     |    +--- ch.qos.logback:logback-core:1.1.3
     |    \--- org.slf4j:slf4j-api:1.7.7 -> 1.7.12
     +--- org.slf4j:slf4j-api:1.7.12
     +--- org.jruby:jruby-complete:9.1.13.0
     +--- com.google.code.findbugs:annotations:3.0.0
     +--- org.yaml:snakeyaml:1.18
     +--- javax.validation:validation-api:1.1.0.Final
     +--- org.apache.bval:bval-jsr303:0.5
     |    +--- org.apache.bval:bval-core:0.5
     |    |    +--- org.apache.commons:commons-lang3:3.1 -> 3.4
     |    |    \--- commons-beanutils:commons-beanutils-core:1.8.3
     |    \--- org.apache.commons:commons-lang3:3.1 -> 3.4
     +--- io.airlift:slice:0.9
     +--- joda-time:joda-time:2.9.2
     +--- io.netty:netty-buffer:4.0.44.Final
     |    \--- io.netty:netty-common:4.0.44.Final
     +--- org.fusesource.jansi:jansi:1.11
     +--- org.msgpack:msgpack-core:0.8.11
     +--- com.ibm.icu:icu4j:54.1.1
     +--- org.eclipse.aether:aether-api:1.1.0
     +--- org.eclipse.aether:aether-spi:1.1.0
     |    \--- org.eclipse.aether:aether-api:1.1.0
     +--- org.eclipse.aether:aether-util:1.1.0
     |    \--- org.eclipse.aether:aether-api:1.1.0
     +--- org.eclipse.aether:aether-impl:1.1.0
     |    +--- org.eclipse.aether:aether-api:1.1.0
     |    +--- org.eclipse.aether:aether-spi:1.1.0 (*)
     |    \--- org.eclipse.aether:aether-util:1.1.0 (*)
     \--- org.apache.maven:maven-aether-provider:3.3.9
          +--- org.apache.maven:maven-model:3.3.9
          |    +--- org.codehaus.plexus:plexus-utils:3.0.22
          |    \--- org.apache.commons:commons-lang3:3.4
          +--- org.apache.maven:maven-model-builder:3.3.9
          |    +--- org.codehaus.plexus:plexus-utils:3.0.22
          |    +--- org.codehaus.plexus:plexus-interpolation:1.21
          |    +--- org.codehaus.plexus:plexus-component-annotations:1.6
          |    +--- org.apache.maven:maven-model:3.3.9 (*)
          |    +--- org.apache.maven:maven-artifact:3.3.9
          |    |    +--- org.codehaus.plexus:plexus-utils:3.0.22
          |    |    \--- org.apache.commons:commons-lang3:3.4
          |    +--- org.apache.maven:maven-builder-support:3.3.9
          |    |    +--- org.codehaus.plexus:plexus-utils:3.0.22
          |    |    \--- org.apache.commons:commons-lang3:3.4
          |    +--- com.google.guava:guava:18.0
          |    \--- org.apache.commons:commons-lang3:3.4
          +--- org.apache.maven:maven-repository-metadata:3.3.9
          |    \--- org.codehaus.plexus:plexus-utils:3.0.22
          +--- org.eclipse.aether:aether-api:1.0.2.v20150114 -> 1.1.0
          +--- org.eclipse.aether:aether-spi:1.0.2.v20150114 -> 1.1.0 (*)
          +--- org.eclipse.aether:aether-util:1.0.2.v20150114 -> 1.1.0 (*)
          +--- org.eclipse.aether:aether-impl:1.0.2.v20150114 -> 1.1.0 (*)
          +--- org.codehaus.plexus:plexus-component-annotations:1.6
          +--- org.codehaus.plexus:plexus-utils:3.0.22
          \--- org.apache.commons:commons-lang3:3.4

(*) - dependencies omitted (listed previously)

BUILD SUCCESSFUL

Total time: 4.518 secs

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
dmikurubecommented, Feb 9, 2018

@kamatama41 This will be fixed in v0.9.1 soon… Stay tuned!

0reactions
dmikurubecommented, Feb 9, 2018
Read more comments on GitHub >

github_iconTop Results From Across the Web

JNI cannot find dependent libraries - Stack Overflow
I have profiled my application with "Dependency Walker" (version 2.2). ... How can I find what dependent library is missing?
Read more >
How to Install Fritzing and Fix Missing Dependency Error ...
In this tutorial, I will explain how to install Fritzing on Ubuntu as well as how to resolve the following missing dependency errors...
Read more >
Generate Report failed on AIX platform due to missing ... - IBM
Dependent libraries can be missing in the environment running Data Server Manager. Possible problem can be: Required dependent libraries are ...
Read more >
Dependency Management for Interpreter - Apache Zeppelin
Dependency Management for Interpreter. You can include external libraries to interpreter by setting dependencies in interpreter menu.
Read more >
Using Python libraries with AWS Glue
For your dependency tooling to be maintainable, you will have to bundle your dependencies before submitting. Python modules already provided in AWS Glue....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found