//Mount packages to the pretty URLs
mountPackages();
//Add spring component injector by default
getComponentInstantiationListeners().add(
new SpringComponentInjector(this));
//Add other component instantiation listeners described in the spring context
Collection<IComponentInstantiationListener> componentInstantiationListeners = wicketConfiguration.getComponentInstantiationListeners();
if(componentInstantiationListeners != null) {
for(IComponentInstantiationListener listener : componentInstantiationListeners) {