appfuse在eclipse下提示${env.CATALINA_HOME} does not exist解决方案

appfuse 1.9.3生成的工程导入eclipse,ant提示${env.CATALINA_HOME}\server\lib does not exist:

解决一:在eclipse下设置Preferences-->Ant-->Runtime-->Properties,Add Property...

  • Name: env.CATALINA_HOME
  • Value:   F:\workspace\javaee\myapp\apache-tomcat-5.5.36

解决二:修改工程中的/myapp/properties.xml文件,增加:

<property name="env.CATALINA_HOME" value="F:\workspace\javaee\myapp\apache-tomcat-5.5.36"/>

相关推荐