1.0.3
[scannotation] / src / main / java / org / scannotation / WarUrlFinder.java
index a158c3c..2da7c8c 100644 (file)
@@ -24,6 +24,13 @@ public class WarUrlFinder
    {
       ArrayList<URL> list = new ArrayList<URL>();
       Set libJars = servletContext.getResourcePaths("/WEB-INF/lib");
+      if (libJars == null)
+      {
+         URL[] empty = {};
+         return empty;
+      }
+        
       for (Object jar : libJars)
       {
          try