Hi All, Windows XP sp2 sun jdk 1.6.0_11 2.1-SNAPSHOT from trunk
The fix for CAMEL-1974 (Package scanning cannot be used for folders containing special characters ) seems to cause a problem on my Windows machine (XP). This is a trace from a default camel-archetype-java project ran using camel:run classloader: java.net.urlclassloa...@189acb5 [pache.camel.spring.Main.main()] efaultPackageScanClassResolver TRACE URL from classloader: jar:file:/C:/Documents and Settings/TaylorJohn. GS/.m2/repository/org/apache/camel/camel-core/2.1-SNAPSHOT/camel-core-2.1-SNAPSHOT.jar!/org/apache/camel/component/file/ [pache.camel.spring.Main.main()] efaultPackageScanClassResolver TRACE Decoded urlPath: file:/C:/Documents and Settings/TaylorJohn.SGS/.m2/r pository/org/apache/camel/camel-core/2.1-SNAPSHOT/camel-core-2.1-SNAPSHOT.jar!/org/apache/camel/component/file/ [pache.camel.spring.Main.main()] efaultPackageScanClassResolver WARN Could not read entries in url: jar:file:/C:/Documents and Settings/Ta lorJohn.SGS/.m2/repository/org/apache/camel/camel-core/2.1-SNAPSHOT/camel-core-2.1-SNAPSHOT.jar!/org/apache/camel/component/file/ java.net.URISyntaxException: Illegal character in path at index 18: file:/C:/Documents and Settings/TaylorJohn.SGS/.m2/repository/org/apach /camel/camel-core/2.1-SNAPSHOT/camel-core-2.1-SNAPSHOT.jar!/org/apache/camel/component/file/ at java.net.URI$Parser.fail(URI.java:2809) at java.net.URI$Parser.checkChars(URI.java:2982) at java.net.URI$Parser.parseHierarchical(URI.java:3066) at java.net.URI$Parser.parse(URI.java:3014) at java.net.URI.<init>(URI.java:578) at org.apache.camel.impl.DefaultPackageScanClassResolver.find(DefaultPackageScanClassResolver.java:222) at org.apache.camel.impl.DefaultPackageScanClassResolver.find(DefaultPackageScanClassResolver.java:180) at org.apache.camel.impl.DefaultPackageScanClassResolver.findAnnotated(DefaultPackageScanClassResolver.java:100) at org.apache.camel.impl.converter.AnnotationTypeConverterLoader.load(AnnotationTypeConverterLoader.java:62) at org.apache.camel.impl.converter.DefaultTypeConverter.checkLoaded(DefaultTypeConverter.java:359) at org.apache.camel.impl.converter.DefaultTypeConverter.doConvertTo(DefaultTypeConverter.java:153) Backing it out fixes it for me. Regards, -John -- View this message in context: http://www.nabble.com/Fix-for-CAMEL-1974-seems-to-cause-problem-on-Windows-tp25458041p25458041.html Sent from the Camel Development mailing list archive at Nabble.com.