File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes Struts 2 error (first struts 2 application) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts 2 error (first struts 2 application)" Watch "Struts 2 error (first struts 2 application)" New topic

Struts 2 error (first struts 2 application)

Carlos Medina

Joined: Jan 31, 2010
Posts: 1
I'm making my first struts application, I'm using the web.xml as its a simple hello user, but every time I start apache I get the following error.

as for the jar files in my lib directory, they are:

and the web.xml file is configured as follows.

I was hoping someone could point me in the right direction to solve this.
Ankit Garg

Joined: Aug 03, 2008
Posts: 9465

You seem to have placed struts2-core- in the lib directory of your tomcat installation. Can you remove it and try again...

SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
David Newton

Joined: Sep 29, 2008
Posts: 12617

+1; you're deploying the same library twice. Keep the Struts libs in the web app itself.
I agree. Here's the link:
subject: Struts 2 error (first struts 2 application)
It's not a secret anymore!