我正在从MyFaces 1.2.6迁移到mojarra1.2。我的应用程序还使用Facelets、Tomahawk和Richfaces。
使用MyFaces 1.2.6,它的工作没有问题。使用Mojarra 1.2,我遇到了一些问题。
它一直打印此错误:
This page contains the following errors:
error on line 141 at column 36: xmlParseEntityRef: no name
Below is a rendering of the page up to the first error.第141行的内容:
<f:facet name="footer"> 有人知道我能做些什么吗?
发布于 2009-06-03 14:37:10
考虑到错误xmlParseEntityRef,,我将检查流浪XML实体 (查找符号- &)。
还检查由任何EL表达式(例如${baz.mystring})发出的值。如果MyFaces将字符串"foo & bar“编码为foo & bar,但RI将其直接发送为foo & bar,则可能会导致问题。
https://stackoverflow.com/questions/945024
复制相似问题