首页上一页 1 下一页尾页 7 条记录 1/1页
关于物流信息网的问题
发表在JavaWeb图书答疑
2009-09-13
是否精华
是
否
版块置顶:
是
否
在运行《JSP项目开发全程实录》中物流信息网的时候,Tomcat6.0运行出现如下错误:
javax.naming.NamingException: Cannot create resource instance
at org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceF
actory.java:143)
at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:3
04)
at org.apache.naming.NamingContext.lookup(NamingContext.java:793)
at org.apache.naming.NamingContext.lookup(NamingContext.java:153)
at com.wqx.JDBConnection.<clinit>(JDBConnection.java:19)
at org.apache.jsp.login_005fconfig_jsp._jspService(login_005fconfig_jsp.
java:60)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
.java:374)
我使用的是SQLServer2000数据库,但数据源配置已经根据书上的改了,找了好多还是不知道问题出在哪里,请高手帮忙,
javax.naming.NamingException: Cannot create resource instance
at org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceF
actory.java:143)
at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:3
04)
at org.apache.naming.NamingContext.lookup(NamingContext.java:793)
at org.apache.naming.NamingContext.lookup(NamingContext.java:153)
at com.wqx.JDBConnection.<clinit>(JDBConnection.java:19)
at org.apache.jsp.login_005fconfig_jsp._jspService(login_005fconfig_jsp.
java:60)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
.java:374)
我使用的是SQLServer2000数据库,但数据源配置已经根据书上的改了,找了好多还是不知道问题出在哪里,请高手帮忙,