I’m having trouble with class loading & EAR file layout.

 

I have the current format…

 

EAR

EAR/Lib

EAR/Lib/myfaces-impl.jar

EAR/Lib/myfaces-api.jar

EAR/META-INF/application.xml

EAR/META-INF/MANIFEST.xml

EAR/workwebpages.war

 

 

The WAR file has in its MANIFEST.xml the parameter “Class-Path: lib/myfaces-api.jar lib/myfaces-impl.jar” set.

 

But when I start up I get the following messages when I try to access a jsf/jsp…

 

org.apache.jasper.JasperException: The absolute uri: http://java.sun.com/jsf/html cannot be resolved in either web.xml or the jar files deployed with this application

 

If I move the myfaces-xxx.jar files into the WAR/WEB-INF/lib/ directory I don’t get this.

I get the error message…

 

java.lang.ClassNotFoundException: org.apache.myfaces.component.html.ext.HtmlSelectManyCheckbox

 

But I’d sooner have all the api’s in the lib directory of the EAR.

 

Can someone give me an example on how I’m meant to layout the contents of an EAR for JBoss 4.0.2 with MyFaces?

 

Hope someone can help me.

 

Thanks.

Jeff

 

 

 

 

 

 

Reply via email to