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

Eclipse throws ClassCastException with Gradle v8.1 when using Composite Build #1237

Open
xxxxDyeAxxxx opened this issue Apr 20, 2023 · 0 comments

Comments

@xxxxDyeAxxxx
Copy link

After updating Gradle to version 8.01 and refreshing the project that includes another build , Eclipse throws ClassCastException in the console

Expected Behavior

not having errors after upgrading to Gradle v8.1.

Current Behavior

, the following exception appears in the console:

Execution failed for task ':eclipseWtpComponent'. class org.gradle.composite.internal.CompositeProjectComponentArtifactMetadata cannot be cast to class org.gradle.internal.component.local.model.PublishArtifactLocalArtifactMetadata (org.gradle.composite.internal.CompositeProjectComponentArtifactMetadata and org.gradle.internal.component.local.model.PublishArtifactLocalArtifactMetadata are in unnamed module of loader org.gradle.initialization.MixInLegacyTypesClassLoader @76c3e77a)

Steps to Reproduce

  • Upgrade to Gradle v8.1.
  • include build in another build
  • Refresh the project.
  • Observe the console for the ClassCastException error message.

Your Environment

  • Gradle version: 8.1
  • Operating system: windows 10
  • IDE: Eclipse (4.27.0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant