Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Java, Eclipse, SQL(bank system)
Java, Eclipse, SQL [message #1760397] Wed, 26 April 2017 15:30 Go to next message
kieron smith is currently offline kieron smithFriend
Messages: 1
Registered: April 2017
Junior Member
Hi , I have a uni assignment due in 4 days. my assignment is to make a banking system. i decided to do it a way with a database. I have all the code for my banking system and sql files however i keep getting errors when running the program
im using php myadmin to run the database and the rest in eclipse. when i run my banksystem code in eclipse i get the error

"No suitable driver found for jdbc:mysql://localhost:8080/bankdatabase
Error in checkAccount_Depsoit: java.lang.NullPointerException
-1
"
when i run the createaccountframe it will open up with the system i can fill it in etc but as as soon as i click create account i get the error

" Error in checkAccount_ISA: java.lang.NullPointerException
Error in checkAccount_Current: java.lang.NullPointerException
Error in checkAccount_Depsoit: java.lang.NullPointerException
Error in checkAccount_ISA: java.lang.NullPointerException
> Creating account...
"
Re: Java, Eclipse, SQL [message #1760495 is a reply to message #1760397] Thu, 27 April 2017 17:18 Go to previous message
Patrik Suzzi is currently offline Patrik SuzziFriend
Messages: 86
Registered: June 2010
Location: Imola, Italy
Member

This post is OT
( unless you decide to build the application with Eclipse RCP Smile

Your application needs to talk with the DB using a specific DB driver.
Looking at the error it looks like you did not include the mysql driver into your application.

So, you should find the mysql db driver jar, and add it to your libraries.
ie. https://dev.mysql.com/downloads/connector/j/5.0.html

Best regards,

Patrik Suzzi
Consultant Software Engineer,
Eclipse Platform Committer
https://about.me/psuzzi

[Updated on: Thu, 27 April 2017 17:22]

Report message to a moderator

Previous Topic:OM2M Vs Ocean
Next Topic:Eclipse Neon on Ubuntu Budgie
Goto Forum:
  


Current Time: Thu Nov 15 02:25:19 GMT 2018

Powered by FUDForum. Page generated in 0.01918 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top