Преглед на файлове

Improve "missing web classes" message in SecurityNamespaceHandler, by indicating that a missing transitive dependency may also be the problem.

Luke Taylor преди 14 години
родител
ревизия
1b8eee6f07
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      config/src/main/java/org/springframework/security/config/SecurityNamespaceHandler.java

+ 1 - 1
config/src/main/java/org/springframework/security/config/SecurityNamespaceHandler.java

@@ -119,7 +119,7 @@ public final class SecurityNamespaceHandler implements NamespaceHandler {
     }
 
     private void reportMissingWebClasses(String nodeName, ParserContext pc, Node node) {
-        pc.getReaderContext().fatal("spring-security-web classes are not available. " +
+        pc.getReaderContext().fatal("The classes from spring-security-web (or one of its transitive dependencies) are not available. " +
                 "You need these to use <" + nodeName + ">", node);
     }