[ https://issues.apache.org/jira/browse/WICKET-1819?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Igor Vaynberg updated WICKET-1819: ---------------------------------- Fix Version/s: (was: 1.3.5) we need a quickstart that reproduces this... > SharedResourceRequestTarget with Custom ResourceStreamLocator throws > ClassNotFoundException > ------------------------------------------------------------------------------------------- > > Key: WICKET-1819 > URL: https://issues.apache.org/jira/browse/WICKET-1819 > Project: Wicket > Issue Type: Bug > Components: wicket > Affects Versions: 1.3.4 > Environment: All > Reporter: Ritesh Trivedi > > Hi, > Seems like in wicket 1.3.x, if you include a CSS using HeaderContributor and > if CSS has background-image style with paths like ../img/whatever.gif, > SharedResourceRequestTarget throws exception instead of resource getting > loaded through the custom resource stream locator registered in the > application. > resolver below tried to find a class by the name of img from > ../img/whatever.gif which of course will fail with classnotfoundexception. > The block of code that causes the exception is > SharedResourceRequestTarget.java > line:143 > // First try to match mounted > scope = Application.get().getSharedResources().getAliasClass(className); > // If that fails, resolve it as a fully qualified class > // name. > if (scope == null) > { > scope = resolver.resolveClass(className); > } -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.