Hi Kavita,

I made an external dependency of servlet 2.5 earlier version for the
standard taglib in my app.
This taglib had a transitive dependency on an earlier version of the
servlet api that was messing things up.
By removing this dependency from the path, it worked.
if you do mvn dependency:tree you will see which jar it is that is dragging
in the earlier version of the servlet spec.

Let me know if this was of any help.

Thanks,
Shriharsh


On Thu, Mar 13, 2014 at 5:13 PM, Kavita [via Maven] <
[email protected]> wrote:

> Hi shriharsh, I am also facing same issue. Please let me know if u have
> solved this issue. Thanks & Regards, Kavita
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://maven.40175.n5.nabble.com/An-API-incompatibility-was-encountered-while-executing-org-mortbay-jetty-jetty-maven-plugin-8-1-14-vr-tp5784451p5788221.html
>  To unsubscribe from An API incompatibility was encountered while
> executing org.mortbay.jetty:jetty-maven-plugin:8.1.14.v20131031:run:
> java.lang.NoSuchMethodError, click 
> here<http://maven.40175.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5784451&code=bC5zaHJpaGFyc2hAZ21haWwuY29tfDU3ODQ0NTF8LTczMjI0NDIxMw==>
> .
> NAML<http://maven.40175.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: 
http://maven.40175.n5.nabble.com/An-API-incompatibility-was-encountered-while-executing-org-mortbay-jetty-jetty-maven-plugin-8-1-14-vr-tp5784451p5788230.html
Sent from the Maven - Users mailing list archive at Nabble.com.

Reply via email to