PD4ML v4 Forums PD4ML v3 Archived Forums (Read Only) Troubleshooting Image with java: protocol failing

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #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

    #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.

    #28928

    I did get the provider to load.

Viewing 3 posts - 1 through 3 (of 3 total)

The forum ‘Troubleshooting’ is closed to new topics and replies.