Browse Source

jfinal 3.7

James 6 years ago
parent
commit
42347d1b64
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/java/com/jfinal/template/source/ClassPathSource.java

+ 1 - 1
src/main/java/com/jfinal/template/source/ClassPathSource.java

@@ -64,7 +64,7 @@ public class ClassPathSource implements ISource {
 		this.classLoader = getClassLoader();
 		this.classLoader = getClassLoader();
 		this.url = classLoader.getResource(finalFileName);
 		this.url = classLoader.getResource(finalFileName);
 		if (url == null) {
 		if (url == null) {
-			throw new IllegalArgumentException("File not found : \"" + finalFileName + "\"");
+			throw new IllegalArgumentException("File not found in CLASSPATH or JAR : \"" + finalFileName + "\"");
 		}
 		}
 		
 		
 		processIsInJarAndlastModified();
 		processIsInJarAndlastModified();