• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Getting error while deploying Paging folder

 
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This absolute uri (http://java.sun.com/jstl/fmt) cannot be resolved in either web.xml or the jar files deployed with this application
Getting the qbove error while deploying paging folder in the tomcat, i have already installed taglib.jar, jstl.jar, or other required jar to the application's WEB-INF folder but still getting above error
Kindly help
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
That URI is wrong. Do some research to find the correct URI. Start with the JspFaq.
 
Priyanka Dande
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you for the reply but I have change the uRL to
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> and put jstl1.1.2.jar and standard 1.1.2.jar in application's WEB-INF Folder
but still i am getting the error

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
"http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
<web-app>


Below arror i am getting for the URL




PLEASE HELP








 
Bear Bibeault
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Please read KeepItDown and avoid posting in all uppercase.

Servlets 2.2? What web container are you using? Tomcat? What version?
 
Priyanka Dande
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for the reply
Uppercase means ?
I am using Tomcat 4.1.2 application software
kindly provide me the solution
 
Ranch Hand
Posts: 136
Netbeans IDE MySQL Database Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Change your tomcat server to some latest version and try out may be it will work
 
Bartender
Posts: 2270
20
Android Java ME Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
application's WEB-INF Folder? Should it be under application's WEB-INF\lib Folder?
 
Bear Bibeault
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Your web.xml DOCTYPE is ancient. Upgrade to a newer version of Tomcat and see the JspFaq for infer on how to correctly set up the JSTL. The first thing you need to do is to fix your web.xml declaration.
 
Priyanka Dande
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for your reply
i have upgraded my tomcat 4.1 to tomcat 6.0 and deploy the paging folder(datagrid) to tomcat 6.0 but tomcat 6.0 giving me the message as
Message: FAIL - Application at context path /datagrid could not be started
also i have change my web.xml declaration as



my previous web-app declaration was




please help
 
Bear Bibeault
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Look in the logs for the reason for the failure.
 
Sabarish Venkat
Ranch Hand
Posts: 136
Netbeans IDE MySQL Database Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
post the log file for error we can guess something from it
 
Priyanka Dande
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
kindly find my catalina.out for my tomcat 6.0


what should i change in web.xml?
 
Bear Bibeault
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
SEVERE: Parse Fatal Error at line 34 column 1: XML document structures must start and end within the same entity.

Check the structure of your web.xml.
 
Marshal
Posts: 28177
95
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You should change whatever in your web.xml file makes it not be well-formed.

SEVERE: Parse Fatal Error at line 34 column 1: XML document structures must start and end within the same entity.



I would suggest looking around line 34, column 1 for a start. Perhaps you missed an end tag, or misspelled an element name, or something like that.
 
Priyanka Dande
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
thank you for your prompt reply
i have checked my web.xml file


i have posted above is my web.xml file from my project folder web-inf/web.xml

i have checked it but i didn't find any missing tag there?
please help
 
Sabarish Venkat
Ranch Hand
Posts: 136
Netbeans IDE MySQL Database Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
priyanka i think you dint posted your xml properly here see the line 181 in log error

SEVERE: Parse error in application web.xml file at jndi:/localhost/datagrid/WEB-INF/web.xml
org.xml.sax.SAXParseException: XML document structures must start and end within the same entity.



It says problem with your JNDI check out the connection of JNDI and the data grid file
 
reply
    Bookmark Topic Watch Topic
  • New Topic