<property name="app.home"          value="." />////////////////一 这里的app.home指的是么
web 应用的根   <!-- The object files for this application -->
    <pathelement location="${classes.home}"/>/////////////二 这句的作用是什么
看注释:就是放你这个web应用的classes的地方
<pathelement location="${tomcat.home}/common/classes"/>三  还有这句
好象也是找包用的

解决方案 »

  1.   

    一  app.home point to your application's home directory
    二  pathelemnt specify your classpath,location="${classes.home}" designates than classpath location is what the variable classes.home defines,that is to say classpath=${app.home}/WEB-INF/classes=./}/WEB-INF/classes
    三   same as the above
      

  2.   

    jihanzhong(逍遥)说的有点问题!
    app.home只是定义的一个property,并不一定是web应用的根!只是定义app.home为当前目录!
      

  3.   

    property defines a (name,value) pair,that is a variable and its value which can be refered to.
      

  4.   

    用eclipse生成ant的配置文件好方便的