1.当发布的项目名和原项目名不同时,查看.mymetadata文件,将context-root="",里面的内容改为现在的项目名即可。
2.当出现Cannot initialize context because there is already a root application context present - check whether you have multiple ContextLoader* definitions in your web.xml!错误时检查web.xml配置文件中是否有重复配置。
3.集成项目,当项目中方法原来无错,但是集成后显示方法错误且找不到方法,检查导入包是否有重复,或者版本错误。