[
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