jdbc_driverClassName is not bound in this Context.

web.xml配置如下:

Test DataSource
jdbc/Test
javax.sql.DataSource
Container
Shareable

tomcat下context.xml如下:
<Context path="E:\编程\j2ee\Web Maven Webapp">

<Resource name="jdbc/Test"
    auth="Container" 
    type="javax.sql.DataSource"
    username="root"
    password="root"
    driverClassName="com.mysql.jdbc.Driver"
    maxIdle="10"
    url="jdbc:mysql://localhost:3306/finaldesign"
    maxActive="10"/>

    还是有错误

"javax.naming.NameNotFoundException: Name jdbc is not bound in this Context"

 

这个错误网络上一大堆。大概知道这是应为WEB-INF里的web.xml文件中没有以下配置或者是配置错误:

 

  GuestBook

  jdbc/oracleds  

  javax.......
答案就在这里:Name jdbc is not bound in this context
----------------------Hi,地球人,我是问答机器人小S,上面的内容就是我狂拽酷炫叼炸天的答案,除了赞同,你还有别的选择吗?

不行,我的jsp里面没有要改的那段