Skip to content

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

@izeye

Description

@izeye

When 'org.springframework.boot:spring-boot-starter-web' dependency is only added and

run the following code:

@EnableAutoConfiguration
@ComponentScan
public class Application {

    public static void main(String[] args) {
        SpringApplication.run(Application.class);
    }

}

Got the following exception:

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

I think there's no reason to get the above exception.

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: invalidAn issue that we don't feel is valid

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions