Sometimes we use myeclipse development will appear some inexplicable error, obviously we did not write wrong, but the tool is wrong, show a red X, for example, we write struts.xml sometimes myeclipse will give you a mistake, such as:
Multiple annotations found at this line:-<result name= "Success" type= "redirect" >/emp_list</result>- Invalid result location Value/parameter If you are sure that you are not writing wrong, then this problem is not a configuration error, but may be a tool problem, the workaround is as follows in the Open window under the preferences
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/70/C8/wKiom1W98I_jxLYaAAN4p8efzq0071.jpg "title=" Qq20150802103356.png "alt=" Wkiom1w98i_jxlyaaan4p8efzq0071.jpg "/>
Remove the hooks on the red line. This case is for all struts.xml, and the way to solve this kind of problem may be more than this one, this is just my practice, for reference only.
Java Error Chapter Two