Java. Lang. noclassdeffounderror: COM/MySQL/jdbc/mysqlconnection

Source: Internet
Author: User
Java. Lang. noclassdeffounderror: COM/MySQL/jdbc/mysqlconnection

After getting the adf bcs up, I tried creating a facelet page to display the results. upon trying to run the page, I Have ed a similar MySQL class not found exception. after creating searches and computer restarts due to WLS hanging on Shutdown... I have finally
Found the solution

Error 500-Internal Server Error

Oracle. jbo. jboexception: JBO-29114 adfcontext is not setup to process messages for this exception. use the exception stack trace and error code to investigate the root cause of this exception. root Cause error code is JBO-29000. error message Parameters
Are {0 = java. Lang. noclassdeffounderror, 1 = com/MySQL/jdbc/mysqlconnection}

I tried everything from

Adding the MySQL JAR file to proj Libraries

Adding to "Database: JDBC driver options" in preferences

Adding to c: \ oracle \ middleware \ wlserver_10.3 \ Server \ ext \ JDBC \ mysql \

Adding to c: \ Users \ USERNAME \ appdata \ roaming \ jdeveloper \ system11.1.2.2.39.61.83.1 \ defaultdomain

No dice, and just when I was about to call it quits... Came authentication SS this post:

Https://forums.oracle.com/forums/thread.jspa? Threadid = 424970

"I found that placing the connector jar in the <JDK install>/JRE/lib/EXT resolved this issue for me ."

Finally! Got a page to show up with data! Still, very strange... I'm not sure why after all the attempts to include JAR file as part of the project and in the defaultdomain it wowould still not be picked up!

Things I like about the new jdev:

The connections are part of the project and can be directly imported along with a fresh new checkout from SVN.

From: http://wesfang.wordpress.com/2012/09/06/java-lang-noclassdeffounderror-commysqljdbcmysqlconnection-and-2-hours-later/

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.