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

This commit is contained in:
Luke Taylor 2011-05-15 23:28:02 +01:00
parent 295ea27526
commit 1b8eee6f07
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}