Cannot Create JDBC Driver of Class' FOR Connect URL 'NULL' Solution

xiaoxiao2021-03-06  55

Solution (1) Solution: Find the .xml file corresponding to your web application under% Tomcat_Home% / Conf / Catalina / localhost, such as Test.xml, and add the code under this file:

Restart Tomcat.

You are the server's global JNDI resource, and RESOURCE with INITIALCONTEXT is found to find it. If you want to find the Server Resource, you have to join a ResourceLink pointing to the global resource in the Context environment in the Web Application.

global -> The name of the linked global resource in the global JNDI context.name -> The name of the resource link to be created, relative to the java: comp / env context.?type -> The fully qualified Java Class Name Expected by the Web Application When IT Performs a lookup for this resource link.

转载请注明原文地址:https://www.9cbs.com/read-113810.html

New Post(0)