I am having problems with the setup tutorial for the demo application. My
OS is Windows and I am using IE 6 as my browser and Sun AppServer 9.0. I
have built the JSF Templating projnect using NeBeans 5.5. When I deploy demo
everything seems to work up until I try to actually reach the application on
my browser I get a 404, requested resource not available. When I enter
asadmin deploydir, I get the successfully completed message. I have deployed
projects successfully in the past using Netbeans.
It looks like there may be a prolem in the build setup. The build did
complete successfully, but there was an error in it. I used the ant version
asant that comes with the JDK. would defintely appreciate some help here.
C:\Documents and Settings\Michael Phoenix\My Documents\cvs
projects\jsft\jsftemp
lating\demo>asant
Buildfile: build.xml
init:
[echo] ant.bat
compile:
[mkdir] Created dir: C:\Documents and Settings\Michael Phoenix\My
Documents\
cvs projects\jsft\jsftemplating\demo\build
[echo] ant or ant.bat should be found depending on your platform:
ant.bat
[exec] Execute failed: java.io.IOException: CreateProcess: ant.bat -f
aptbu
ild.xml -lib lib/ant-apt.jar compile error=2
jar:
[jar] Building jar: C:\Documents and Settings\Michael Phoenix\My
Documents
\cvs projects\jsft\jsftemplating\demo\WEB-INF\lib\app.jar
[copy] Copying 1 file to C:\Documents and Settings\Michael Phoenix\My
Docum
ents\cvs projects\jsft\jsftemplating\demo\WEB-INF\lib
[copy] Copying 1 file to C:\Documents and Settings\Michael Phoenix\My
Docum
ents\cvs projects\jsft\jsftemplating\demo\WEB-INF\lib
build:
BUILD SUCCESSFUL