You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#tag layout("layout.jetx", {"name": "jetbrick"})
hello from main
#end
出现的错误
Exception in thread "main" jetbrick.template.compiler.CompileErrorException: Compilation failed.
C:\Users\Sub\AppData\Local\Temp\jetx_1_0_0\template\ext_002dfunctions_002dinclude_jetx.java:18: cannot find symbol
symbol : method include(jetbrick.template.runtime.JetPageContext,java.lang.String,java.util.Map<capture#208 of ?,capture#811 of ?>)
location: class jetbrick.template.runtime.JetFunctions
17: $out.print($txt_1, $txt_1_bytes);
18: $out.print(JetFunctions.include($ctx,"header.jetx",JetUtils.asMap("name","jetbrick"))); // line: 3
^
1 error(s)
at jetbrick.template.compiler.jdk.JdkCompiler.generateJavaClass(JdkCompiler.java:131)
at jetbrick.template.compiler.jdk.JdkCompiler.compile(JdkCompiler.java:102)
at jetbrick.template.JetTemplate.compileAndLoadClass(JetTemplate.java:114)
at jetbrick.template.JetTemplate.<init>(JetTemplate.java:68)
at jetbrick.template.JetEngine$ConcurrentTemplateCache.doGetValue(JetEngine.java:179)
at jetbrick.template.JetEngine$ConcurrentTemplateCache.doGetValue(JetEngine.java:1)
at jetbrick.template.utils.ConcurrentCache.get(ConcurrentCache.java:44)
at jetbrick.template.JetEngine.getTemplate(JetEngine.java:92)
The text was updated successfully, but these errors were encountered:
模板-1
模板-2
出现的错误
The text was updated successfully, but these errors were encountered: