Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Getting error while deploying Paging folder

 
Priyanka Dande
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • 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
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65118
91
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • 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: 55
  • Mark post as helpful
  • send pies
  • 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
Author and ninkuma
Marshal
Pie
Posts: 65118
91
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • 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: 55
  • Mark post as helpful
  • send pies
  • 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
 
Sabarish Venkat
Ranch Hand
Posts: 136
Java MySQL Database Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Change your tomcat server to some latest version and try out may be it will work
 
Swastik Dey
Rancher
Posts: 1625
5
Android Java Java ME
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
application's WEB-INF Folder? Should it be under application's WEB-INF\lib Folder?
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65118
91
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • 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: 55
  • Mark post as helpful
  • send pies
  • 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
Author and ninkuma
Marshal
Pie
Posts: 65118
91
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Look in the logs for the reason for the failure.
 
Sabarish Venkat
Ranch Hand
Posts: 136
Java MySQL Database Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
post the log file for error we can guess something from it
 
Priyanka Dande
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
kindly find my catalina.out for my tomcat 6.0


what should i change in web.xml?
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65118
91
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • 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.
 
Paul Clapham
Sheriff
Posts: 21322
32
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • 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: 55
  • Mark post as helpful
  • send pies
  • 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
Java MySQL Database Netbeans IDE
  • Mark post as helpful
  • send pies
  • 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic