Development tools--eclipse Use and common problem solving

Source: Internet
Author: User
Tags aop

How to query the Eclipse version number:method One:Method Two:under the Eclipse installation directory, find the Readme folder, which has a Web page open to see the current version;change of Eclipse to English:Eclipse Mybatis Generator plug-in installation:method One: Online installation

location:http://mybatis.googlecode.com/svn/sub-projects/generator/trunk/eclipse/updatesite/Eclipse keeps building workspace There are many reasons why this problem occurs:
    1. Automatic upgrade
    2. did not close properly
    3. Maven download lib Hang et ....
Workaround:WorkaroundMethod 1: Modify the Eclipse startup file Eclipse.ini to add a startup parameter parameter to the-vmargs-xmx512mMethod 2. Turn off the auto-build workspace: Project--Build Auto... .. Method 3 Adds a command to the Eclipse.ini style-clean (2) Increase the maximum amount of memory available for Eclipse OperationWhat to do: Modify the Eclipse.ini in the Eclipse directory,-xmx512m, such as change to-xmx768m(3), reduce the plug-in that automatically starts after Eclipse startsoperation: In Preferences, general, startup and Shutdown: Remove the items except Plug-ins activated on startup (such as Mylyn, etc. Removed)effect: After you start eclipse, there will be a initialing Java tools scroll bar that will find a lot faster.(4), reduce the compilation needs to verify the project, improve the compilation speedspecific operation: in Preferences, validataion will be irrelevant validator removed, such as: I will not have nothing to do with me JPA, JSP, WS have removed the effect: when compiling the project, Eclipse ran validator project less , it's really fast.(5), turn off automatic compilationWhat to do: Project--build automatically effect: Automatic compilation does not start after code modification is saved.(6), in clean, you should pay attention to the optionsWhat to do: Project, cleanNote: At the bottom are: build the entire workspace and build only the selected Projectsto check according to your own situation, because the default option is to compile the entire workspace.(7), display memory usage (can be manually gc) specific operation: Preference, General, show Heep status (8), save your own perspective specific operation: 1. Window, Save perspective as2. Preference, perspective, make default sets the perspective you have just created or your own common(9), close the automatic release of the serveraction: Never publish automatically, publishing, ServerSource Link: http://www.juapk.com/thread-3026-1-1.htmlEclipse Spring configuration file tips:When we use Eclipse to edit spring configuration files, we often don't have a hint when we don't. Now we're going to solve the problem without prompting. The reason is because the XSD file is not configured in Eclipse Step One: Copy the following header files into your spring configuration file. <?xml version= "1.0" encoding= "UTF-8"?><beans xmlns= "Http://www.springframework.org/schema/beans" xmlns:xsi= "Http://www.w3.org/2001/XMLSchema-instance" xmlns:aop= "Http://www.springframework.org/schema/aop" xmlns:tx= "Http://www.springframework.org/schema/tx" xmlns:jdbc= "Http://www.springframework.org/schema/jdbc" xmlns:context= "Http://www.springframework.org/schema/context" xmlns:util= "Http://www.springframework.org/schema/util" xsi:schemalocation= "Http://www.springframework.org/schema/context http://www.springframework.org/schema/ Context/spring-context-3.0.xsdHttp://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsdHttp://www.springframework.org/schema/jdbc http://www.springframework.org/schema/jdbc/spring-jdbc-3.0.xsd http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-3.0.xsdHTTP://WWW.SPRINGFRAMEWORK.ORG/SCHEMA/AOP http://www.springframework.org/schema/aop/spring-aop-3.0.xsdHttp://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-3.0.xsd "> </beans> Step Two: Click on the link in the header file to download the corresponding version of spring. XSD file to local Step three: after downloading, the next thing to do is add it to eclipse. Enter in the Eclipse menu window->prefernces->xml->xml catalog->add->file System, then select the download just now . XSD file Location : like C:\spring-beans-2.5.xsd Key Type: Select schema locationkey: fill in springframework.org/schema/beans/spring-beans-3.0.xsd After adding, restart Eclipse to see if there are any prompts to add a few more versions. xsd file trySubclipse team to receive anonymous usage statistics for this Eclipse intance (info)reprinted from: http://blog.csdn.net/myfxx/article/details/21096949

Development tools--eclipse Use and common problem solving

Related Article

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.