Problem with TagLibs on Jetty run under maven2.

Apr 13th, 2009 | Filed under Uncategorized

Error obviously suggests problem with library versions. Generally first step  to solve this is to find out in what version of library below method is used, what version we  are using (jar may be provided by your application, by application server or sometimes in java libs folder).

java.lang.NoSuchMethodError: javax.servlet.jsp.tagext.TagAttributeInfo.(Ljava/lang/String;ZLjava/lang/String;ZZ)V  org.apache.jasper.compiler.TagLibraryInfoImpl.createAttribute (TagLibraryInfoImpl.java:577)

Most often conflict is in jetty/libs directory, but where does jetty under maven has it’s home dir?
More about configuring jetty plugin here.

After struggling with my configuration I find out that problem was in following lines:


<dependency>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-j2ee_1.4_spec</artifactId>
<version>1.0</version>
</dependency>

which I copied from other tutorial so small chances thay it will be your cause.

  1. reverse phone lookup
    Jul 31st, 2013 at 05:28
    Reply | Quote | #1

    I used to be recommended this website via my cousin. I am no longer positive whether or not this
    publish is written by means of him as no one else recognize such specified about my trouble.
    You’re incredible! Thanks!

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Anti-spam image