Can't figure out what this error means for a TLD file

I am new to Java and I am getting the following error. I a tld file in a tlds folder under the Web-inf folder. I am running tomcat 5.5.17. I also put the file in the Web.xml. What else do I need to do?
javax.servlet.ServletException: javax.servlet.jsp.tagext.TagInfo.<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljavax/servlet/jsp/tagext/TagLibraryInfo;Ljavax/servlet/jsp/tagext/TagExtraInfo;[Ljavax/servlet/jsp/tagext/TagAttributeInfo;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;[Ljavax/servlet/jsp/tagext/TagVariableInfo;Z)V
     org.apache.jasper.servlet.JspServlet.service(JspServlet.java:272)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
root cause
java.lang.NoSuchMethodError: javax.servlet.jsp.tagext.TagInfo.<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljavax/servlet/jsp/tagext/TagLibraryInfo;Ljavax/servlet/jsp/tagext/TagExtraInfo;[Ljavax/servlet/jsp/tagext/TagAttributeInfo;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;[Ljavax/servlet/jsp/tagext/TagVariableInfo;Z)V
     org.apache.jasper.compiler.TagLibraryInfoImpl.createTagInfo(TagLibraryInfoImpl.java:435)
     org.apache.jasper.compiler.TagLibraryInfoImpl.parseTLD(TagLibraryInfoImpl.java:248)
     org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:162)
     org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:423)
     org.apache.jasper.compiler.Parser.parseDirective(Parser.java:492)
     org.apache.jasper.compiler.Parser.parseElements(Parser.java:1552)
     org.apache.jasper.compiler.Parser.parse(Parser.java:126)
     org.apache.jasper.compiler.ParserController.doParse(ParserController.java:211)
     org.apache.jasper.compiler.ParserController.parse(ParserController.java:100)
     org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:155)
     org.apache.jasper.compiler.Compiler.compile(Compiler.java:295)
     org.apache.jasper.compiler.Compiler.compile(Compiler.java:276)
     org.apache.jasper.compiler.Compiler.compile(Compiler.java:264)
     org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:563)
     org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:303)
     org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
     org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

Using Java 1.5. This code is from a book example, and I tried emailing the company, but haven't heard anything.
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE taglib
PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN"
"http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">
<taglib>
<tlibversion>1.0</tlibversion>
<jspversion>1.2</jspversion>
<shortname></shortname>
<info>The tag library for the murach applications</info>
<tag>
<name>today</name>
<tagclass>tags.SimpleDateTag</tagclass>
<info>Returns the current date</info>
</tag>
<tag>
<name>time</name>
<tagclass>tags.CurrentTimeTag</tagclass>
</tag>
<tag>
<name>checkfield</name>
<tagclass>tags.AttributeRequiredTag</tagclass>
<bodycontent>empty</bodycontent>
<attribute>
<name>color</name>
<required>false</required>
</attribute>
<attribute>
<name>field</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>weekday</name>
<tagclass>tags.BodyWeekdayTag</tagclass>
<bodycontent>JSP</bodycontent>
</tag>
<tag>
<name>products</name>
<tagclass>tags.ProductsTag</tagclass>
<teiclass>tags.ProductsTEI</teiclass>
<bodycontent>JSP</bodycontent>
</tag>
</taglib>
This is the SimpleDateTag class, which is being referenced.
package tags;
import javax.servlet.jsp.*;
import javax.servlet.jsp.tagext.*;
import java.io.*;
import java.util.*;
import java.text.DateFormat;
public class SimpleDateTag extends TagSupport{
public int doStartTag() throws JspException{
Calendar calDate = new GregorianCalendar();
Date now = calDate.getTime();
DateFormat shortDate = DateFormat.getDateInstance(DateFormat.SHORT);
String today = shortDate.format(now);
try {
JspWriter out = pageContext.getOut();
out.print("The current date is " + today + ".");
catch (IOException ioe){
System.out.println("SimpleDateTag IOException: " + ioe);
return SKIP_BODY;
}

Similar Messages

  • TS3694 My iPad says it has to restore to update, but it will not.  It is caught in a cycle of not being able to restore but needed to restore.  I keep getting error code 3014 but I can not figure out what this means!

    My iPad says it has to restore to update, but it will not.  It is caught in a cycle of not being able to restore but needed to restore.  I keep getting error code 3014 but I can not figure out what this means! nor can I do anything about it!  So Frutrated!

    Also...
    See Here  >  http://support.apple.com/kb/HT1808
    You may need to try this More than Once...
    But... if the Device has been Modified... this will Not necessarily work.

  • I see "imac-54f9d5" under the "Shared" heading in my finder. I am not connected to any printers or other Mac devices. Is it possible that someone is remotely accessing my system? How can I figure out what this is?

    I see "imac-54f9d5" under the "Shared" heading in my finder. I am not connected to any printers or other Mac devices. Is it possible that someone is remotely accessing my system? How can I figure out what this is?

    is it your imac?
    is it your your router's name?
    are you by any chance connected to another wifi router then your own because the other one was open and not password protected?

  • Can anyone tell me what this error means?

    Hi All
    The following error was encountered by a printer who has opened a supplied PDF in Acrobat, Saved it as a postscript and then run it through distiller server 6. Can anyone tell me what this error means and what sort of things can cause it?
    %%[ Error: syntaxerror; OffendingCommand: ! ]%%
    Stack:
    /PaintProc
    5.32031
    /YStep
    258.404
    /XStep
    [257.404 5.32031 258.404 5.32031]
    /BBox
    1
    /TilingType
    1
    /PaintType
    1
    /PatternType
    -mark-
    -mark-
    -mark-
    -save-
    %%[ Flushing: rest of job (to end-of-file) will be ignored ]%%
    %%[ Warning: PostScript error. No PDF file produced. ] %%

    Something to do with software from wireless.umass.edu.

  • I purchased extra Icloud storage on my IPhone for £14 but have been charged an additional £1.58p where can I find out what this charge was for?

    I purchased extra Icloud storage on my IPhone for £14 but have been charged an additional £1.58p where can I find out what this charge was for?

    Sign in, activation, or connection errors | CS5.5 and later
    For your payment issues you will have to contact ales support.
    Mylenium

  • Can anyone help me figure out what this sighn means...?

    everytime i try to turn on my ipod the apple logo appears and then a battery with a exclemation mark in a litlle triangle appears, and once i got it on it won't play the songs, it just goes through them w/o playing it for a second. I can't figure it out. What should i do?

    So, what does the iPod show on the screen when you connect it to your power source?
    Have you tried resetting it while it's connected? To reset hold the MENU and SELECT (center) buttons until you see the Apple logo.

  • PLEASE CAN YOU TELL ME WHAT THIS ERROR MEANS?

    The script attached to my button reads:-
    //This script takes the user to Scene 1 when opendoor is
    released
    on(Release) = function (){
    gotoAndStop("Scene 1", 1);
    The errors in the Output Panel are:-
    **Error** Scene=Scene 2, layer=door, frame=1:Line 2: '{'
    expected
    on(Release) = function () {
    **Error** Scene=Scene 2, layer=door, frame=1:Line 4:
    Statement must appear within on handler
    I will be eternally grateful to anyone who can sort me out!!

    SLMHILL wrote:
    > The script attached to my button reads:-
    >
    > //This script takes the user to Scene 1 when opendoor is
    released
    > on(Release) = function (){
    > gotoAndStop("Scene 1", 1);
    > };
    >
    > The errors in the Output Panel are:-
    >
    > **Error** Scene=Scene 2, layer=door, frame=1:Line 2: '{'
    expected
    > on(Release) = function () {
    >
    > **Error** Scene=Scene 2, layer=door, frame=1:Line 4:
    Statement must appear
    > within on handler
    > };
    >
    > I will be eternally grateful to anyone who can sort me
    out!!
    >
    >
    >
    SLMHILL,
    You're mixing two ways of writing event handlers. If you want
    to attach
    the script to your button directly, use this code:
    on(Release) {
    gotoAndStop("Scene 1", 1)
    Or, if you want to place all of the scripting in one place,
    on a frame
    on the main timeline, you would use the code below.
    opendoor.onRelease = function (){
    gotoAndStop("Scene 1", 1);
    To do this, make sure your button on the stage has an
    instance name of
    "opendoor" -- instance name is in the Properties panel.
    Then make a new layer called "actions" and make sure to click
    on it in
    the timeline, then open the Actions panel and write the code.

  • I uninstalled Firefox once, reinstalled it and it ran. I had a problem so I did it again. Now it will not run and I get an error message saying that firefox is running and you can only run one at a time. I can't figure out what is running.

    Because of a problem, I uninstalled Firefox once, reinstalled it and it ran. I had a problem so I uninstalled/reinstalled it again. Now it will not run. I get an error message saying that firefox is running and you can only run one at a time. I have uninstalled multiple times and can't figure out what is running. The is only one Firefox installed and it is not open. What does this mean and how do I fix it?

    If you use ZoneAlarm Extreme Security then try to disable Virtualization.
    *http://kb.mozillazine.org/Browser_will_not_start_up#XULRunner_error_after_an_update
    See also:
    *[[/questions/880050]]

  • Can't figure out whats wrong with this IF statement

    Hey.
    I must be tired cause I just can't figure out why this IF statement doesn't work. It's probably something silly but please help me get it right. The user is prompted with a form (textfield) and I'm gonna check if its the right password (this is not the reason im doing this but it works good for this example).
    if(displayable == form){
              String correctPassword = "abcd";
              System.out.println("Input: " + textfield.getString());
              System.out.println("Correct: " + correctPassword);
              if(textfield.getString() == correctPassword) {
                   System.out.println("Password is correct");
                   Display.getDisplay(this).setCurrent(mList);
              else {
                   System.out.println("Wrong password");
                   destroyApp(true);
                   notifyDestroyed();
    }Even though i enter the correct password, it still thinks it is incorrect. This is how the WTK compiler outputs the above statement.
    Input: abcd
    Correct: abcd
    Wrong passwordObviously the passwords DO match, so what am I doing wrong?

    The == comparison operator returns true for equal primitives OR for variable references to the same object.
    Classes (usually) override the .equals (Object obj) method inherited from Object to return true when objects of the class are essentially equivalent.
    Run this java code segment and try to understand the output.String aStr = "A string";
    String bStr = aStr;
    if (aStr == bStr) System.out.println ("== true");
    else System.out.println("== false");
    if (aStr.equals (bStr)) System.out.println (".equals true");
    else System.out.println(".equals false");
    System.out.println();
    bStr = new String ("A string");
    if (aStr == bStr) System.out.println ("== true");
    else System.out.println("== false");
    if (aStr.equals (bStr)) System.out.println (".equals true");
    else System.out.println(".equals false");
    System.out.println();
    bStr = new String ("Some String");
    if (aStr == bStr) System.out.println ("== true");
    else System.out.println("== false");
    if (aStr.equals (bStr)) System.out.println (".equals true");
    else System.out.println(".equals false");Ask again if it's not clear enough. But first, read the API for Object.equals (Object obj) to understand the contract of .equals (...)
    db

  • I can't figure out why this page splits in live preview... but not in the browser?

    I've finally got my site up and it all runs great... except I can't figure out why this one page behaves like it's too wide.
    http://www.johnnez.com/mainbooks.html
    It comes apart in the Live Preview.... but not in the browser preview.
    Thanks for any tips...
    jn

    john nez wrote:
    HTML is a total incrutable mystery to me... a mystery inside a mystery inside a mystery!
    Sounds to me like you've almost cracked it!
    You have one error that could cause problems and that's the stray </blockquote> tag.  Just delete it.
    The alt="" text will show as an error on the validator but that's easy to fix and worth doing.
    Here's an easy article on that: http://www.456bereastreet.com/archive/200412/the_alt_and_title_attributes/
    In one of your CSS files (JonzheaderindexCSS.css) you have this:
    body {
    margin-top: 20px;
    padding: 0;
    color: #666;
    font-family: Verdana, Geneva, sans-serif;
    font-size: 14px;
    line-height: normal;
    background-attachment: fixed;
    background-color: #E1B852;
    background-image: url(../images/orange%20plaid.jpg);
    background-repeat: repeat;
    html { overflow-y: scroll; }
    It should be like this:
    html {
    overflow-y: scroll;
    body {
    margin-top: 20px;
    padding: 0;
    color: #666;
    font-family: Verdana, Geneva, sans-serif;
    font-size: 14px;
    line-height: normal;
    background-attachment: fixed;
    background-color: #E1B852;
    background-image: url(../images/orange%20plaid.jpg);
    background-repeat: repeat;
    It looks like you have that rule repeated further down the page like this:
    html { overflow-y: scroll; }
    There's an extra curly brace there (}) anyway, so it is badly formed but the whole rule and extra curly brace can go.
    You can fix those errors but I have a sneaky suspicion that it isn't gong to solve the issue you describe.
    Fix those issues anyway and post back.  Maybe if you can show a screen shot of what you are seeing in DW it might help?
    Martin
    PS: It's never a good idea to have file names on the web that have spaces in.  Your background rule has this:
    background-image: url(../images/orange%20plaid.jpg);
    That .jpg should be orangeplaid.jpg or orangePlaid.jpg or orange_plaid.jpg and the change should be reflected in the reference to the image so, orangePlaid.jpg should be:
    background-image: url(../images/orangePlaid.jpg);

  • I'm having trouble buying a season pass for The Americans. I have purchased passes to Justified for the past 4 years with no problem. Can't figure out why this purchase won't work.

    I'm having trouble buying a season pass for The Americans. I have purchased passes to Justified for the past 4 years with no problem. Can't figure out why this purchase won't work.

    What is the problem that you are having ? If you are getting an error message then what does it say ?

  • Am getting message from MacPro that my start up disc is full - but I can't find it and can't figure out what to do to help situation. I've been making a number of imovies, which generates junk files. help?

    I am getting message from MacPro that my start up disc is full - but I can't find this "start up disc" and can't figure out what to do to help situation. I've been making a number of imovies, which generates junk files and material that I should toss in the trash, but it is not clear to me  what items I can toss and which items I can't toss. Can you help? Using the imovie "help" support the system showed me under the menu item "go" where the "start up disc" should be - but that wasn't actually available on my menu!  Thanks for your help!

    Disk Utility 
    Get Info on the icon on Desktop
    Try to move this to the MacBook Pro forum
    Your boot drive should be 30% free to really perform properly. 10% minimum
    Backup, clone, use TimeMachine, use another drive for your projects and movies, replace and upgrade the internal drive even.

  • Can't figure out what I'm doing wrong

    I'm using Studio 8 in Mac OS X (10.4.6). I've got some pdfs
    uploaded to my site that are accessible through links one one of
    the pages. I had to make changes to the pdfs and resave them. I
    thought I uploaded them, but when I test the links it downloads the
    old version and I can't figure out what I'm doing wrong. Here's
    what I did.
    This may be a dumb way to do things, but I saved the new
    version and then dragged into the server file in
    user-->Library-->Application
    Support-->Macromedia-->Dreamweaver
    8-->Configuration-->ServerConnections-->unnamed
    server-->public_html (this is where all the other files are).
    When I go back into Dreamweaver and open the pdf listed in the
    Files window on the right (by control-clicking and selecting Open
    with-->Acrobat) the correct version appears. I thought maybe
    there was a delay or something, but I've waited and still the old
    version is what you get from the site.
    Is there an easier way to do this, or is something wrong
    maybe? Many thanks in advance.

    > This may be a dumb way to do things, but I saved the new
    version and then
    > dragged into the server file in
    user-->Library-->Application
    > Support-->Macromedia-->Dreamweaver
    Put the files in this Site's Local Site Folder.
    If unsure of where you've specified this to be, look in this
    site definition
    (dw menu-->Sites-->Manage or Edit Sites)
    If that path you've given above above is correct, it's
    wrong....

  • Background program running and can't figure out what it is...

    I have an IMAC desktop, I just purchased the Photoshop Elements 10 software for MAC, installed it, running fine. But now I have program that is contanstly running in the background that is slowing up all of my other applications I run while I'm working. I've checked the Activity Monitor but I can't see anything out of the norm...Does anyone have any suggestions? I'm very frustrated....

    I presume you mean that the hard drive is working on something. Again, any such process would show in the Activity Monitor. Check that again, confirming that you have "all processes" set so you can see everthing that's going on. It will be easiest to spot anything unusual if you click on the "% CPU" column header to sort by the amount of CPU time each process is using. Click twice so that the arrow is pointing downwards; then the top users of CPU time will be listed at the top. Post the name of any process that's consistently or unexpectedly using a significant amount of CPU time and we can probably figure out what's happening and offer suggestions.
    Regards.

  • When I put my iphone 4s into my pocket (pants or coat) and move it around, the phone beeps/makes a tone. I can't figure out what is causing the noise.

    I have a strange problem. When I put my iphone 4S into my pocket (pants or coat) and move it around, the phone makes a beep noise/tone. I can't figure out what is causing the noise. It doesn't sound like any of my regular applications. Maybe it is the lock noise but I can't tell for sure.  More movement makes more beeps.  Even walking with my phone in my pocket creates beeps.  The IOS is 7.0.4 (11B554a).  Anyone else have this crazy problem?

    Try This...
    Close All Open Apps... Sign Out of your Account... Perform a Reset...
    Reset  ( No Data will be Lost )
    Press and hold the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears. Release the Buttons.
    http://support.apple.com/kb/ht1430
    If the issue persists...
    Connect to iTunes on the computer you usually Sync with and Restore
    http://support.apple.com/kb/HT1414
    Make sure you have the Latest Version of iTunes (v11) Installed on your computer
    iTunes free download from www.itunes.com/download

Maybe you are looking for

  • HOW CAN I DOWNLOAD A REPLACEMENT ACROBAT 9 PRO

    MY COMPUTER THAT HAD ACROBAT 9 PRO AND PHOTO SHOP CRASHED. HOW CAN I DOWNLOAD REPLACEMENT PROGRAMS?

  • New Camera RAW to DNG but DNG not recognised

    I recently purchased a Sony Cybershot RX100M3. The RAW files are Sony's ARW2. I have Photoshop CS4 and Bridge. Naturally they won't recognise the new RAW files. I converted then to DNG using Adobe DNG converter. However CS4 and Bridge would not recog

  • Oracle ODBC

    Can you still use the Oracle ODBC driver after you install the ODP.NET driver? I installed the ODP.NET driver and it worked great for my ASP.NET pages, but a windows program that used the Oracle ODBC driver now fails with the following error: -214746

  • Blackberry Desktop Software Hangs on Startup

    I installed the version that came with Curve 8330 (Verizon), on Dell Latitude 620 running Vista Ultimate. The Desktop started with the blank weavy screen but no menus. Hourglass. I waited for 30 minutes. No progress. I uninstalled, rebooted, download

  • Cannot authorize songs

    Some of my songs I transfered from an old laptop to my new one has a few problems. About 27 of the tracks cannot be copied to the ipod because the laptop is not authorized to use them. I tried to authorize this account which worked fine but I still c