you should add the file type you want to load to the set of allowed extensions. Take a look here: http://wicketguide.comsysto.com/guide/chapter19.html#chapter19_4 > I'm getting the exception below occurring occasionally and I can't > figure out why. > I have read the javadoc for IPackageResourceGuard but still not really > enlightened as to why this is occurring. > > Under what circumstances will access be denied? > > In Application init(): > getJavaScriptLibrarySettings().setJQueryReference(new > DynamicJQueryResourceReference()); > > 2013-09-06 14:59:47,417 [jk-listener(2)] DEBUG > o.a.w.r.m.CompoundRequestMapper - One compatible mapper found for URL > 'wicket/resource/org.apache.wicket.resource.DynamicJQueryResourceReference/jquery/jquery-2.0.2.min.map' > -> 'Mapper: > org.apache.wicket.core.request.mapper.ResourceReferenceMapper; Score: 1' > 2013-09-06 14:59:47,418 [jk-listener(2)] ERROR > o.a.w.DefaultExceptionMapper - Unexpected error occurred > org.apache.wicket.request.resource.PackageResource$PackageResourceBlockedException: > Access denied to (static) package resource > org/apache/wicket/resource/jquery/jquery-2.0.2.min.map. See > IPackageResourceGuard > at > org.apache.wicket.request.resource.PackageResource.internalGetResourceStream(PackageResource.java:460) > ~[wicket-core-6.10.0.jar:6.10.0] > at > org.apache.wicket.request.resource.PackageResource.getResourceStream(PackageResource.java:405) > ~[wicket-core-6.10.0.jar:6.10.0] > at > org.apache.wicket.request.resource.PackageResource.newResourceResponse(PackageResource.java:267) > ~[wicket-core-6.10.0.jar:6.10.0] > at > org.apache.wicket.request.resource.AbstractResource.respond(AbstractResource.java:498) > ~[wicket-core-6.10.0.jar:6.10.0] > at > org.apache.wicket.request.handler.resource.ResourceRequestHandler.respond(ResourceRequestHandler.java:75) > ~[wicket-core-6.10.0.jar:6.10.0] > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org >
--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org