I am new to Eclispe. I just met a problem. I copy a piece code from a website into the Eclipse. the IDE editor prompt that: Syntax error on tokens, delete these tokens
I am sure that my code is OK. If I manually input the code, it's ok. I open the java file from Notepad++. I found there are some blank spaces(green highlighted). If I remove the green highlighted blanks, the Eclipse errors is gone.
I post some images. I googled for a while, but I didn't find useful information, so I seek help here.
What are those blank spaces? How to eliminate the error when copying? Why does this happen?

Please remove red space, and press Tab again.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With