Eclipse syntax error on tokens, delete these tokens
<p>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</p>

<p>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.</p>

<p>I post some images. I googled for a while, but I didn't find useful information, so I seek help here.</p>

<p>What are those blank spaces? How to eliminate the error when copying?
Why does this happen? </p>

<p><a href="https://i.stack.imgur.com/HF4UX.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/HF4UX.jpg" alt="enter image description here"></a>
<a href="https://i.stack.imgur.com/umPNP.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/umPNP.jpg" alt="enter image description here"></a></p>