1

javax.naming.NamingException: リソース ファクトリ クラスを読み込めませんでした [ルート例外は java.lang.ClassNotFoundException: org.apache.tomcat.dbcp.DataSourceConnectionFactory です]

私はapache-tomcat-6.0.16を使用しています。オペレーティングシステム:Ubuntu、データベースPosrgresql9.1

context.xml の私のコード

<Resource name="jdbc/GisProject" scope="Shareable" type="javax.sql.DataSource"
        factory="org.apache.tomcat.dbcp.DataSourceConnectionFactory"
        url="jdbc:postgresql://localhost:5432/postgres?zeroDateTimeBehavior=convertToNull"
        driverClassName="org.postgresql.Driver"
        username="khushi"
        password="ispl12345"
        maxIdle="5"
        maxActive="50"
 />

4

0 に答える 0