java.lang.ClassCastException: org.apache.naming.NamingContext cannot be cast to javax.sql.DataSource
cn.com.guestbook2.MysqlUtil.init(MysqlUtil.java:32)
cn.com.servlet.getMessageServlet.doGet(getMessageServlet.java:28)
javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
谢谢啦!
------解决方案--------------------
类型转换错误 查下~