Skip to content

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

@iranna-m-31

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}

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