Description of problem: i can't create a new Dynamic Web project, with Dynamic web module version set to '2.5'. you can create the project as normal, but when you click finish, it gives an nullpointerexception saying: Failed when installing Dynamic Web Module 2.5. Version-Release number of selected component (if applicable): How reproducible: every time Steps to Reproduce: 1. install the JAVA EE plugin 2. create a new dynamic web project 3. set 'dynamic web module version' to 2.5 4. click version Actual results: nullpointerexception, project is not complete (not a web project) Expected results: no error, good, working, project Additional info:
I wonder if "installing Dynamic Web Module 2.5" means "try to copy files to a read-only location as a non-root user.
it think it means that it cannot find the 2.5 libraries
We'll have to try to figure out what it's trying to do. Where is it expecting to get said libraries? Where is it trying to put said libraries?
it's not copying anything, as far as i can tell, it adds the said libraries to the class path (.classpath), and sets the version number in: .settings/org.eclipse.wst.common.project.facet.core.xml (in the project) i don't know how eclipse uses it with compiling, and where it tried to get it's libraries from. i DO know that it works in the version downloaded from the eclipse website.
It would help to track this down if you tried the following: $ mv ~/.eclipse{,.bak20091123} $ su - # tar zxf <upstream tarball> /usr/local # exit $ /usr/local/eclipse/eclipse -data /tmp/testWorkspace Then try installing WTP just like you did with the RPM-installed version. Does it fail in the same manner? Does it work? Thanks.
i tried what you said, and i'm getting the same error using the upstream version, with java EE installed seperately.
Okay, good. (Well, not good for you, Tim, but good that it's not something we've broken in the RPMs :). At this point, it'd be best to file a bug with WTP saying something to the effect of "dynamic web project doesn't work with read-only installation".
haha, ok. i'll file a bug there then
i installed 'JST Web UI' and 'JST Server UI' that seemed to have fixed the problem.