更新时间:2023-09-21 14:43:22
我看到了一个context.xml,所以我假设这是在Tomcat上运行的(非常有用的信息让你知道)。
I see a context.xml, so I'm assuming this is to be run on Tomcat (quite useful information to give you know).
Tomcat要求您还在web.xml中的数据源中添加一个条目--Tomcat文档非常清楚地解释了这一点。
Tomcat requires you to also put an entry to the datasource in your web.xml - the Tomcat documentation explains all that quite clearly.
http://tomcat.apache.org/tomcat-7.0-doc/jndi-datasource-examples-howto .html