MyEclipse the project configuration problem after reloading the system--a rookie experience!

Source: Internet
Author: User

The computer doesn't know why the traffic suddenly gets bigger.

A check svchost.exe background download old multi-system. A security guard is a fundamental use, operation and maintenance said with a Penguin Butler.

The result is a bird-like.

Before is the system is 32 bit win7 4G memory uses not to finish. And I'm going to upgrade the memory, so I've got 64 bits of Win7

Because a lot of things have been installed in the D drive. So you don't have to install any software.

However, it is still found that MyEclipse 6.5 has a big problem. It may be that the version is too old and often stutter. Right-click Properties often appear blank.

It's all kind of uncomfortable anyway.

Listen to the same time buddies said myeclipse2014 speed is much faster. So he asked him to give him an installation package. He was also kind enough to put the Java jdk1.6 64bit version on the way.

I'm going to get dizzy in the back. So that it creates a variety of problems. Wasted a day of time. Make the night work overtime now.

One problem is the operating environment: in fact, it has always been vague, do not know where to configure.

There are two ways to access the configuration:

The first:preferences--java--installed jres This is exactly the place to manage the operating environment and also to compile the environment.

The second one: right-click Tomcat. (Because I remember the configuration of Tomcat very well, so I got Tomcat first)

Configure the path to Tomcat:preferences--myeclipse--servers--tomcat--tomcat6.x--jdk

1. If "First" is already configured, it is automatically selected by default.

2. The first one is not configured, just click Add to configure it. Note the configuration here is the JRE environment. However, at first I did not understand, just click here to configure, think Tomcat is in the directory below Tomcat. Because Tomcat also comes with a JRE environment, it doesn't get an error.

When configuring tomcat, allocate memory variables at the same time: prevent the project from too much memory overflow (our project must be configured)

Optional Java VM arguments:

-xms512m-xmx768m-xx:permsize=256m-xx:maxpermsize=512m

The second issue is the compilation environment. Well, actually, there should be no problem here. The 1th has already agreed. The main is to give me a wake up.

The third problem is configuring the jar package.

There are 3 kinds: One is the Java EE jar, which is the specification package of the JavaScript. Common types of Web projects are used.

A jar package is a running environment that is generally only used in accordance with the configuration of the running environment above.

The last one is the jar package that is most commonly said.

Because they are self-taught, watching video. No system has been studied ..... Well, actually, I'm lazy.

So the simplest questions are not understood. It's embarrassing.

Here's a little reminder: In the configuration jar package is best put:Project--build automatically in front of the hook to the hook. Otherwise, with a jar package he will recompile once, very card. Of course, your computer is good to ignore this.

Hey, because I didn't go to this hook, one afternoon to die at least 10 times. And also make the computer slow.

Question fourth: Tomcat's server.xml configuration. Tomcat installation directory--conf directory--server.xml file

Two places:

1.http Port: default is 8080;

<connector port="8090" protocol= "http/1.1" connectiontimeout= "20000"
redirectport= "8443"/>

2. Project path: add context under host;

Unpackwars= "true" autodeploy= "true"
Xmlvalidation= "false" Xmlnamespaceaware= "false" >
<context path= "/chinauip.cfc5" docbase= "D:\javaproject\chinauip.cfc5\WebRoot" debug= "0" reloadable= "false" ></Context>
</Host>

3. My login path: http://localhost:8090/chinauip.cfc5/business

Fifth: After the jar is configured, it is best to empty the \webroot\web-inf\classes directory in the project.

With I found 6.5 is not automatically cleared, 2014 will automatically empty. Other versions don't have to say much.

Let's put the auto-compile tick on and turn the reboot off. Patience waits for compilation to complete. Execute again, or there will be an error that class did not find.

Rookie notes, there is a mistake to welcome correct.

Overtime is complete. Go home. Oh.

The project configuration problem that MyEclipse encountered after reloading the system--a rookie experience!

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.