即使我试图打开简单的JSF页面它也会抛出异常,我甚至没有得到单个提示代码有什么问题.
我有像这样的xhtml
<table border="0" bordercolor="red" width="100%" cellspacing="0"
cellpadding="0">
<tr>
<td><h:messages errorClass="crudMessageError"
styleClass="crudmessagebackground" infoClass="crudmessageInfo"
layout="table" />
</td>
</tr>
<tr>
<td width="100%" align="left">
<a4j:form id="searchTrans">
<table width="99%" border="0" bordercolor="red" cellpadding="3"
cellspacing="0" class="bodyTable">
<tr>
<td colspan="4">
<table width="100%" cellpadding="3" cellspacing="0">
<tr>
<td width="15%"><h:outputText
value="#{label.counterPartOne}" class="globalHd" /></td>
<td width="120px"><h:inputText id="txtCounterPart1"
value="" >
</h:inputText></td>
<td width="15%"><h:outputText
value="#{label.counterPartTwo}" class="globalHd" /></td>
<td width="120px"><h:inputText id="txtCounterPart2"
value="" required="true"
styleClass="mandatoryTextField"
requiredMessage="#{validation.customerRequiredMessage}"
validator="#{customerController.validateForm}"
maxlength="15">
</h:inputText></td>
</tr>
<tr>
<td width="15%"><h:outputText
value="#{label.transactionsGroup}" class="globalHd" /></td>
<td width="120px"><h:selectOneMenu id="DDLTransGrp"
value="">
<f:selectItem id="1" itemLabel="Type1" itemValue="Type1" /> …Run Code Online (Sandbox Code Playgroud)