| Summary: | Configuring Tomcat | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Peter Kidson <peter_kidson-Eclipse8141> | ||||
| Component: | UI | Assignee: | JDT-UI-Inbox <jdt-ui-inbox> | ||||
| Status: | RESOLVED WORKSFORME | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | ||||||
| Version: | 2.1 | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Windows 2000 | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Peter Kidson
Created attachment 5425 [details]
log file with npe
Creating a new tomcat project with 2.1.1, you get to the Finish button but it
never finishes, you have to Cancel out. 2.1 did not do this.
Errors in the task window:- The project was not built due to classpath errors (incomplete or involved in cycle). Unbound classpath variable: 'TOMCAT_HOME/common/lib/servlet.jar'. Unbound classpath variable: 'TOMCAT_HOME/lib/jasper-runtime.jar'. Unbound classpath variable: 'TOMCAT_HOME'. Clearly a problem with TOMCAT_HOME, but what? I don't recall doing anything about this in 2.1. From http://www.sysdeo.com/eclipse/releaseNotesV21.txt:- Version 0.98 ------------ New features : - tomcat project properties are saved in a file named .tomcatplugin in each tomcat project. - use a Classpath Variable to initialize tomcat project build path (this variable is named TOMCAT_HOME) Apologies, tomcat now configured. But don't forget the orginal npe. Transferring to JDT UI as that appears to be where the exception is coming from. Peter, I can't find any NPE in the log. Do you have more details ? Sorry, I didn't mean npe. Just the exception in the log file. I admit I was an idiot not for not first configuring Tomcat, but I still think it should fail a bit more gracefully. Please report the problem to the provider of the tomcat plug-in (e.g. sysdeo). They have to handle this case since it is their property page. Done. |