Skip to content

24-test failing on JNDI setup #1

@dforero04

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

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