Problems encountered when configuring the struts2 environment in eclipse

Source: Internet
Author: User

I used to do everything in the past and get used to myeclipse. Now I want to use eclipse, but there are still some problems. I haven't built my own web project for a long time, so I feel a lot new. Configuring the struts2 environment in eclipse should be similar to that in myeclipse. It may have been a long time since the last configuration. I don't know what to do if any problem occurs. But after all, I was depressed for half a day.

First, copy the package directly to Lib, which is different from the configuration in build path. Why is that? I have never figured it out. Think about it. It turns out that when a common Java project is created, packages such as database drivers are configured through Build path, but when a web project is created, many of them are indeed copied to the Lib package. For me, I just want to remember it, but I cannot figure out its implementation mechanism.

Second, I finally started tomcat, but I was unable to locate the specified action. After searching for a long time, it turned out that the result was not added with/, and then the operation was successful.

Again, the Details determine success or failure. I think that everything like setting up an environment can be done with my eyes closed. I didn't want to do it any longer, and I didn't do it well with my eyes closed. Super depressing

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.