Return-Path: X-Original-To: apmail-struts-issues-archive@minotaur.apache.org Delivered-To: apmail-struts-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 43C3ADDBE for ; Sat, 16 Feb 2013 19:09:13 +0000 (UTC) Received: (qmail 3145 invoked by uid 500); 16 Feb 2013 19:09:13 -0000 Delivered-To: apmail-struts-issues-archive@struts.apache.org Received: (qmail 3106 invoked by uid 500); 16 Feb 2013 19:09:13 -0000 Mailing-List: contact issues-help@struts.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@struts.apache.org Delivered-To: mailing list issues@struts.apache.org Received: (qmail 3097 invoked by uid 99); 16 Feb 2013 19:09:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 16 Feb 2013 19:09:13 +0000 Date: Sat, 16 Feb 2013 19:09:12 +0000 (UTC) From: "Lukasz Lenart (JIRA)" To: issues@struts.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (WW-3981) Struts.xml not found MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/WW-3981?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13579878#comment-13579878 ] Lukasz Lenart commented on WW-3981: ----------------------------------- It's served that way because you configured it in that way (you said nothing about your environment and as I can see you use Eclipse). In normally packaged application there be no {{src/main/webapp}} and {{src/main/java}} inside the war archive. Do an experiment for me, run {{mvn package}}, check the {{target}} folder if there is a *.war file. Extract it as it is a simple zip archive and check what you have in {{WEB-INF/classes}}. What you pointed as bug it is not - there is a billions of applications which work perfectly fine with the pointed code. > Struts.xml not found > -------------------- > > Key: WW-3981 > URL: https://issues.apache.org/jira/browse/WW-3981 > Project: Struts 2 > Issue Type: Bug > Affects Versions: 2.3.8 > Environment: Struts 2.3.8 > Eclipse + wtp + m2ewtp > Tomcat > Reporter: lefebvre > Attachments: URL1.bmp, URL2.bmp > > > On tomcat startup, if serve without publishing is checked > If struts.xml is into src/main/webapp/web-inf/classes tomcat start correctly > If struts.xml is into src/main/ressources an exception is throwed : struts.xml not found > Any idea ? -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira