File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

getting compile time error

 
saikrishna cinux
Ranch Hand
Posts: 689
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
this is the error when compile my java file i am using oci driver


D:\Tomcat4\webapps\VisuTestingServices\WEB-INF\classes>javac -d . MainServlet.java
.\oracle\jdbc\driver\OracleDriver.java:128: cannot resolve symbol
symbol : method setRestrictGetTables (boolean)
location: class oracle.jdbc.driver.OracleConnection
((OracleConnection)connection).setRestrictGetTables(s11.equalsIgnoreCase("true"
));
^
.\oracle\jdbc\driver\OracleDriver.java:130: cannot resolve symbol
symbol : method setDefaultFixedString (boolean)
location: class oracle.jdbc.driver.OracleConnection
((OracleConnection)connection).setDefaultFixedString(s12.equalsIgnoreCase("true
"));
^
.\oracle\jdbc\driver\OracleDriver.java:131: cannot resolve symbol
symbol : method setAccumulateBatchResult (boolean)
location: class oracle.jdbc.driver.OracleConnection
((OracleConnection)connection).setAccumulateBatchResult(s13.equalsIgnoreCase("true"
));
^
.\oracle\jdbc\pool\OracleOCIConnectionPool.java:150: makeURL() has private access in oracle
.jdbc.pool.OracleDataSource
makeURL();
^
.\oracle\jdbc\pool\OracleOCIConnectionPool.java:167: cannot resolve symbol
symbol : method getConnectionPoolInfo ()
location: class oracle.jdbc.oci8.OCIDBAccess
Properties properties = ((OCIDBAccess)((OracleConnection) (m_connection_pool)).db_a
ccess).getConnectionPoolInfo();
^
.\oracle\jdbc\pool\OracleOCIConnectionPool.java:225: cannot resolve symbol
symbol : method getConnectionPoolInfo ()
location: class oracle.jdbc.oci8.OCIDBAccess
Properties properties = ((OCIDBAccess)((OracleConnection) (m_connection_pool)).db_a
ccess).getConnectionPoolInfo();
^
.\oracle\jdbc\pool\OracleOCIConnectionPool.java:236: cannot resolve symbol
symbol : method getConnectionPoolInfo ()
location: class oracle.jdbc.oci8.OCIDBAccess
Properties properties = ((OCIDBAccess)((OracleConnection) (m_connection_pool)).db_a
ccess).getConnectionPoolInfo();
^
.\oracle\jdbc\pool\OracleOCIConnectionPool.java:247: cannot resolve symbol
symbol : method getConnectionPoolInfo ()
location: class oracle.jdbc.oci8.OCIDBAccess
Properties properties = ((OCIDBAccess)((OracleConnection) (m_connection_pool)).db_a
ccess).getConnectionPoolInfo();
^
.\oracle\jdbc\pool\OracleOCIConnectionPool.java:258: cannot resolve symbol
symbol : method getConnectionPoolInfo ()
location: class oracle.jdbc.oci8.OCIDBAccess
Properties properties = ((OCIDBAccess)((OracleConnection) (m_connection_pool)).db_a
ccess).getConnectionPoolInfo();
^
.\oracle\jdbc\pool\OracleOCIConnectionPool.java:268: cannot resolve symbol
symbol : method getConnectionPoolInfo ()
location: class oracle.jdbc.oci8.OCIDBAccess
Properties properties = ((OCIDBAccess)((OracleConnection) (m_connection_pool)).db_a
ccess).getConnectionPoolInfo();
^
.\oracle\jdbc\pool\OracleOCIConnectionPool.java:278: cannot resolve symbol
symbol : method getConnectionPoolInfo ()
location: class oracle.jdbc.oci8.OCIDBAccess
Properties properties = ((OCIDBAccess)((OracleConnection) (m_connection_pool)).db_a
ccess).getConnectionPoolInfo();
^
.\oracle\jdbc\pool\OracleOCIConnectionPool.java:343: cannot resolve symbol
symbol : method getConnectionPoolInfo ()
location: class oracle.jdbc.oci8.OCIDBAccess
Properties properties = ((OCIDBAccess)((OracleConnection) (m_connection_pool)).db_a
ccess).getConnectionPoolInfo();
^
.\oracle\jdbc\pool\OracleOCIConnectionPool.java:377: cannot resolve symbol
symbol : method setConnectionPoolInfo (java.util.Properties,oracle.jdbc.oci.OracleOCIConne
ction)
location: class oracle.jdbc.oci8.OCIDBAccess
((OCIDBAccess)((OracleConnection) (m_connection_pool)).db_access).setConnection
PoolInfo(properties1, m_connection_pool);
^
Note: MainServlet.java uses or overrides a deprecated API.
Note: Recompile with -deprecation for details.
13 errors

what might be the problem??
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 33674
316
Eclipse IDE Java VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you have classes12.jar in your compile time classpath?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic