I am new to Struts 2.
I am trying to run the Struts 2 simple application.
this application has simple Login jsp page and one action.
Following are the Jar files I have included in the "WEB-INF/lib" folder.
While starting the application, I am getting following exception.
You are getting error of missing javassist library but its not given on dependencies list. On the dependency list OGNL 2.7.3 is given and you are using OGNL 3, try to use 2.7.3 version to see if it works...
How are you managing your dependencies? It looks like you're missing the OGNL dependency on Javassist... which actually confuses me, because S22.214.171.124 also uses an OGNL that has a runtime dependency on Javassist, but I'm not deploying Javassist, and it still works.
Hmm, in S126.96.36.199 there's a specific POM exclusion of Javassist which is not present in the S2.2.1 POM, so I guess the dependency is now more absolute. Looking in the S2.2.1 download I see it's in the struts2-blank app, so it's now a hard dependency. You'll need it.
I got the list of Jar file after downloading this ZIP. Out of which for creating this application I have used the jar files that are underlined in the attached image.
So I thought that directly using these jar files will help me run my application.
Please let me know if there is any specific dependency list for Struts2-2.2.1 version.
And how to get the depend JAR files. [As per Ankit suggestion I tried downloading the OGNL 2.7.3 version but was not able to.]
Oh, okay. Please UseRealWords when posting. Using abbreviations makes your writing much harder to understand, especially for the many Ranchers for whom English isn't their native language. You can edit your post by using the button.
Joined: Aug 18, 2010
Thanks David for guiding me.
I will follow these suggestions.
One query, what is this dev list you were talking about in your previous reply