Difficult to switch to Java: Configuring the hibernate Environment

Source: Internet
Author: User

To be honest, from. net to Jav is not difficult to solve the syntax, attributes, features and other language problems, but to use the tool habits, run the compilation environment configuration, use of open-source packages, debugging and error prompting are just like blocking my development process.

Starting with myeclipse, the company uses the English version. When configuring the environment, the first obstacle is configuring Lib. First of all, it is a bit depressing. There is a copy of JDK on the local machine, and there is a copy of eclipse itself, which is very confusing. At this time, I ignored one of the most important issues. If I use a Tomcat server, in addition to JDK, any jar package must be placed in Tomcat's lib (global) or lib under the web-bin of this project (only used in this project). Here I have made two mistakes:

I. I thought it would be enough to export the jar on the local machine. The following error occurs frequently: classnotfound.

2. put several different versions of jar in the Lib package

Lesson: You must carefully study the myeclipse tutorial to avoid many detours.

When I write a test program and run the debugging program, the second obstacle is: The sourcenotfound error often occurs during the gradual debugging of the statement. I am very depressed. I am debugging this statement, how can I skip the jar package and execute it? Sometimes, jump to a breakpoint that I have not set for no reason

The third obstacle: write a program, and the errors may not be understood. Go to the Internet to find them. · A waste of time

Lesson: Keep in mind common Java errors that throw exceptions

Stuts, velocity, and Hibernate are used in the project to prevent Land Rover attacks: No one can go to the official website to view the English API documentation. Although the English language is not bad, many technical terms won't, only one electronic dictionary can be prepared. However, I seem to like a foreign website: the introduction is clear. When I open the page, I can see that download is provided for download. Unlike Chinese websites, download the so-called popular browser or something ···

Note: The process of developing stuts and Hibernate is depressing. Many errors are thrown and cannot be understood.

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.