Skip to content

gradle assemble produces jar that causes stacktrace when UI accessed #11251

@sbortman

Description

@sbortman

Task List

  • Steps to reproduce provided
  • Stacktrace (if present) provided
  • Example that reproduces the problem uploaded to Github
  • Full description of the issue provided (see below)

Steps to Reproduce

  1. grails create-app foobar
  2. cd foobar
  3. remove war plugin from build.gradle
  4. gradle assemble
  5. java -jar build/libs/foobar-0.1.jar
  6. open http://localhost:8080 in browser

Expected Behaviour

See standard Grails page for any new app

Actual Behaviour

HTTP Status 500 - Internal Error page in browser
Stacktrace in console (attached)

Environment Information

Example Application

  • TODO: link to github repository with example that reproduces the issue

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions