Data preparation: Test.txt
The first column is UserID, and the second column is Itemid, and the third column preference Value is the score [plain] view plain copy print? 1,101,5 1,102,3 1,103,2.5 2,101,2 2,102,2.5 2,103,5 2,104,2 3,101,2.5 3,104,4 3,
In the first part of a problem, about the project will compile the original file under the CVS directory also compiled into the class file, so will cause the upload class file problems. The two-day study found that the problem could be solved. The
Because the need to map the database table to the project, so need to build hibernate mapping environment, offline download Hibernate Tools, and then replace the corresponding file, you can restart or no hibernate windows, repeat a few times, or no
The settings for Tomcat in my eclipse:
Preference->tomcat->context Declaration mode->context Files
For example, when applied to Datacheck, the datacheck.xml is stored in the directory:
/conf/catalina/localhost/datacheck.xml
Modify the Datacheck.xml
Importing SVG files No problem with other people's myeclipse2014 eclipse is fine, and to me, there are red spreads in Eclipse and myeclipse2014.
Error tip: The content of element type "Font-face" is incomplete, it must match ((FONT-FACE-SRC,
First, the discovery of problems
Create a new dynamic Web project in Eclipse, configure local tomcat and write code to select Run on Server, but after running, the WebApps found under the Tomcat installation directory does not appear with the
I. Description of the problemProject name not found in Tomcat's installation directory WebApps after running project
Ii. SolutionsMethod One: Eclipse is different from MyEclipse. By default, the project is deployed to the Tomcat installation
When we develop the Server.xml and content.xml files that are sometimes required to be modified under Tomcat, the file is often restored.
The reason is that when you integrate add Tomcat in Eclipse, Eclipse automatically stores the Tomcat profile,
The Freemarker template file uses the Freemarker IDE provided under JBoss tools.
The online installation method is:help–> Install New Software Click and, and then out of the dialog box in the location input:
Javaexception
Error:
The import Javax.servlet cannot be resolved
The import javax.servlet.http.HttpServletRequest cannot be resolved
Describe:
We often take other people's projects copy to their own here for two development or reference, and
One installation eclipse
The JDK is installed before you can install Eclipse 1. Go to the website to download the appropriate eclipseMy system is ubuntu16.04,jdk1.7.Download eclipse-jee-mars-2-linux-gtk-x86_64.tar.gz2. Extract it into the/usr/local
Eclipse RCP (Rich-Client Platform) provides a platform for Java Desktop Program development where users can quickly develop a very scalable desktop program, and the eclipse we use is actually an eclipse RCP is the platform for a development tool
1. Edit related shortcut keys
1. "ctrl+/" Quick Add/Cancel notes;
2. "Ctrl+d" deletes the current line;
3. "Ctrl+m" edit window maximized, restored;
4. "Shift+end/home" selects the current row;
5. Function Outline 6 in the "Ctrl+o" class
.
(Modify Eclispe background for pictures, anyway I was not found, so I wrote a tutorial)
Because of the near-end time, the idea editor, in idea, is allowed to modify the background picture.
For example, you can change the background to this picture
In the hibernate example, when I add a configuration file, Hibernate.cfg.xml does not have a hint. This is because I did not have a problem setting the DTD file, not the same version. It's good to re-import the DTD file. In the same situation,
Some eclipse has already brought git with it, so it doesn't have to be installed. If you want to reinstall, you can uninstall git first, uninstall
Different eclipse offload is not the same:
1. In Eclipse, click menu "Help" and "about Eclipse". Pop
Working with Code templatesEclipse provides the ability to define and use code templates to improve productivity and code predictability.We often need to write the main method in the process of developing Java programs:Publicstaticvoid
1. Create a normal Web project first2. Copy the WSDL file to the specified location3. Generate server-side code information based on WSDL file 3.1 generate service-side code information based on WSDL file (mode one)3.2 Generating service-side code
Command + O: Show outlineCommand + 1: Quick fixCommand + D: delete When moving forwardCommand + Option +↓: Copy the current line to the next lineCommand + Option +↑: Copy the current line to the previous rowOption +↓: The current line and the
Construction and start-up method of this kind of engineering environment-------------------------------------------------------------------------------ConfigurationJdkTomcatMaven (Setting.xml)Download the CodeImport the project--existing MAVEN
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