Skip to content

Using maven; result fails to start over java.lang.ClassNotFoundException: org.springframework.context.event.GenericApplicationListener #2

@paulvi

Description

@paulvi

Using maven-shade-plugin 2.3 (the same as in spring inherited poms)

Problem io.github.szjug.shade project

<dependencies>
    <dependency>
        <groupId>io.github.szjug</groupId>
        <artifactId>io.github.szjug.greeting</artifactId>
        <version>0.1.0</version>
    </dependency>
    <dependency>
        <groupId>io.github.szjug</groupId>
        <artifactId>io.github.szjug.who</artifactId>
        <version>0.1.0</version>
    </dependency>
</dependencies>

got maven errors:

Missing artifact io.github.szjug:io.github.szjug.greeting:jar:0.1.0
Missing artifact io.github.szjug:io.github.szjug.who:jar:0.1.0

Solved by running mvn install

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions