Categories
Uncategorized

Problem with TagLibs on Jetty run under maven2.

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 reply on “Problem with TagLibs on Jetty run under maven2.”

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!

Leave a Reply

Your email address will not be published. Required fields are marked *

55 − = 53