QC
QC
Seems to be a bug, that root node cannot be found using `//...` xpath.
Because I cannot find a best way to support xpath for namespace, so I drop the namespace for implementation. I am trying to add full support for namespace in new...
这个是遇到什么具体的问题吗?
明白你的意思,但是不知道你的运行环境是啥? - 单纯的tomcat? - spring boot?存在多个 application contex吗? - 无法加载的 class 是 用户class 还是 jdk 或者 第三方 jar 里面的 class? 默认使用 thread context class loader 是用于加载用户class,否则会造成无法加载n。当然在某些特殊的情况下存在无法加载的情况。确实可以考虑用多层 classloader 来尝试加载会更可靠
@TanqiZhou jetbrick-commons 2.2.0 released, 你可以试试这个版本
看这个文档 http://subchen.github.io/jetbrick-template/2x/config.html#jetx-trim-directive-whitespaces
5.1 jetx.trim.leading.whitespaces 类似于 JSP 的 , 可以让模板的开始位置处跳过不必要的空白内容。 默认:false,不启用 5.2 jetx.trim.directive.whitespaces 由于指令之间存在很多的空白内容,而空白内容也会被作为原始文本原封不动的输出,这样会造成很多输出的内容参差不齐。这个就是用来优化输出格式的,对于用模板来进行代码生成时候特别有用。不建议关闭。
jetx.trim.leading.whitespaces 这个试了吗? 当前使用的版本是多少?
确实文档有误,需要修正一下
文档已更新