Hi,
With my first prime faces example i use JDeveloper10g and make every thing well, i make jsf (version 1.2) small project then add library (primefaces-ui-0.9.3.jar , jsf-api.jar , jsf-impl.jar , slf4j-jcl-1.5.8.jar , slf4j-simple-1.5.8.jar , nlog4j-1.2.25.jar and jstl.jar) , add Resource Servlet into web.xml, definition prime taglib (<%@ taglib uri="http://primefaces.prime.com.tr/ui" prefix="p" %>) in the top of the page and also add Resources Component (<p:resources />) to same page. As Getting Started page in the web site mention (http://primefaces.prime.com.tr/en/gettingStarted.html). But the project doesn't run, and with error (Unable to instantiate tag: p:resources (class: null) Make sure that the tag class is available and that the tag library containing the class is not excluded from this application.) in line (<p:resources />) in the jsp.
I moved every thing as i mention upper to Eclipse and it work fine and i add new tag like p:editor, p:layout, p:layoutUnit, p:panel, h:panelGrid and p:commandLink and run fine which i see the great Prime Faces. i return the same project to JDeveloper10g but with the same error, i think the JDeveloper10g doesn't see the prime tag, Why? and how i can solve this error? my company work in JDeveloper and it doesn't need to change JDeveloper.
I think it's error refer to Jdeveloper not to prime Faces. can you help me to sole this error?
Thanks
primeFaces with JDeveloper
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
I never used jdeveloper but it really sounds like a deployment issue since it can't match the components with tag classes. I guess it also happens with other p:* components not specific to p:resources.
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
For example do you have access to any PrimeFaces api, to test can you try to use a class from PrimeFaces CroppedImage to see if JDeveloper can import it? This is to test if primefaces is in classpath.
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
Yes, PrimeFaces requires at least JSF 1.2 and Java 5. Maybe that's the reason. Still I'm not the jdeveloper expert though.
-
- Information
-
Who is online
Users browsing this forum: No registered users and 63 guests