After myeclipse converts the workspace, You need to reconfigure JDK.

Source: Internet
Author: User

I have created a new workspace for the new JSP + Oracle project, but it shows that the string type cannot be parsed. After query, I found that JDK needs to be reconfigured to create a new workspace. The configuration process is as follows:

1. window --> preferences --> JAVA --> installed jres --> Add the jdk2.window you want to use --> preferences --> JAVA --> compiler, and select level as the corresponding version, 1.5 is selected for 5.0, and 1.6 is selected for 6.0. This error is because you have redone the system or other reasons, and your ide cannot find the previously set JDK, although you re-installed JDK, but the previous path is still in your ide, it can be run, but the error is displayed on the screen. I Don't Know What ide you are using, so I can't give you a specific modification method, but it is estimated that there are two methods, it's not JB, it's eclipse. You have to delete the old JDK reference of this project in IDE and rereference your new JDK address. It's okay with Tomcat.
Method 2

Right-click the project: properties -- Java build path-libraries

Find JRE system library and find JRE System Library [<? XML: namespace prefix = ST1 NS = "urn: Schemas-Microsoft-com: Office: smarttags"/> 1.6.0 _ 05] After unbond, click Edit, select the JDK installation path for alternate JRE. in this way, the problem is solved.

From: http://zhidao.baidu.com/question/195774786.html

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.