HTML to PDF/RTF Java converter and tools › Forums › PD4ML v3 Archived Forums (Read Only) › Troubleshooting › Image with java: protocol failing This topic has 2 replies, 2 voices, and was last updated Mar 23, 201200:51:38 by Anonymous. Viewing 3 posts - 1 through 3 (of 3 total) Author Posts lyzasoft March 22, 2012 at 14:55 #26702 Hi – I’m trying to load an image tag resource and am getting an error. invalid image URL: java:com/lyzasoft/lyza/lineage/html/resources/datatype_number_gray.png I tried calling resource = Thread.currentThread().getContextClassLoader().getResource(resourcePath) directly and it worked. Any ideas? Thanks! Dave Anonymous March 22, 2012 at 19:19 #28927 I’ve also tried loading a ResourceProvider and that can’t be found either. Lastly I tried putting the images and provider class in a JAR, same result. This is a showstopper for me so any help would be greatly appreciated. Anonymous March 23, 2012 at 00:51 #28928 I did get the provider to load. Author Posts Viewing 3 posts - 1 through 3 (of 3 total) The forum ‘Troubleshooting’ is closed to new topics and replies.