Hello JavaRanchers, actually, I work on a working ranch (no kidding). OK here is a good Rant-and-Raver: I am running a testcase against a simple
JDBC oriented class I created in a
Java web app. The JDBC class' constructor attempts to use: org.apache.wicket.markup.html.PackageResource to access a Java Properties file. But before actual
test completes it bails on the following exception. The target file (dbconn.properties) is copied to the same place under the Target directory. Is that thundering hooves of thought I hear?
********************************
ERROR - org.apache.wicket.markup.html.PackageResource$PackageResourceBlockedException: package resource com/mycompany/jdbc/dbconn.properties may not be accessed
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.031 sec <<< FAILURE!
Yet some, not wise, go to the other side of the globe, to barbarous and unhealthy regions, and devote ten or twenty years, in that they may live,-that is, keep comfortably warm,- and die in New England at last. Henry David Thoreau - Walden - 1845