日期:2014-05-16 浏览次数:20363 次
NetBeans部署项目(Extjs)报错(一)
1、用NetBeans将项目部署到Tomcat中,报错。
具体如下:
ant -f D:\\NetBeans\\workspace\\FoundationDatabase -Dbrowser.context=D:\\NetBeans\\workspace\\FoundationDatabase -DforceRedeploy=false -Ddirectory.deployment.supported=true -Dnb.wait.for.caches=true -Dnb.internal.action.name=run run init: deps-module-jar: deps-ear-jar: deps-jar: Created dir: D:\NetBeans\workspace\FoundationDatabase\build\web\WEB-INF\classes Copying 4362 files to D:\NetBeans\workspace\FoundationDatabase\build\web Copied 255 empty directories to 5 empty directories under D:\NetBeans\workspace\FoundationDatabase\build\web library-inclusion-in-archive: library-inclusion-in-manifest: Created dir: D:\NetBeans\workspace\FoundationDatabase\build\empty Created dir: D:\NetBeans\workspace\FoundationDatabase\build\generated-sources\ap-source-output compile: compile-jsps: 正在启动 Tomcat 进程... 正在等待 Tomcat... Tomcat 服务器已启动。 就地在D:\NetBeans\workspace\FoundationDatabase\build\web中部署 正在部署... deploy?config=file%3A%2FC%3A%2FUsers%2FADMINI%7E1.FOX%2FAppData%2FLocal%2FTemp%2Fcontext4085808419366812118.xml&path=/FoundationDatabase FAIL - Deployed application at context path /FoundationDatabase but context failed to start D:\NetBeans\workspace\FoundationDatabase\nbproject\build-impl.xml:1156: 尚未部署该模块。 有关详细信息, 请查看服务器日志。 构建失败 (总时间: 4 分钟 55 秒)
<?xml version="1.0" encoding="UTF-8"?> <!-- *** GENERATED FROM project.xml - DO NOT EDIT *** *** EDIT ../build.xml INSTEAD *** For the purpose of easier reading the script is divided into following sections: - initialization - compilation - dist - execution - debugging - javadoc - test compilation - test execution - test debugging - cleanup --> <project xmlns:webproject1="http://www.netbeans.org/ns/web-project/1" xmlns:webproject2="http://www.netbeans.org/ns/web-project/2" xmlns:webproject3="http://www.netbeans.org/ns/web-project/3" basedir=".." default="default" name="FoundationDatabase-impl"> <import file="ant-deploy.xml"/> <fail message="Please build using Ant 1.7.1 or higher."> <condition> <not> <antversion atleast="1.7.1"/> </not> </condition> </fail> <target depends="dist,javadoc" description="Build whole project." name="default"/> <!-- INITIALIZATION SECTION --> <target name="-pre-init"> <!-- Empty placeholder for easier customization. --> <!-- You can override this target in the ../build.xml file. --> </target> <target depends="-pre-init" name="-init-private"> <property file="nbproject/private/private.properties"/> </target> <target depends="-pre-init,-init-private" name="-init-user"> <property file="${user.properties.file}"/> <!-- The two properties below are usually overridden -->