Thanks for the heads up - knowing about bugs like that these is a time saver.
Thanks for the heads up - knowing about bugs like that these is a time saver.
Costin Leau
SpringSource - http://www.SpringSource.com- Spring Training, Consulting, and Support - "From the Source"
http://twitter.com/costinl
Please use [ c o d e ] [ / c o d e ] tags
Thanks everyone for your help. It seems that the spaces were causing the problem.
This is my first use of the Spring forum and I'm impressed with the feedback. Hopefully, I'll have the chance to return the favor soon.
Boy was I glad to find this thread :-) I've been having some problems with my spring/jpa/hibernate project and it turns out that the parent directory of my project has a space in the name. Once I renamed the parent dir everything worked. I'm using Spring 2.0.1, Hibernate core 3.2.1.ga, Hibernate EM 3.2.0.ga, and Hibernate annotations 3.2.0.ga.
I thought I'd post this in case someone thought the bug was fixed in Hibernate.
I've created a ticket for this, as the current behaviour is not guaranteed to work in all cases.
http://opensource.atlassian.com/proj...rowse/SPR-3748
Hope you guys are ok with posting this here - I have similiar issues with error trying to scan <jar-file> file://dbb.int.dexwired.net/dfs/.....
exception from java.io.File : URI has an authority component
This is coming from:
public File(URI uri) {
// Check our many preconditions
if (!uri.isAbsolute())
throw new IllegalArgumentException("URI is not absolute");
if (uri.isOpaque())
throw new IllegalArgumentException("URI is not hierarchical");
String scheme = uri.getScheme();
if ((scheme == null) || !scheme.equalsIgnoreCase("file"))
throw new IllegalArgumentException("URI scheme is not \"file\"");
if (uri.getAuthority() != null)
throw new IllegalArgumentException("URI has an authority component");
if (uri.getFragment() != null)
throw new IllegalArgumentException("URI has a fragment component");
if (uri.getQuery() != null)
throw new IllegalArgumentException("URI has a query component");
String p = uri.getPath();
if (p.equals(""))
throw new IllegalArgumentException("URI path component is empty");
// Okay, now initialize
p = fs.fromURIPath(p);
if (File.separatorChar != '/')
p = p.replace('/', File.separatorChar);
this.path = fs.normalize(p);
this.prefixLength = fs.prefixLength(this.path);
}
So is there a problem with scanning remote directories / workaround etc - or did I miss something here?
Thanks for your help