17

我有 1 个文件 xthml,如下所示:

<?xml version="1.0" encoding="UTF-8"?>
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:p="http://primefaces.org/ui"
    template="/WEB-INF/templates/default.xhtml">

<ui:define name="content">
.......
</ui:define>
</ui:composition>

重新启动我的 Eclipse 3.7 后,Eclipse 执行验证,但它总是运行:“Facelet HTML 验证器开始验证:student.xhtml”。如果我在 Windows - Preference 中禁用 Facelet 验证,当我在此 xhtml 文件中执行 Ctrl + Space 时,eclipse 将没有响应。我该怎么做才能解决这个问题?谢谢。

4

0 回答 0