본문 바로가기

development/tomcat

cannot create JDBC driver of class "" for connect URL 'null'

<Context docBase="ㅇㅇㅇ" path="ㅇㅇㅇ" reloadable="true" source="org.eclipse.jst.j2ee.server:ㅇㅇㅇ">
        <ResourceLink name="users" global="UserDatabase"
                type="org.apache.catalina.UserDatabase"/>
      <Resource name="JNDI이름" auth="Container" type="javax.sql.DataSource"
                 maxActive="100" maxIdle="30" maxWait="10000"
                 username="계정" password="비번" driverClassName="oracle.jdbc.driver.OracleDriver"
                 url="jdbc:oracle:thin:@아이피:1521:orcl"/>
      </Context>

위의 형태로 server.xml을 수정해준다.