private void configureClassLoader(WebAppContext context) throws Exception {
List classPathFiles = createClassPath();
if (classPathFiles != null) {
WebAppClassLoader cl = (WebAppClassLoader) context.getClassLoader();
for (Iterator i = classPathFiles.iterator(); i.hasNext(); ) {
cl.addClassPath(((File) i.next()).getCanonicalPath());
}
}
// knock out environmental maven and plexus classes from webAppContext
String[] existingServerClasses = context.getServerClasses();