Skip to content
This repository was archived by the owner on Jul 18, 2025. It is now read-only.
This repository was archived by the owner on Jul 18, 2025. It is now read-only.

Getting error 'java/lang/NoClassDefFoundError': vowpalWabbit/responses/ActionProb #9

Description

@pallavi080596

Hi,

I am trying to run contextual MAB algo by creating this learner:
static VWActionProbsLearner learner = VWLearners.create("--cb_explore_adf -q UA --softmax --lambda 20 --noconstant --permutations --learning_rate 0.8 --readable_model path.txt --invert_hash path_1.txt -f saved_model.vw --holdout_off --early_terminate 2");
After this, I am trying to predict using this command:
ActionProbs[] testPreds = new ActionProbs[]{learner.predict(vwTextExample)};

While calling this, I am getting error:
Getting error 'java/lang/NoClassDefFoundError': vowpalWabbit/responses/ActionProb

Can you please help here, what can be the issue ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions