Elaborated Resolve Error message, adding listener on scanner to emit warnings (It seems nothing was done with the warnings)