Cannot be cast to class – they are in unnamed module of loader ‘app’

I had a similar case, and (as mentioned by @Holger in the comment) the module info in the message is simply misleading – this is an actual case of trying to cast something to something that doesn’t match it.

In your case, ClientImpl simply is not a subtype of XigniteCurrenciesSoap.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)