Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

jsp page in Apache not working..

1 view
Skip to first unread message

buu

unread,
Jul 21, 2007, 6:39:13 AM7/21/07
to
I'm a newbie in making java web apps, so I need a help :)

I have a app. in JDeveloper 11 & apache 6.0.13.
I got an error:
org.apache.jasper.JasperException: The absolute uri:
http://java.sun.com/jsf/core cannot be resolved in either web.xml or the jar
files deployed with this application
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:51)
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:409)
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:116)
org.apache.jasper.compiler.TagLibraryInfoImpl.generateTLDLocation(TagLibraryInfoImpl.java:315)
org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:148)
org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:420)
I created an app. using <c:forEach items='${lista}' var='mem'> tag.
I copied jdbc drivers and tld. files.

my web.xml is starting with:
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
version="2.5" xmlns="http://java.sun.com/xml/ns/javaee">


and I also put (like I saw on one site):
<taglib>
<taglib-uri>http://java.sun.com/jstl/fmt</taglib-uri>
<taglib-location>/WEB-INF/fmt.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>http://java.sun.com/jstl/core</taglib-uri>
<taglib-location>/WEB-INF/c.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>http://java.sun.com/jstl/sql</taglib-uri>
<taglib-location>/WEB-INF/sql.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>http://java.sun.com/jstl/x</taglib-uri>
<taglib-location>/WEB-INF/x.tld</taglib-location>
</taglib>

what is missing??

Lew

unread,
Jul 21, 2007, 11:35:06 AM7/21/07
to

Most likely the JSF Jar file in your classpath.

--
Lew

buu

unread,
Jul 21, 2007, 1:37:59 PM7/21/07
to
>
> Most likely the JSF Jar file in your classpath.
>
> --
> Lew

I added jar's to WEB-INF/lib (I have them in my classpath), but I got an
tomcat error:

Jul 21, 2007 7:35:16 PM org.apache.catalina.core.StandardContext
listenerStart
SEVERE: Error configuring application listener of class
com.sun.faces.config.ConfigureListener
java.lang.NoClassDefFoundError: com/sun/org/apache/commons/digester/RuleSet
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)
at java.lang.Class.getConstructor0(Class.java:2699)
at java.lang.Class.newInstance0(Class.java:326)
at java.lang.Class.newInstance(Class.java:308)
at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3771)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4334)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:825)
at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:714)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1206)
at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:293)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
at
org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1337)
at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1601)
at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)
at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1590)
at java.lang.Thread.run(Thread.java:619)
Jul 21, 2007 7:35:16 PM org.apache.catalina.core.StandardContext
listenerStart
SEVERE: Skipped installing application listeners due to previous error(s)


Lew

unread,
Jul 21, 2007, 2:37:58 PM7/21/07
to
Lew wrote:
>> Most likely the JSF Jar file in your classpath [is missing].

buu wrote:
> I added jar's to WEB-INF/lib (I have them in my classpath), but I got an
> tomcat error:
>
> Jul 21, 2007 7:35:16 PM org.apache.catalina.core.StandardContext
> listenerStart
> SEVERE: Error configuring application listener of class
> com.sun.faces.config.ConfigureListener
> java.lang.NoClassDefFoundError: com/sun/org/apache/commons/digester/RuleSet

Which JARs, specifically, are in the application WEB-INF/lib/? This error
seems to indicate that commons-digester is not in there.

Or perhaps the message is not coming from your application. Are there other
applications mounted in the same application server?

--
Lew

milan....@gmail.com

unread,
Jul 23, 2007, 9:35:26 AM7/23/07
to

Hi,

I am also getting the same error message:


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

I have the myfaces-api.jar and the myfaces-impl.jar in my WEB-INF\lib
folder.

Milan

0 new messages