-
Notifications
You must be signed in to change notification settings - Fork 20
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
24-test failing on JNDI setup #1
24-test failing on JNDI setup #1
Comments
The error occurs when you use Gradle, but not when you use Maven because the build.gradle in this project is missing a key dependency that is present in the pom.xml :
Add the folowing line to the build.gradle of the module 24-test and it should work :
|
fixes vmware-tanzu-learning#1 (cherry picked from commit 7edfe8b)
Why is this not merged yet? Ran into the same problem |
Can this please be merged? As soon as I added |
When trying to run the RewardNetworkTests with the @ActiveProfile({"jndi", "jdbc"}) annotation, I receive the following error:
javax.naming.NoInitialContextException: Cannot instantiate class: org.osjava.sj.SimpleContextFactory
.I am guessing that I may need to include the org.osjava.sj.SimpleContextFactory jar into my classpath, but I am unsure.
Any suggestions on how to get this test passing?
Here is a screenshot of the error:
The text was updated successfully, but these errors were encountered: