Camunda Cockpit plugin not publishing itself correctly

Hi I’m a beginner in Camunda and Cockpit plugins. I’m trying to create a Cockpit plugin with Java Spring backend.

With this in mind, I seem to be struggling to change the javax.ws.rs annotations to spring equivalents like @Path annotations to @RequestMapping. Every time I do these changes it seems that Cockpit does not load.

Has anyone developed a plugin with a Java spring backend that has any idea what can be causing this?