Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Some time ago I had similar problems, too. The reason was that I consumed two SOAP web services deployed on a jBoss Application server (now wildly). Both services shared the same class on server-side. My client did not recognize this till I synchronized the wsdl files using some tools.
-
One more potential reason, but unlikely. A class is also identified by it's class loaders. So a Class<String> loaded by System class loader does not equal Class<String> loaded by webappclassloader.
-
@kaqqao Even dumber. Both on my side than on Eclipse's feedback : An import was missing, I thought I did it with the bad habits of keyboard shortcuts. But there were no way to notice that, since the quick fix proposed by Eclipse was a cast.
-
@nickhh Actually, that's more simple and pretty stupid : An import was missing. I usually do the shortcut to organize imports, and I thought I did it when I started to use those elements. Looks like my bad habit is part of responsibility, with the IDE feedback
Related Rants
"Type mismatch : cannot convert from Root<MyClassType> to Root<MyClassType>"
Ok Eclipse, I'm gonna make some coffee for you too.
undefined
java