Skip to content
This repository has been archived by the owner on Jul 13, 2022. It is now read-only.

ClassCastException when Importing a Spring Getting Started Project #370

Closed
phoppe9966 opened this issue Mar 27, 2019 · 3 comments
Closed
Milestone

Comments

@phoppe9966
Copy link

I use Eclipse 4.8 Photon with the Spring Tools 3 Addon 3.9.7.RELEASE installed.
I try to Import a Spring Getting Started Project with:

File -> New -> Other -> Spring Boot -> Import Spring Getting Started Content

Then I get the following Error:

The selected wizard could not be started.
Plug-in "org.springframework.ide.eclipse.boot.wizard" was unable to instantiate class "org.springframework.ide.eclipse.boot.wizard.guides.GSImportWizard".
ClassCastException: attempting to castbundleresource://1621.fwk1437454238:7/javax/ws/rs/client/ClientBuilder.class to bundleresource://1614.fwk1437454238/javax/ws/rs/client/ClientBuilder.class

What can I do?

@martinlippert
Copy link
Contributor

I guess this is a duplicate of this:
spring-projects/sts4#202

We just released 3.9.8, so please update to that release (or start with a fresh STS 3.9.8 distribution), that should solve the issue.

@martinlippert martinlippert added this to the 3.9.8.RELEASE milestone Mar 27, 2019
@martinlippert
Copy link
Contributor

I should also mention that updating to STS 3.9.8 would also mean to update at least to Eclipse 2018-09 (Eclipse 4.9).

@phoppe9966
Copy link
Author

Thank you Martin.
I will change to Eclipse 4.9 and install the new Spring Tools Plugin 3.9.8.

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

No branches or pull requests

2 participants