Skip to content

While using annotationProcessor in dependencies of spring boot, getting Could not find or load main class #1556

Description

@iranna-m-31

I have added below dependencies in my spring boot project

implementation("dev.restate:sdk-api:${restateVersion}") annotationProcessor("dev.restate:sdk-api-gen:${restateVersion}")
When my service without debugger java is processing all annotations related to restate, But when i tun the same in using java debugger extension I am getting

`Error: Could not find or load main class {pathToMyMainClass}
Caused by: java.lang.ClassNotFoundException: {pathToMyMainClass}

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions