• Post Reply Bookmark Topic Watch Topic
  • New Topic

why this error  RSS feed

 
shivdhwaj pandey
Ranch Hand
Posts: 67
Java PHP Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Error java.lang.ClassNotFoundException: sun.jdbc.odbc.JdbcOdcDriver Error inserting valuejava.lang.ArrayIndexOutOfBoundsException: 12
 
Nam Ha Minh
Ranch Hand
Posts: 515
Eclipse IDE Firefox Browser Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
shivdhwaj pandey wrote:Error java.lang.ClassNotFoundException: sun.jdbc.odbc.JdbcOdcDriver Error inserting valuejava.lang.ArrayIndexOutOfBoundsException: 12


The JdbcOdcDriver class was not found in the classpath, make sure you add the JDBC driver library to the classpath.
 
shivdhwaj pandey
Ranch Hand
Posts: 67
Java PHP Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks dear one problem solved but this is still there"Error inserting valuejava.lang.ArrayIndexOutOfBoundsException: 12"
 
Matthew Brown
Bartender
Posts: 4568
9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, that's caused by trying to add something to an array when the array isn't big enough (you're adding into the index 12, but the array must be of size <= 12). So look for somewhere that might be happening. The stack trace ought to tell you where it's happening.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!