3 Replies Latest reply on Jan 27, 2011 4:22 PM by Ilya Sorokoumov

    editor and combobox not found in netbeans

    Dirk Gerrit Oort Newbie

      Hello,

       

      Sinds i've got problems with eclipse i've tryed to setup a richfaces project in Netbeans. I've created a maven web project and add the dependicies for richfaces as it is on the website:

       

            <org.richfaces.bom.version>4.0.0.20101226-M5</org.richfaces.bom.version>

          </properties>

          <dependencyManagement>

              <dependencies>

                  <dependency>

                      <groupId>org.richfaces</groupId>

                      <artifactId>richfaces-bom</artifactId>

                      <version>${org.richfaces.bom.version}</version>

                      <scope>import</scope>

                      <type>pom</type>

                  </dependency>

              </dependencies>

          </dependencyManagement>

          <dependencies>

              <dependency>

                  <groupId>org.richfaces.ui</groupId>

                  <artifactId>richfaces-components-ui</artifactId>

       

              </dependency>

              <dependency>

                  <groupId>org.richfaces.core</groupId>

                  <artifactId>richfaces-core-impl</artifactId>

       

              </dependency>  

       

      But in de xhtml editor of netbeans the rich:editor and rich:combobox are not there.

      When i do add this to the page and i run it then i've got the next stack trace

       

      javax.servlet.ServletException: /index.xhtml @15,22 <rich:editor> Tag Library supports namespace: http://richfaces.org/rich, but no tag was defined for name: editor
           javax.faces.webapp.FacesServlet.service(FacesServlet.java:321)

      root cause

      javax.faces.view.facelets.TagException: /index.xhtml @15,22 <rich:editor> Tag Library supports namespace: http://richfaces.org/rich, but no tag was defined for name: editor
           com.sun.faces.facelets.compiler.CompilationManager.pushTag(CompilationManager.java:289)
           com.sun.faces.facelets.compiler.SAXCompiler$CompilationHandler.startElement(SAXCompiler.java:228)
           org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
           org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(Unknown Source)
           org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
           org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
           org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
           org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
           org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
           org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
           org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
           org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
           org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
           javax.xml.parsers.SAXParser.parse(SAXParser.java:198)
           com.sun.faces.facelets.compiler.SAXCompiler.doCompile(SAXCompiler.java:388)
           com.sun.faces.facelets.compiler.SAXCompiler.doCompile(SAXCompiler.java:364)
           com.sun.faces.facelets.compiler.Compiler.compile(Compiler.java:122)
           com.sun.faces.facelets.impl.DefaultFaceletFactory.createFacelet(DefaultFaceletFactory.java:294)
           com.sun.faces.facelets.impl.DefaultFaceletFactory.access$100(DefaultFaceletFactory.java:89)
           com.sun.faces.facelets.impl.DefaultFaceletFactory$1.newInstance(DefaultFaceletFactory.java:159)
           com.sun.faces.facelets.impl.DefaultFaceletFactory$1.newInstance(DefaultFaceletFactory.java:158)
           com.sun.faces.facelets.impl.DefaultFaceletCache$1.newInstance(DefaultFaceletCache.java:79)
           com.sun.faces.facelets.impl.DefaultFaceletCache$1.newInstance(DefaultFaceletCache.java:75)
           com.sun.faces.util.ExpiringConcurrentCache$1.call(ExpiringConcurrentCache.java:95)
           java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
           java.util.concurrent.FutureTask.run(FutureTask.java:138)
           com.sun.faces.util.ExpiringConcurrentCache.get(ExpiringConcurrentCache.java:110)
           com.sun.faces.facelets.impl.DefaultFaceletCache.getFacelet(DefaultFaceletCache.java:115)
           com.sun.faces.facelets.impl.DefaultFaceletCache.getFacelet(DefaultFaceletCache.java:58)
           com.sun.faces.facelets.impl.DefaultFaceletFactory.getFacelet(DefaultFaceletFactory.java:245)
           com.sun.faces.facelets.impl.DefaultFaceletFactory.getFacelet(DefaultFaceletFactory.java:190)
           com.sun.faces.application.view.FaceletViewHandlingStrategy.buildView(FaceletViewHandlingStrategy.java:731)
           com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:96)
           com.sun.faces.lifecycle.Phase.doPhase(Phase.java:97)
           com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:135)
           javax.faces.webapp.FacesServlet.service(FacesServlet.java:309)

      What do i wrong

      (rich:calendar works fine)