This week's giveaway is in the OCPJP forum.
We're giving away four copies of Practice Tests for OCP Java 17 Certification Exam (1Z0-829) and have Paul Anilprem on-line!
See this thread for details.
Win a copy of Practice Tests for OCP Java 17 Certification Exam (1Z0-829) this week in the OCPJP forum!

Mikke Haelstrom

Greenhorn
+ Follow
since Sep 11, 2011
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Mikke Haelstrom


In general, I personally make it a point to refer *first* core documentation.

For Struts2 - http://struts.apache.org/2.2.3.1/docs/home.html

What we all do when starting something new, is to build a -helloworld- sort of application. Sometimes the documentation will miss a few things. In that case refer to the exceptions when Tomcat is loading the Struts2 application.

(And post how you solved it, for developers referring to it later know what the problem was and the resolution)

10 years ago

(Even though you might have fixed it.)

Looks like the Struts2 app is missing the commons-io* and commons-fileupload* jars.

At a minimum to run a helloworld kind Struts2 app would require these jars.
- struts2-core-*.jar
- xwork-core-*.jar
- ognl-*.jar
- commons-logging-*.jar
- commons-io*.jar
- commons-lang*.jar
- commons-fileupload*.jar
- freemarker-*.jar
- javaassist-*.jar

The jars will be available in the Struts2 distribution (download from struts.apache.org), in the lib folder.

Note: I use Struts2.2.x and higher.
10 years ago