Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8354663
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T09:37:12+00:00 2026-06-09T09:37:12+00:00

I am using mysql-connector-java-5.1.18-bin.jar for database connectivity from a view. The JDBC connectivity code

  • 0

I am using mysql-connector-java-5.1.18-bin.jar for database connectivity from a view.
The JDBC connectivity code has been used in 3 JSP-struts2 projects in eclipse Helios and works fine there.
Here it is throwing

***No suitable driver found for jdbc:mysql://localhost:3306/studentinfo***.

***!ENTRY org.eclipse.ui 4 0 2012-08-10 14:45:22.635
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.NullPointerException
at org.iiitb.studentinfo.CaptureDetails.LoadToDatabase(CaptureDetails.java:50)*** and stack trace goes on. 

Any clue why it is happening?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T09:37:13+00:00Added an answer on June 9, 2026 at 9:37 am

    You have to include mysql-connector-java-5.1.18-bin.jar file into Build Path or copy it to WEB-INF/lib folder.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using Mysql database and neatbeans IDE conncting by mysql-connector-java-5.1.21 jdbc , and I
I'm accessing public mySQL database using JDBC and mySQL java connector . exonCount is
I have added my mysql-connector-java-5.1.18-bin.jar to jre and jdk libs. And Here it is:
I'm using a MySQL database and accessing it through Java. PreparedStatement prep1 = this.connection.prepareStatement(
I am trying to connect to a MySQL Server using JDBC tool in java
I am using Glassfish 3.1.1 and hibernate 3.6.5 with MySQL 5.1 + mysql-connector-java-5.1.6 Intermittently
Using Java, I get this error when attempting to connect to a mysql database:
I have created a java SE application that uses the mysql database using mysql
I'm getting this error while running tomcat 'java.lang.ClassNotFoundException: com.mysql.jdbc.Driver'. I'm using a combination of
I am using the mysql java connector. I need java to display the contents

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.