if(entry.getName().endsWith(".class")){\r
URL location = null;\r
try {\r
- location = new URL("jar:" + getLocation() + "!/WEB-INF/classes/" + entry.getName());\r
+ location = new URL("jar:" + getLocation() + "!/" + entry.getName());\r
String className = entry.getName();\r
className = className.substring("WEB-INF/classes/".length(), className.length() - ".class".length());\r
className = className.replace('/', '.');\r
\r
list.add(new ClassFileEntry(className, location));\r
} catch (MalformedURLException ex) {\r
+ ex.printStackTrace();\r
}\r
}\r
}\r