利用APPFUSE架构郁闷问题
小弟最近用APPFUSE1。91TOMCAT 4。1
ANT 1。6。2
MYSQL
做系统,各种环境变量设置好了后,按照网上资料,先setup,然后install
但是在install时候,却不能通过,提示错误是:
package-web:
[echo] Preparing tomcat-context.xml for inclusion in war
[war] Building war: E:\1\mytest\dist\webapps\mytest.war
install:
BUILD FAILED: E:\1\mytest\build.xml:1027: java.net.ConnectException: Connection refused: connect
Total time: 5 seconds
转到提示错误的build。xml 的行,主要是:
<!-- ============================================================== -->
<!-- Tomcat tasks - remove these if you don't have Tomcat installed -->
<!-- ============================================================== -->
<taskdef file="${ant-contrib.dir}/tomcatTasks.properties">
<classpath>
<fileset dir="${tomcat.home}/server/lib" includes="catalina-ant*.jar"/>
</classpath>
</taskdef>
<target name="install" description="Install application in Tomcat"
depends="package-web">
<deploy url="${tomcat.manager.url}"
username="${tomcat.username}"
password="${tomcat.password}"
path="/${webapp.name}"
war="file:${webapp.dist}/${webapp.war}"/>
</target>
请问各位达人,什么地方错啊,应该怎么解决啊,小弟感激不尽。