Skip to content

Developing Your First Spring Boot Application section asks the user to create the application in the root package #43964

@zouchengzhuo

Description

@zouchengzhuo

https://github.com/spring-projects/spring-boot/blob/v3.4.2/spring-boot-project/spring-boot-docs/src/docs/antora/modules/tutorial/pages/first-application/index.adoc

run a simple demo project step by step with the doc below, a error occur:

java.lang.ClassNotFoundException:org.springframework.dao.DataAccessException

The #1839 tell me that should not put main method in the default package. maybe we should update the doc?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions