The Web Services Pack Tutorial
Home
TOC
PREV TOP NEXT

Common Problems and Their Solutions

Cannot Start the Tomcat Server

Symptom:

Solution:

Compilation Errors

Ant Cannot Locate the Build File

Symptom: When you type ant build, these messages appear:

Buildfile: build.xml does not exist!	
Build failed.
 

Solution: Before running ant, go to the docs/tutorial/examples/gs/src directory. If you want to run ant from your current directory, then you must specify the build file on the command line. For example, on Windows you would type this command on a single line:

ant -buildfile C:\wspack1.0\docs\examples\src\gs\build.xml	
build
 
The Compiler Cannot Resolve Symbols

Symptom: When you type ant build, the compiler reports many errors, including these:

cannot resolve symbol	
. . .	
BUILD FAILED	
. . .	
Compile failed, messages should have been provided
 

Solution: Make sure that you've set the JWSDP_HOME environment variable correctly. See Checking the Environment Variables.

Deployment Errors

Web Client Runtime Errors

The Web Context in the URL is Incorrect

Symptom: The browser reports that the page cannot be found (HTTP 404).

Solution:

The Application Has Not Been Deployed

Symptom: The browser reports that the page cannot be found (HTTP 404).

Solution: Deploy the application.

Home
TOC
PREV TOP NEXT