We first open eclipse, as follows:
We can see that there is no web. xml file under the "Web-inf" folder.
This is what the reason is, let's take a look at this, let's start with a new Web project, as follows:
We click on "file", as follows:
We click on the winning position as follows:
We then click "Next" instead of the direct point "done", as follows:
We then click on "Next", as follows:
http://blog.csdn.net/fanchuande/article/details/50942690 installing Eclipse html/jsp/xml Editor plugin in online eclipseeditor1. Open the Help ———— >install New software in eclipse2. Click the Add button, then pop up a box, the first text box can be written casually, the second must be written: Http://download.eclipse.org/releases/juno, and then determine3. Wait a few minutes to come back as shown:Select th
Problem Description: When writing a Web project using Eclipse, the SRC package contains the XML file, but when using Tomcat deployment, the Java file was successfully deployed and compiled for the class file, but the XML file was not successfully deployed. Solution: Right-click the project-->buildpath-->configure buildpath-->source tab--Select the corresponding p
When you open or edit an XML file by using Eclipse, if the XML file header references an XSD or DTD, it can sometimes be suspended, because eclipse will then verify the XSD or DTD files that are declared on the line, and then feign death if the connection is slow. The solution is to import some of the slower-connected
When Eclipse builds the SSM Framework project (Web project) through Maven, the default web.xml file version is 2.3,JRE version 1.5, and there are various issues in modifying its versionFor example:is missing and is set to trueJavaServer Faces 2.2 can not be installed : One or more constraints have not been satisfied.JavaServer Faces 2.2 requires Dynamic Web Module 2.5 or newer等问题When you look up a method, the configuration order error is also the caus
today want to use Eclipse to build an SSH login demo, the results of the Struts.xml file tag properties can not be prompted, looked up some information, but only to solve the label, but For the attributes in the tag can not be prompted, after their own after some attempts to solve this problem, special posted out to share with you. 1. Window-preferences, search for XML catalog directly in the input box, sel
Tags: fast def add selected IPs htm ONS action SocA lot of friends found in the ME6.0 or with the high version of "Ctrl+shift+c" or "ctrl+shift+/" shortcut keys no matter how you point, it just doesn't work, annoyed?Baidu or Google have not found a reasonable argument, what is more said to be the gap of the high version of me, in fact, only a little change can be, by chance found a solution to share with you:1.JSP file comments on, right-click on the file and open with select Myeclips JSP Editor
Reprinted from: http://www.2cto.com/database/201501/372023.html
Eclipse generates the Hibernate annotated entity class from the database backwards
added Hibernate profile: "1" Right-click on Project->new->others, select new Hibernate profile
"2" fill in the corresponding parameters
Added database configuration file "1" To open Hibernate configurations module, add configuration
Select database:
The XML file reported a checksum error in eclipse:The content of element type "Web-app" must match "(icon?,display-name?,description?,distributable?,context-param*, Filter*,filter-mapping*,listener*,servlet*,servlet-mapping*,session-config?,mime-mapping*,welcome-file-list?, error-page*,taglib*,resource-env-ref*,resource-ref*,security-constraint*,login-config?,security-role*, env-entry*,ejb-ref*,ejb-local-ref*) "....Web.
In some versions of Eclipse and MyEclipse for Java EE, each double-click on a JSP file opens half a Web browser, half a page code editor,and write code always very uncomfortable, automatically refresh the page editor.The cursor that causes the code to be written will always jump automatically,Always right-click a JSP file to select JSP Editor to open the Pure Code Editor.In fact you can set Eclipse and MyEc
Recently, I experienced the feeling of running PHP on the android simulator. The overall situation is good. The specific installation steps are as follows:Article: Http://anzhiba.com/how-to-test-drive-google-android-on-your-pc/?comment-1115. As long as the software is correct, there is basically no problem. After the management and communication with the PHP for Android group, follow this article:
This error occurs when you run the project, causing failure to run:
After searching for a
Lazy, a picture with the following steps to get it done.1, right-click the project, select Propertities after the selection of ① (obscured);2, first do not ② tick off, Click Apply, and then in the ② place tick. At this point the ④ position will appear east, click the Blue Hyperlink. Fill in the path created by Web-inf. Maven Project fill in Src/main/webapp Remember to tick the option to automatically create Web. XML below and click OK.Add: In step 2,
Prompt for adding Hibernate configuration file
Decompress the hibernate. jar package
Locate the hibernate-configuration-3.0.dtd and hibernate-mapping-3.0.dtd under the org \ hibernate directory
Open Eclipse --> Window --> Preferences --> Web and XML --> XML Catalog
Click Add XML Catalog Entry on the right
Locati
I have been writing projects these days to find that my previous projects can access, in a period of time to write this project is not able to access, did not find the logic of the code error, but is not access to JSP page, the project was released is a 404 error, and later found that it was released to Tomcat above the project did not publish index.jsp with the Web. xml file, the Lib package is not even published. Here are the details of the process
Original address: http://blog.csdn.net/hdfyq/article/details/5821038:
Reason: Eclipse default code line width is 80, after formatting code, often wrapped, very ugly.
Workaround: JSP and XML are simpler to solve.
Open a JSP or XML. Right key->preferences-->source--> Find line width changed to 200.
Java Solution:
Window==>preferences==>java==>code
Add Hibernate profile hint
Extract Hibernate.jar Package
Find Hibernate-configuration-3.0.dtd and HIBERNATE-MAPPING-3.0.DTD in the Org\hibernate directory
Open Eclipse-->window-->preferences-->web and Xml-->xml Catalog
On the right click Add XML Catalog Entry
Location: Introducing the DTD file mentioned above
Key
Java Code auto prompt feature settings:
Configuration steps:
1 Windows > Preferences > Java > Editor > Content Assist
2 "Auto activation triggers for Java" This option refers to the option that triggers the code hint,
Put the "." Modified to ". Abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz"
XML code auto Hint feature setup step:
To set code hints for XML files
Open
In eclipse, sometimes in an XML file, especially in a spring-related configuration file, there are compile errors that do not affect the normal operation of the program, such as:
Referenced file contains errors (http://www.springframework.org/schema/beans/spring-beans-4.0.xsd).
You can resolve this compilation error by following these steps:
1. The version of spring is changed, but the
The following is a summary of the eclipse Error Log after this error occurs:
## An Unexpected error has been detected by hotspot virtual machine:## Exception_access_violation (0xc0000005) at PC = 0x6d2617ae, pid = 5136, tid = 3824## Java VM: Java hotspot (TM) Client VM (1.5.0-b64 Mixed Mode)# Problematic frame:# C [fontmanager. dll + 0x217ae]#
--------------- T h r e a d ---------------
Current thread (0x003e28): javathread "Main" [_ thread_in_native
Test Editors, and there are other options, such as the color style of the error prompt, which you can try to change as needed. Eclipse Font Sizing: Window/preferences/general/appearance/colorsand Fonts, in the Right dialog box, select Java–java Editor Text Font, click to appear Edit button, you can set the font size of the program displayed in the main form, click Apply in the bottom right corner after setting up, and then click OK (OK).
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.