Skip to content

24-test failing on JNDI setup #1

Description

@dforero04

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:
Screenshot 2023-03-14 at 4 27 33 PM

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions