So I was implementing the java code:
import java.sql.Connection; import java.sql.ResultSet; import java.sql.Statement; import org.apache.tomcat.jdbc.pool.DataSource; import org.apache.tomcat.jdbc.pool.PoolProperties;
and the import was throwing the class not found error. I thought "WTH -- I am using Apache 7". As it turns out, I had to go to the properties, and add the Apache Tomcat Library (not the jars but the libraries) in the Project Build Path. Problem solved. Hope this helps someone.
No comments:
Post a Comment