The conflicts are coming from using a version of the jQuery plugin that doesn't work with the version of S2 you're using. 3.5.1 of the s2 jQuery plugin requires S2 2.3.8, as its POM shows (in struts2-jquery
, the plugin's parent project).
You cannot arbitrarily mix-and-match versions of libraries; you must respect dependencies unless you are certain they're compatible. It's why we have tools like Maven.
One way to highlight possible conflicts is to use mvn dependency:tree
and see where there are multiple versions of the same library.