Database error : (CS) "Java Class not found in classpath : com.mysql.jdbc.Driver" . (WIS 10901)
Follow below troubleshooting steps
1. Locate jdbc.sbo file and make sure that you have added “ClassPath” with correct MySQL Connector jar file.
<ClassPath>
<Path>/home/boxi/ bobj/enterprise_xi40/dataAccess/connectionServer/jdbc/mysql-connector-java-5.1.25-bin.jar</Path>
</ClassPath>
2. Update environment variable CLASSPATH with correct jar file path.
3. Make sure that the MySQL Connector jar file is right version, means for 64bit O/S or app use 64bit jar file.
Common Error in ODBC:-
1. The below error message is very common when using ODBC(.odbc.ini) connection
[01000][unixODBC][Driver Manager]Can't open lib '/home/boxi/bobj/enterprise_xi40/linux_x64/odbc/lib/libmyodbc5a.so' : /home/boxi/bobj/enterprise_xi40/linux_x64/odbc/lib/libmyodbc5a.so: wrong ELF class: ELFCLASS32
Cause: The file is not the right version
Possible Solution: The file is not 64-bits version of the libmyodbc5a.so, install the right version. Use 32bit version of the libmyodbc5a.so, if using 32bit.
Download MySQL Connector/ODBC
Regards
Satishbabu Gunukula, Oracle ACE
http://www.oracleracexpert.com
Thank you so much! This error is exactly what I have, this post helps me so much.
ReplyDeleteinstagram technology
Work with databases is available only for programmers. If you are a humanitarian, then I advise you to write papers and not to start programming. If you have problems with writing papers then you can use such a service as the best essay writing service https://orderessay.net/writing-an-essay-about-yourself.html (that also propose writing essay that has a type "essay about yourself"/"essay about myself") in order to learn how to write papers and become a professional writer that will be suitable as for a humanitarian.
ReplyDelete