Different error messages in eclim and eclipse

22 views
Skip to first unread message

Nunki

unread,
Sep 13, 2021, 8:31:40 AMSep 13
to eclim-user
Hello,

I have a strange problem, the error message in eclim (in Vim8) and Eclipse are different!

Code is: input = new BufferedReader(reader);

Eclipse says:
Exception in thread "main" java.lang.Error: Unresolved compilation problem:
    The constructor BufferedReader(DataInputStream) is undefined

However, eclim running in Vim via a plugin reports:
error| error: incompatible types: DataInputStream cannot be converted to Reader

Both error messages refer to the same line of code. But why are they different?

Thanks  and best regards!

Nunki

unread,
Sep 20, 2021, 4:49:08 AMSep 20
to eclim-user
I probably found the cause - the Syntastic plugin might have interfered and put the error messages.
Reply all
Reply to author
Forward
0 new messages