Is it possible to run the SunStudio Creator Components in Eclipse
Hi Every Body,
I am Running SunStudio Creator Rating Component in MyEclipse Editor. My JSF page is like this
<%@ page session="false" contentType="text/html;charset=utf-8"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://www.sun.com/web/ui" prefix="ui"%>
<%@ taglib uri="http://java.sun.com/blueprints/ui/14" prefix="bp"%>
<jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
<f:view>
<ui:page binding="#{Page1.page1}" id="page1">
<ui:html binding="#{Page1.html1}" id="html1">
<ui:head binding="#{Page1.head1}" id="head1">
<ui:link binding="#{Page1.link1}" id="link1" url="/resources/stylesheet.css"/>
</ui:head>
<ui:body binding="#{Page1.body1}" id="body1" style="-rave-layout: grid">
<ui:form binding="#{Page1.form1}" id="form1">
<bp:rating binding="#{Page1.rating}" id="rating" style="left: 72px; top: 168px; position: absolute"/>
<h:outputText binding="#{Page1.outputText1}" id="outputText1" style="height: 24px; left: 240px; top: 168px; position: absolute" value="#{SessionBean1.rate}"/>
</ui:form>
</ui:body>
</ui:html>
</ui:page>
</f:view>
Even though I added the servlet-api.jar & jstl.jar . I am getting this type of Exception:
Description: An unhandled exception occurred during the execution of the web application. Please review the following stack trace for more information regarding the error.
Exception Details: java.lang.NoClassDefFoundError
javax/servlet/jsp/jstl/core/Config
Possible Source of Error:
Class Name: com.sun.faces.application.ViewHandlerImpl
File Name: ViewHandlerImpl.java
Method Name: renderView
Line Number: 123
Source not available. Information regarding the location of the exception can be identified using the exception stack trace below.
Stack Trace:
com.sun.faces.application.ViewHandlerImpl.renderVi ew(ViewHandlerImpl.java:123)
com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl. renderView(ViewHandlerImpl.java:311)
com.sun.faces.lifecycle.RenderResponsePhase.execut e(RenderResponsePhase.java:87)
com.sun.faces.lifecycle.LifecycleImpl.phase(Lifecy cleImpl.java:221)
com.sun.faces.lifecycle.LifecycleImpl.render(Lifec ycleImpl.java:117)
javax.faces.webapp.FacesServlet.service(FacesServl et.java:198)
org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:252)
org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:173)
com.sun.rave.web.ui.util.UploadFilter.doFilter(Upl oadFilter.java:194)
org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:202)
org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:173)
org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:213)
org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:178)
org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:126)
org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:105)
org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineValve.java:107)
org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:148)
org.apache.coyote.http11.Http11Processor.process(H ttp11Processor.java:868)
org.apache.coyote.http11.Http11BaseProtocol$Http11 ConnectionHandler.processConnection(Http11BaseProt ocol.java:663)
org.apache.tomcat.util.net.PoolTcpEndpoint.process Socket(PoolTcpEndpoint.java:527)
org.apache.tomcat.util.net.LeaderFollowerWorkerThr ead.runIt(LeaderFollowerWorkerThread.java:80)
org.apache.tomcat.util.threads.ThreadPool$ControlR unnable.run(ThreadPool.java:684)
java.lang.Thread.run(Thread.java:595)