Skip to content
This repository was archived by the owner on Jan 22, 2024. It is now read-only.
This repository was archived by the owner on Jan 22, 2024. It is now read-only.

Jar build for Gradle Hello World project can not be run #18

@agap

Description

@agap

I've imported the Gradle's hello-world project in Intellij Idea 15. Whenever I run the jar command from the 'Gradle Projects' command, the resulting jar does not have the 'Main-Class' entry in the manifest, so when I try to run "java -jar hello-world.jar", I see the following error: no main manifest attribute, in build/libs/hello-world.jar.

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