No.1 first built the Web engineering structure.
Introduction to 1.1.1 development environment
Here I am using the MySQL database
The compiler version uses the JDK for 1.8
The development tool is using the Eclipse Mars version
The Web container
Eclipse's Tomcat server plug-in Tomcatplugin was developed by the Sysdeo company, and its download address is: Http://www.sysdeo.com/eclipse/tomcatplugin,
Plug-in installation is very simple, only need to extract the downloaded tomcatPluginV31 to
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,
Using the SVN plug-in in Eclipse, it was normal, unchanged, and the system was installed two days later, the version number, the status icon for the file, and so on, are gone when you view the file in Eclipse. There is a plug-in conflict, uninstall
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 recent editing of code in MyEclipse, using shortcut keys to copy and paste, often lead to a short pause editor, the cursor does not follow, incredibly reactive, almost suspended animation.
Think about what should be the editor of what the
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 has a red exclamation mark;This can be done in general, and the processing method is from the network1, right key item name BuildPath---> Configure build paht ... , and then there are several tabs above to find a package with a path error in
(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
Requirements: To manage git in eclipse, submit updates, Push, file restore, etc.
Solution: Install Eclipse plug-in, Egit, Egit is the abbreviation of Eclipse gitOperation Steps:The first step: Open the Web page
Problem
Open the editor, Chinese characters are garbled.There are two main types of situations:① "Chen ュ by Juan 婃 Tide" garbled② "Ρ" garbled reason
Garbled is the result of different encoding methods. For example, upload SVN Code Editor encoding
Long time do not write code, suddenly need to write a small program, Rusty, Record knowledge Points Memo:
Performance: After importing the project into the workspace, the compile-time display maven is downloading resources, but the speed is too slow
First, Chinese garbledWindow System, when you import new items in Eclipse, you may encounter problems with Chinese garbled characters.Solution: Change the system default format to GBK to UTF-8. Here are the specific workarounds that you can choose
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
After you add local tomcat to eclipse, Eclipse automatically copies a copy of Tomcat's configuration into Eclipse's workspace, and you can see the server project in the working directory under Project explore view. The conf of the local tomcat was
Construction and start-up method of this kind of engineering environment-------------------------------------------------------------------------------ConfigurationJdkTomcatMaven (Setting.xml)Download the CodeImport the project--existing MAVEN
First, download and install the JDKHttps://www.cnblogs.com/zhangchao0515/p/6806408.htmlSecond, download and unzip eclipseHttps://www.cnblogs.com/zhangchao0515/p/6806408.htmlThird, configure Eclipse1. Eclipse complete function, see my blog
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.