context.setResourceBase(SystemPropertyUtil.get("BASE_HOME") + File.separator + "webapp");
//context.setResourceBase("H:\\codes\\opensources\\github\\super-diamond\\super-diamond-server\\src\\main\\webapp");
context.setContextPath("/superdiamond");
context.setConfigurations(new Configuration[]{
new AnnotationConfiguration(),
new WebInfConfigurationExt(),
new WebXmlConfiguration(),
new MetaInfConfiguration(),
new FragmentConfiguration(),
new JettyWebXmlConfiguration()});
context.setThrowUnavailableOnStartupException(true);