Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / July 2007

Tip: Looking for answers? Try searching our database.

jsp page in Apache not working..

Thread view: 
buu - 21 Jul 2007 11:39 GMT
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 - 21 Jul 2007 16:35 GMT
> I'm a newbie in making java web apps, so I need a help :)
>
[quoted text clipped - 37 lines]
>
> what is missing??

Most likely the JSF Jar file in your classpath.

Signature

Lew

buu - 21 Jul 2007 18:37 GMT
> Most likely the JSF Jar file in your classpath.

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 - 21 Jul 2007 19:37 GMT
Lew wrote:
>> Most likely the JSF Jar file in your classpath [is missing].

> I added jar's to WEB-INF/lib (I have them in my classpath), but I got an
> tomcat error:
[quoted text clipped - 4 lines]
> 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?

Signature

Lew

milan.behera@gmail.com - 23 Jul 2007 14:35 GMT
> Lew wrote:
> >> Most likely the JSF Jar file in your classpath [is missing].
[quoted text clipped - 15 lines]
> --
> Lew

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


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.