facebook

No tag "outputDeclaration" defined

  1. MyEclipse Archived
  2.  > 
  3. ICEfaces Integration
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #331368 Reply

    mave2012
    Member

    Hi,
    following the MyEclipse ICEFaces tutorial, everything went well, til I reached the point running the application. The integrated Tomcat delivers the following error:exception

    org.apache.jasper.JasperException: No tag “outputDeclaration” defined in tag library associated with uri “http://www.icesoft.com/icefaces/component”
    org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:51)
    org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:409)
    org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:265)
    org.apache.jasper.compiler.JspDocumentParser.parse(JspDocumentParser.java:219)
    org.apache.jasper.compiler.ParserController.doParse(ParserController.java:200)
    org.apache.jasper.compiler.ParserController.parse(ParserController.java:103)
    org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:167)
    org.apache.jasper.compiler.Compiler.compile(Compiler.java:306)
    org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
    org.apache.jasper.compiler.Compiler.compile(Compiler.java:273)
    org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    root cause

    org.xml.sax.SAXException: No tag “outputDeclaration” defined in tag library associated with uri “http://www.icesoft.com/icefaces/component”

    Could you please give a hint how to handle this issue
    Thanks
    MV

    #331374 Reply

    mave2012,

    MyEclipse ICEFaces tutorial is based on IceFaces 1.6. If you are following the tutorial and adding ICEFaces 2.0 and above capabilities you will see an error with <ice:outputDeclaration> tag.

    Take a look at the ICEFaces doc about porting from ICEFaces 1.8 to 2.x
    http://wiki.icesoft.org/display/ICE/ICEfaces+1.x+Compatibility

    If you want to work with the tutorial, you can download it from MyEclipse -> Examples on Demand -> ICEFaces Tutorial Example which is based on ICEFaces 1.6

    #331430 Reply

    mave2012
    Member

    Now I’m a little bit confused, because I added the Icefaces capabilities provided by MyEclipse to my project, and what I got were the old templates using icefaces 1.x as it is shown in the tutorial. So if i understood correctly Myeclipse 10 works with the newer verion of Iceface libs but creates the “old ” templates ?

    When I follow ( and you must please consider that I’m on my way to an experienced user) the changing instructions from icefaces 1.x to 2.0 ( concerning the output tag) I’m running into There’s a > endtag missing. if I’m deleting the <!DOCTYPE HTML PUBLIC… stuff at the
    beginning of my jspx page I get the error message that the faces Context is missing.

    Do you need any further information fpr giving me a hint ?
    Thanks in advance
    MV

    #331491 Reply

    mave2012,

    I have escalated it to a dev team member. They will get back to you shortly.

    #331530 Reply

    support-tony
    Keymaster

    mave2012,

    Icefaces 2 doesn’t support JSPs, as per the release notes. The templates used to create JSP files with Icefaces templates are only for Icefaces 1.x, as shown on the template descriptions in the drop-down box.

    Facelets should be used instead of JSPs, when using Icefaces 2 and later.

    I’m afraid that we don’t have a tutorial for Icefaces 2+ but you may be able to adapt the tutorials in the Icefaces Wiki.

    Sorry we can’t be of more help.

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: No tag "outputDeclaration" defined

You must be logged in to post in the forum log in