Skip to content

ClassCastException: ApplicationStartedEvent cannot be cast to ApplicationEnvironmentPreparedEvent #8793

Closed
@TadahTech

Description

@TadahTech

Ran into a weird issue with Spring Boot, and I'm not sure what's causing it.

Gist of the error: https://gist.github.com/TadahTech/fa28e407c1ad473d2a9cd5341fae9bdc

Pom's can be found here: https://gist.github.com/TadahTech/0bfe87b52d942b98649c89628980d0e6

The project layout is as follows:

Central core system Server Side implementation Client side implementation

Both client side and server side are maven modules of the parent.

I've been trying to solve this for hours, with no luck. I've attempted to remove all dependencies from the pom's other than boot, but still the same error. Any ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    for: stackoverflowA question that's better suited to stackoverflow.com

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions