Eclipse-related issues handling

Source: Internet
Author: User

MAVEN, new Web project, no resource with test directory, Practice: 78679036

Project Right-->buildpath Configure Build Path--Click the tab Libraries--Check JRE System Libraries-click Edit- Check alternate JRE

--Select JDK--click Finish, click OK, and the Src/main/java and Src/test/java appear automatically

Front-end access backstage, front-end report 404, background without error. The cause may be the situation:

1, the request does not add ContextPath, the default value is the project name

2, spring in the configuration file, when scanning the package, the controller layer is not added

Web project, modifying the dynamic Web Module version number, from 2.3 (default)--->3.1

1. Open Navigator Navigation page

2. Under. Settings, locate the Org.eclipse.wst.common.project.facet.core.xml file where <installed facet= "Jst.web" version= " 2.3 "/> changed to 3.1

  

Eclipse-related issues handling

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.