-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
workload-fn with java lambda expression cannot access external maven dependencies #5
Comments
mikub
added a commit
that referenced
this issue
Jan 11, 2020
…ndencies on classpath (fix for issue #5)
Fixed in commit 880ea80 - This change breaks java lambda unit testing on Java 9 and higher though |
mikub
added a commit
that referenced
this issue
Jan 11, 2020
mikub
added a commit
that referenced
this issue
Jan 11, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Additional external maven dependencies loaded during runtime are accessible to all workflow step functions - i.e. either to clojure library functions, java classes or clojure anonymous functions.
They however do not seem to be visible to java lambda function code (see 4 in wiki)
Steps to reproduce:
Expected behaviour: no error in step 3, instead the java lambda code should see the library on the classpath.
Example:
[com.github.librepdf/openpdf "1.3.11"]
If I don't use java lambda and just switch to clojure fn I can instantiate
com.lowagie.text.Document
without issues:The text was updated successfully, but these errors were encountered: