Adding datasource - Could not initialize class com.microsoft.jdbc.sqlserver.SQLServerDriver

179 views
Skip to first unread message

song...@gmail.com

unread,
Jul 14, 2015, 7:49:08 PM7/14/15
to comma...@ortussolutions.com


Just download CommandBox 2.0 and tried to create a datasource to SQL server and got the following error.. 

Could not initialize class com.microsoft.jdbc.sqlserver.SQLServerDriver

Any idea?

br...@bradwood.com

unread,
Jul 14, 2015, 10:40:00 PM7/14/15
to comma...@ortussolutions.com
My first guess is that the MS JDBC driver doesn't come with the Lucee CLI.  You can check the .CommandBox/lib folder and see if it's there.  Then try adding it to see if that fixes it.
 
Is there a longer error message you can provide with a stack trace?  It could also be some other Java error.  Check the .CommandBox/logs log file as well as your server log file "server log".

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

E-mail: br...@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com 
 
 
--------- Original Message ---------
--
You received this message because you are subscribed to the Google Groups "CommandBox" group.
To unsubscribe from this group and stop receiving emails from it, send an email to commandbox+...@ortussolutions.com.
To post to this group, send email to comma...@ortussolutions.com.
Visit this group at http://groups.google.com/a/ortussolutions.com/group/commandbox/.
To view this discussion on the web visit https://groups.google.com/a/ortussolutions.com/d/msgid/commandbox/0e4790b8-1d01-4245-89c1-9e244ea35572%40ortussolutions.com.
For more options, visit https://groups.google.com/a/ortussolutions.com/d/optout.
Reply all
Reply to author
Forward
0 new messages