Eclipse-crazy for you

Source: Internet
Author: User

JSP development for the company background ~ Poor, for the sake of a plug-in, I have made a lot of eclipse software back and forth, so there are many problems with it ....

I use the "Eclipse IDE for Java EE developers" version ~ "Failed to create virtual machine"

I searched the internet and said that the allocated memory is too large. I want to change the 128 m in the ecipse. ini file to M,

After the file is imported, there are many problems. There are a lot of forks in the SRC ~ Shame ~

1. "httpservlet cannot be resolved to a type". It turns out that the javax. servlet package cannot be found in eclipse. solution:

Cause:
JDK does not include the servlet-api.jar package, which exists in Tomcat
Project name --> right-click
Property --> select
Java build path --> select
Add external jars --> select
Enter the path of the servlet-api.jar.

[Solution: http://blog.csdn.net/zhouyingge1104/article/details/7583511]

2. After eliminating many forks, the "com. jspsmart. Upload" package still has many forks ~ This is even worse. I searched a lot of blog posts on the Internet, and the solution was useless ~~~ At last I feel by myself, casually added a package, even line, wireless language, the method is the same as above, the path of the jsp-api.jar input.

There are still problems after these errors are eliminated ~

The program cannot run normally. In the end, no project is successfully imported.

Right-click the project and choose Properties"

Click "convert to..." on the right ....."


Then select the third "dynamic web module" and click the application. It is said that there is a box popped up, but I don't have it, so it's 404 ~ I finally asked for help ~ I don't know what's going on, alas ~


Then the HTML page runs normally, but the JSP file does not work. Click "run" to run it directly.


Solution:

In the eclipse directory, open idea e. ini

Add

-VM

C:/program files/Java/jdk1.6.0 _ 10/bin/javaw.exe

This is the JDK path and runs the program directly .... So many software, there are many issues with eclipse. I 've been around for a long time .....

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.