您好,我正试图在我的网站上用JSF创建一个AMP页面,但我遇到了这个问题
The mandatory attribute '⚡' is missing in tag 'html ⚡ for top-level html
在JSF中,我得到了类似这样的东西
<!DOCTYPE html>
<html xmlns:c="http://java.sun.com/jsp/jstl/core"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://ja
我试图在JBoss7.1.1上使用JSF2.2.2。最后,我遵循了这个链接中的解决方案1:基于替换当前Jboss库的,然后我更改了faces配置。但是,当尝试运行应用程序时,我会得到以下异常:
22:28:56,076 SEVERE [javax.enterprise.resource.webcontainer.jsf.config] (MSC service thread 1-1) Critical error during deployment: : com.sun.faces.config.ConfigurationException: The tag named passThrough
好了,我刚刚完成了我的第一个JSF项目,我想把它上传到GAE。我已经尝试了大约4个小时,但不能让它工作。
我使用的是JSF 2.0和App Engine 1.6.5。
我已经尝试了几个教程和以下所有组合:
Jars javax.faces-2.1.7-Soures.jar el-ri-1.0.jar
设置- GAE 1.6.5、JDK 1.7
错误:
java.lang.NoClassDefFoundError: javax.naming.InitialContext is a restricted class. Please see the Google App Engine d
我正在尝试在JBOSS 7.1.0中部署一个JSF (Primefaces)应用程序。
我收到以下错误:
18:17:03,390 SEVERE [javax.enterprise.resource.webcontainer.jsf.config] (MSC
service thread 1-8) Critical error during deployment: :
com.sun.faces.config.ConfigurationException:Factory
'javax.faces.context.PartialViewContextFactory' w
我在JSF8.2.0上使用Tomahawk20 1.1.14用于JSF2.0。当使用<t:panelNagivation2>时,将引发以下异常:
javax.faces.FacesException: Cannot add the same component twice
这是如何造成的,我如何解决呢?下面是堆栈跟踪:
Caused by: javax.faces.FacesException: Cannot add the same component twice: nav:panel-nav:nav_panel-nav_uinavmitem1
at com.sun.fa
我想将一个现有的icefaces应用程序迁移到jboss 7中,但我收到了这个异常:
15:01:27,399 SEVERE [javax.enterprise.resource.webcontainer.jsf.config] (MSC ser
vice thread 1-2) Critical error during deployment: : com.sun.faces.config.Config
urationException: Factory 'javax.faces.context.ExceptionHandlerFactory' was not
conf
环境:JSF2.0、Seam2.3、RF 4.3和PF 5在JBoss AS 7.2上
我在两个JSF页面上有一个奇怪的错误。在呈现阶段,我得到一个谎言(延迟初始化异常)。
Error Rendering View[/secure/MyPage.xhtml]: org.hibernate.LazyInitializationException: could not initialize proxy - no Session
at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.
我试图只对jar依赖项使用gradle,这意味着我从构建路径中提取了所有jar,并将其写成如下:compile 'groupid:artifactid:version'。
现在,当我试图运行服务器(tomcat 7.0.39)时,我得到了以下内容:
java.lang.IllegalStateException: Second notification for the same phase in the same request occurred. phaseId.ordinal: 1; phaseId = RESTORE_VIEW 1; More than one org.o
我正在将应用程序从RichFaces 3.3.3迁移到Richfaces 4.0.0。我解决了与Richfaces 4.0.0中删除的标记相关的几个错误。
现在,在加载主页时,我得到了下面的异常。
23:46:10,317 WARN [org.jboss.seam.util.Resources] (default task-25) Unable to determine real path from servlet context for "/WEB-INF/dev" path does not exist.
23:46:10,302 ERROR [org.jboss.sea
JSF(JBoss-2.2.6),原名Wildflix8.1.0,Deltaspike 1.0.3
会话过期后,按下按钮(ajax调用)。问题是抛出的是NullPointerExceptiion而不是ViewExpiredException。
有一个ExceptionHandlerWrraper。
public class CoreExceptionHandlerWrapper extends ExceptionHandlerWrapper {
private final BeanManager beanManager;
private final ExceptionHandler wra
我正在JBoss6.2.4中部署一个应用程序。但是,当我打开索引页时,它会返回这个错误:
10:36:21,808 SEVERE [javax.faces] (ServerService Thread Pool -- 1563) La aplicación no se ha inicializado correctamente durante el inicio, no se encuentra la fábrica: javax.faces.context.FacesContextFactory. Attempting to find backup.
10:36:21,809 ERROR [
现有的JSF应用程序需要调用JAX-RS服务资源。如果我从eclipse as Run On Server启动应用程序,我会得到一个:
03:32:25,608 SEVERE [javax.enterprise.resource.webcontainer.jsf.application] (http--0.0.0.0-443-1) Error Rendering View[/index.xhtml]: javax.el.ELException: /surfaceParts/sideBarLeft.xhtml @14,79 value="#{categories.cats}":