DEV Community

Thiago
Thiago

Posted on

1 1

Consider defining a bean named ‘entityManagerFactory‘ in your configuration.

At a loss, I found that I had commented on the main startup class:

@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)

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