Eclipse Java EE references the JDBC times error: DB driver and connection resolution not found

Source: Internet
Author: User

When building a shopping site, replace the IDE with Eclipse Java EE. Configuring JDBC before working in a myeclipse environment is a direct right-click Project to bring in the appropriate jar package through build path, but this does not work under eclipse-Eclipse will always prompt for DB drivers and connections when calling DB. Searching the web, we found that the JDBC jar package was introduced into Project's Webcontent/web-inf/lib directory to solve the problem.

Original link: http://blog.csdn.net/liyong199012/article/details/8063845

But there is a question: Why would eclipse put the JDBC jar package in the WebContent directory? The individual feels that the JDBC jar package should be part of the Java resource, which is not related to the web. What do you think?

Eclipse Java EE references the JDBC times error: DB driver and connection resolution not found

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.