Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiled gson classes are duplicated in the war-file #11429

Closed
1 of 4 tasks
yggdrasildy opened this issue Nov 1, 2019 · 2 comments
Closed
1 of 4 tasks

Compiled gson classes are duplicated in the war-file #11429

yggdrasildy opened this issue Nov 1, 2019 · 2 comments

Comments

@yggdrasildy
Copy link

yggdrasildy commented Nov 1, 2019

Thanks for reporting an issue for Grails framework, please review the task list below before submitting the
issue. Your issue report will be closed if the issue is incomplete and the below tasks not completed.

NOTE: If you are unsure about something and the issue is more of a question a better place to ask questions is on Stack Overflow (http://stackoverflow.com/tags/grails) or Slack (http://slack-signup.grails.org). DO NOT use the issue tracker to ask questions.

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 g401rest1 --profile=rest-api
  2. gradle build

Expected Behaviour

There should be only one instance of each class.

Actual Behaviour

The compiled gson classes located in war://WEB-INF/classes are duplicated

Environment Information

  • Operating System: Ubuntu 18.04
  • Grails Version: 4.0.1
  • JDK Version: 11.0.5-open
  • Container Version (If Applicable): TODO

Example Application

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

I have the same problem with a Grails 3.3.10 application with default json pages

@bobbywarner
Copy link
Member

Closing as PR is merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants