Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-5994

Mounted TemplateResourceReference throws org.apache.wicket.WicketRuntimeException when https is used

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 6.20.0, 7.0.0
    • 6.21.0, 7.1.0, 8.0.0-M1
    • None
    • Win 7 64 bit Jetty 9, JDK 8, Tomcat 7

    Description

      I mount a css file as a resource and use it to include styles into my emails' headers.
      But if I switch to https then I get
      org.apache.wicket.WicketRuntimeException: failed to locate stream
      when I try to include the resource.
      Weird thing is if I simply enter https://localhost:8443/css/mail.css into my browser then the css file appears fine without errors.
      I created a quickstart project for better understanding.

      https://github.com/sfeher/TemplateResourceReferenceTestApplication.git

      Attachments

        Activity

          People

            mgrigorov Martin Tzvetanov Grigorov
            sfeher Sandor Feher
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: