浏览代码

jfinal 4.8

James 6 年之前
父节点
当前提交
854097516e

+ 1 - 1
src/main/java/com/jfinal/core/paragetter/ParaProcessorBuilder.java

@@ -94,7 +94,7 @@ public class ParaProcessorBuilder {
 		if(!p.isNamePresent()) {
 			log.warn("You should config compiler argument \"-parameters\" for parameter injection of action : " +
 					controllerClass.getName() + "." + method.getName() + "(...) \n" +
-					"Visit http://www.jfinal.com/doc/3-3 for details \n");
+					"Visit https://www.jfinal.com/doc/3-3 for details \n");
 		}
 		String parameterName = p.getName();
 		String defaultValue = null;

+ 2 - 1
src/main/java/com/jfinal/proxy/ProxyCompiler.java

@@ -128,7 +128,8 @@ public class ProxyCompiler {
 	public void compile(ProxyClass proxyClass) {
 		JavaCompiler compiler = ToolProvider.getSystemJavaCompiler();
 		if (compiler == null) {
-			throw new RuntimeException("Can not get javax.tools.JavaCompiler, check whether \"tools.jar\" is in the environment variable CLASSPATH");
+			throw new RuntimeException("Can not get javax.tools.JavaCompiler, check whether \"tools.jar\" is in the environment variable CLASSPATH \n" +
+										"Visit https://www.jfinal.com/doc/4-8 for details \n");
 		}
 		
 		DiagnosticCollector<JavaFileObject> collector = new DiagnosticCollector<>();