[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.technology.equinox] Re: JETTY - failure in classpath resolution

There may be other things wrong in your environment however one problem I 
can see is that "Bundle-ClassPath" just lists the web-inf/lib folder. That's 
fine for .class files but for JAR files you need to explicitly list the 
individual jar file paths.

Also, as I recall JSF integration is not trivial as (at least when I last 
looked) there are a few issues with JSF integration in OSGi. You might try 
searching the list archives as I believe someone posted a link to their work 
as well as commenting on what the issues were.

HTH
-Simon

"Maurizio " <maurizio.lilli@xxxxxxxxxxx> wrote in message 
news:2252729bd3501ad2185809693b36cf22$1@xxxxxxxxxxxxxxxxxx
> Dear Sir,
> I'm having a problem trying to setup a basic example of JSP usage from 
> within the Equinox container.
> Despite the presence of the jsf-impl.jar file in the WEB-INF/lib folder of 
> my web application (such JAR file contains 
> com.sun.faces.taglib.html_basic.HtmlBasicValidator, among other classes), 
> when activating a JSF page I get the error message:
>
> "
> HTTP ERROR 500
> Problem accessing /index.jsp. Reason:
>    Failed to load or instantiate TagLibraryValidator class: 
> com.sun.faces.taglib.html_basic.HtmlBasicValidator
>
> Caused by:
> org.apache.jasper.JasperException: Failed to load or instantiate 
> TagLibraryValidator class: 
> com.sun.faces.taglib.html_basic.HtmlBasicValidator
> "
>
> I'm not sure if I did the right thing, but I also specified the following 
> in my MANIFEST.MF:
> "
> ..
> Bundle-ClassPath: bin/, WEB-INF/lib/, .
> ..
> "
>
> Also, consider that the WEB-INF/lib folder also contains:
> jsf-api.jar
> jsf-impl
> jstl.jar
> standard.jar
>
> Please, can you help me understanding what I could have done wrong?
>
> I'm Thanks in advance for your cooperation.
> Kind regards.
> Maurizio
>
>