mysql database connection :Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial
Exception in thread "main" java.lang.NullPointerException
at com.gohigh.web.wang.reportcreate.db.MySqlDB.getSelectSql(MySqlDB.java:45)
at com.gohigh.web.wang.reportcreate.db.MySqlDB.main(MySqlDB.java:113)
请指点一下这是怎么回事?在这里面用到了一个mysql.properties文件调出jndi
Exception in thread "main" java.lang.NullPointerException
at com.gohigh.web.wang.reportcreate.db.MySqlDB.getSelectSql(MySqlDB.java:45)
at com.gohigh.web.wang.reportcreate.db.MySqlDB.main(MySqlDB.java:113)
请指点一下这是怎么回事?在这里面用到了一个mysql.properties文件调出jndi
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货