问题描述
Buildfile:E:Workspacestrunkbuild.xmlinit:prepare:[mkdir]Createddir:E:Workspacestrunkbuilddeployclasses[mkdir]Createddir:E:Workspacestrunkdeploypwdtools[mkdir]Createddir:E:Workspacestrunkbuildtestclasses[mkdir]Createddir:E:Workspacestrunkbuildtestresultcompile:[copy]Copying48filestoE:Workspacestrunkbuilddeployclasses[javac]Compiling607sourcefilestoE:Workspacestrunkbuilddeployclasses[javac]注意:E:WorkspacestrunksrccomsunlinesuncarddbextendExtendSqlMapClientTemplate.java使用或覆盖了已过时的API。[javac]注意:要了解详细信息,请使用-Xlint:deprecation重新编译。[copy]Copying127filestoE:Workspacestrunkbuilddeployclassesdeploy:[jar]Buildingjar:E:Workspacestrunkbuildsuncard-1.0.jar[jar]Buildingjar:E:Workspacestrunkbuildsuncard-src-1.0.jar[copy]Copying1820filestoE:Workspacestrunkdeployweb[copy]Copied342emptydirectoriesto2emptydirectoriesunderE:Workspacestrunkdeployweb[copy]Copying66filestoE:WorkspacestrunkdeploywebWEB-INFlib[copy]Copying48filestoE:WorkspacestrunkdeploywebWEB-INFclasses[copy]Copying1filetoE:WorkspacestrunkdeploywebWEB-INFlibBUILDSUCCESSFULTotaltime:17seconds用tomcat启动就会报错:严重:Errorconfiguringapplicationlistenerofclassorg.springframework.web.context.request.RequestContextListenerjava.lang.ClassNotFoundException:org.springframework.web.context.request.RequestContextListener但是我在编译后的文件中能找到org.springframework.web-3.0.0.RC1.jar。可以确定不会有包冲突,我写几个文件前还好好的,重新编译后就出错了。clean后也不行,救命啊