Today with Servelet technology programming, in the School room success! But why in your own computer but display import java.io.*;
Error? Use the same version of the MyEclipse. Tomcat uses MyEclipse Tomcat. The JDK version is different, the engine room is 1.6, the computer is 1.8.
650) this.width=650; "Src=" Https://s1.51cto.com/oss/201711/01/6d6a0fec7a23264317951b11ef51e44f.png-wh_500x0-wm_3 -wmp_4-s_2673549882.png "title=" Yyp1jih@~v (mazg~gpq6~ (c.png "alt=" 6d6a0fec7a23264317951b11ef51e44f.png-wh_ "/>
It turned out to be a JDK version compatibility issue, and the 1.8 version of the JDK was too high.
I modified:window->preference->java->installed jres-> Select the lower version of Jdk->ok
650) this.width=650; "Src=" Https://s2.51cto.com/oss/201711/01/ce5612e4f2061092d2dc7caeedd07fcf.jpg-wh_500x0-wm_3 -wmp_4-s_2135765571.jpg "title=" 20161122102323468.jpg "alt=" Ce5612e4f2061092d2dc7caeedd07fcf.jpg-wh_ "/>
Import java.io.*; Error problem