Import java.io.*; Error problem

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.