java ee - Struts 2 Jars Conflict -


my struts 2 tile application working fine. after adding struts2-jquery-plugin library jar, getting following error:

"severe: exception starting filter struts2 unable load configuration. - [unknown location]"

my libraries structure is:

  • antlr-2.7.6
  • commons-beanutils-1.7.0
  • commons-collections-3.1
  • commons-digester-1.7
  • commons-fileupload-1.2.1
  • commons-io-1.3.2
  • commons-lang-2.3
  • commons-logging-1.1
  • freemarker-2.3.13
  • hsqldb
  • jta-1.1
  • log4j-1.2.15
  • ognl-2.6.11
  • slf4j-api-1.5.8
  • slf4j-log4j12-1.5.8
  • struts2-convention-plugin-2.1.6
  • struts2-core-2.1.6
  • struts2-jquery-plugin-3.5.1
  • struts2-tiles-plugin-2.1.6
  • tiles-api-2.1.2
  • tiles-compat-2.1.2
  • tiles-core-2.1.2
  • tiles-jsp-2.1.2
  • tiles-servlet-2.1.2
  • xwork-2.1.2

i unable find jars/classes getting conflict.

and want know best way overcome such conflict.

thanks!

the conflicts coming using version of jquery plugin doesn't work version of s2 you're using. 3.5.1 of s2 jquery plugin requires s2 2.3.8, its pom shows (in struts2-jquery, plugin's parent project).

you cannot arbitrarily mix-and-match versions of libraries; must respect dependencies unless they're compatible. it's why have tools maven.

one way highlight possible conflicts use mvn dependency:tree , see there multiple versions of same library.


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -