myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Robinson <andrew.rw.robin...@gmail.com>
Subject Re: [trinidad] Unresolved compilation problems
Date Mon, 17 Aug 2009 15:04:13 GMT
Are you building from the root trinidad directory or are you trying to
build one of the subfolders? I have never seen it not find
UIXDocument.It looks like you are getting the error at run time, not
compile time. What runtime environment are you using?

On Mon, Aug 17, 2009 at 3:19 AM, Cédric Durmont<cdurmont@gmail.com> wrote:
> Hi there,
>
> I'm sorry to bring a complete noob question, but I'm trying to build
> trinidad from svn (HEAD), with little success. Here is what I did :
> - checked out sources ( svn co
> http://svn.apache.org/repos/asf/myfaces/trinidad/trunk/ trinidad ) (I
> get revision 804902)
> - built/installed with maven : mvn -Dmaven.test.skip=true install (no
> error at this step)
> - included it in my test app (as maven dependency)
>
> After this, when I try to get my test homepage, I get this error
> message (see below). Note that the homepage does work fine with the
> latest snapshot available from
> http://people.apache.org/repo/m2-snapshot-repository/org/apache/myfaces/trinidad/trinidad-api/1.2.12-SNAPSHOT/
> .
>
> Could somebody tell me what I am missing ? Or is it because there
> really are errore in the current HEAD ?
>
>
>
> Cedric
>
>
>
>
> 17 aout 2009 09:59:38 javax.faces.webapp._ErrorPageWriter handleThrowable
> GRAVE: An exception occurred
> javax.faces.FacesException: javax.servlet.ServletException:
> java.lang.Error: Unresolved compilation problems:
>        The import org.apache.myfaces.trinidad.component.UIXDocument
> cannot be resolved
>        Incompatible conditional operand types UIComponent and UIXDocument
>        UIXDocument cannot be resolved to a type
>
>        at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:347)
>        at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
>        at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
>        at org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl$OverrideDispatch.dispatch(FacesContextFactoryImpl.jav
> a:267)
>        at org.apache.myfaces.application.jsp.JspViewHandlerImpl.buildView(JspViewHandlerImpl.java:486)
>        at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:337)
>        at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:48)
>        at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:193)
>        at org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41)
>        at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:140)
>        at javax.faces.webapp.FacesServlet.service(FacesServlet.java:155)
>        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
>        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
>        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
>        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:567)
>        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
>        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
>        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
>        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
>        at java.lang.Thread.run(Thread.java:619)
> Caused by: org.apache.jasper.JasperException:
> javax.servlet.ServletException: java.lang.Error: Unresolved
> compilation problems:
>        The import org.apache.myfaces.trinidad.component.UIXDocument
> cannot be resolved
>        Incompatible conditional operand types UIComponent and UIXDocument
>        UIXDocument cannot be resolved to a type
>
>        at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:522)
>        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:398)
>        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
>        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>        at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
>        at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
>        at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
>        at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
>        at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:341)
>        ... 23 more
> Caused by: javax.servlet.ServletException: java.lang.Error: Unresolved
> compilation problems:
>        The import org.apache.myfaces.trinidad.component.UIXDocument
> cannot be resolved
>        Incompatible conditional operand types UIComponent and UIXDocument
>        UIXDocument cannot be resolved to a type
>
>        at org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:862)
>        at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:791)
>        at org.apache.jsp.index_jspx._jspService(index_jspx.java:175)
>        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
>        ... 33 more
> Caused by: java.lang.Error: Unresolved compilation problems:
>        The import org.apache.myfaces.trinidad.component.UIXDocument
> cannot be resolved
>        Incompatible conditional operand types UIComponent and UIXDocument
>        UIXDocument cannot be resolved to a type
>
>        at org.apache.myfaces.trinidad.webapp.UIXComponentELTag.<init>(UIXComponentELTag.java:47)
>        at org.apache.myfaces.trinidadinternal.taglib.UIXDocumentTag.<init>(UIXDocumentTag.java:38)
>        at org.apache.myfaces.trinidadinternal.taglib.core.CoreDocumentTag.<init>(CoreDocumentTag.java:39)
>        at org.apache.jsp.index_jspx._jspx_meth_tr_005fdocument_005f0(index_jspx.java:227)
>        at org.apache.jsp.index_jspx._jspx_meth_f_005fview_005f0(index_jspx.java:202)
>        at org.apache.jsp.index_jspx._jspService(index_jspx.java:168)
>        ... 36 more
>

Mime
View raw message