1 Reply Latest reply on Aug 28, 2007 8:00 AM by pmuir

    Add versions to seam2 tags?

    paradigmza

      Hi,

      I deployed a Seam 2 Beta app to Jboss that was running a Seam 1 App.

      I get an error while using the seam2beta app that the decorate tag cannot be found

      com.sun.facelets.tag.TagException: /login.xhtml @22,53 <s:decorate> Tag Library supports namespace: http://jboss.com/products/seam/taglib, but no tag was defined for name: decorate
      at com.sun.facelets.compiler.CompilationManager.pushTag(CompilationManager.java:193)
      at com.sun.facelets.compiler.SAXCompiler$CompilationHandler.startElement(SAXCompiler.java:194)
      at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
      at org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(Unknown Source)
      at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
      at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
      at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
      at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
      at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
      at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
      at javax.xml.parsers.SAXParser.parse(Unknown Source)
      at javax.xml.parsers.SAXParser.parse(Unknown Source)
      at com.sun.facelets.compiler.SAXCompiler.doCompile(SAXCompiler.java:232)
      at com.sun.facelets.compiler.Compiler.compile(Compiler.java:105)
      at com.sun.facelets.impl.DefaultFaceletFactory.createFacelet(DefaultFaceletFactory.java:197)
      at com.sun.facelets.impl.DefaultFaceletFactory.getFacelet(DefaultFaceletFactory.java:144)
      at com.sun.facelets.impl.DefaultFaceletFactory.getFacelet(DefaultFaceletFactory.java:95)
      at com.sun.facelets.FaceletViewHandler.buildView(FaceletViewHandler.java:496)
      at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:546)
      at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384)
      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)


      I can fix this error by deploying the Seam2Beta app to Jboss then the seam1 app.

      I am not sure if this behavior is expected? Must I create a Jira? or is this a bug with JBoss? (both apps are deployed as ear files)

      Regards,
      Sean.

        • 1. Re: Add versions to seam2 tags?
          pmuir

          You've got some weird packaging/stale jar situation going on there. Make sure you have classloading isolation correct, and that you have no stale jars lying around in your deployed project.