DEV Community

Gilbert Ngeno
Gilbert Ngeno

Posted on

Failed to start bean 'documentationPluginsBootstrapper' in spring data rest

I am using spring data rest for my application.

I am getting following error and application doesn't get started when I add this method in repository:-

Method:-

@Modifying
@Transactional
@Query("from employee as ft where ft.company.id = ?1")
void deleteAllEmployeeCompany(
        @Param("companyId") @RequestParam("companyId") int companyId);

Error:-

org.springframework.context.ApplicationContextException: Failed to start bean 'documentationPluginsBootstrapper';

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay