While following the Oracle JDBC tutorial, I made it to the step after changing the build.xml
file and corresponding javadb properties
and mysql properties
files as described in the tutorial.
There were multiple specific errors during compilation and one warning:
Errors: 34 (8 of these) and 36 (two of these)
Warning: regarding a deprecated Object class method called finalize()
Error 34 and 36 both give similar issues mentioning com.sun.rowset
not being visible. Being new to using the jar
command, another message directly below the warning says things like "import com.sun.rowset.WebRowSetImpl;". I'm not sure if this has to do with access levels like public, protected, and private or if visible
means something else in the context of the javac tool.
I could not figure out how to attach an image to show the messages. Here is one example of the error messages (all of which are nearly identical with different things not being visible):
[javac] (package com.sun.rowset is declared in module java.sql.rowset, which does not export it)
[javac] C:\Users\antfe\Downloads\JDBCTutorial\JDBCTutorial\src\com\oracle\tutorial\jdbc\WebRowSetSample.java:36: error: package com.sun.rowset is not visible
[javac] import com.sun.rowset.WebRowSetImpl;
Link to Oracle JDBC Tutorial (CTRL-F: Compile and Package the Samples to jump to it): Oracle JDBC Tutorial