0
votes

I have created some dynamic web projects and they are working fine. After that I have installed PHP development plugins in eclipse. Also installed xdebug plugin for PHP debugging.

Now When I create Java Dynamic Web Project I get this error:

The selected wizard could not be started.
Plug-in "org.eclipse.jst.servlet.ui" was unable to instantiate class 
"org.eclipse.jst.servlet.ui.project.facet.WebProjectWizard".
java.lang.NullPointerException

EDIT: I have WTP installed.

I am able to create java static web project and PHP projects. But not able to create Java Dynamic web project.

Any help is appreciated.

1
Hmm maybe the additional PHP plugin is causing WebProjectWizard to load the wrong class. If all else fails what you can do is have separate installation of eclipse, one for java and the other for php - gerrytan
First thought the same thing when searched for this error in stackoverflow. But thought if it is possible to have them both, then why can't So asked this question. - user1871586
What version of WTP do you have installed? Can you post the full error log/ stacktrace? - gamerson
@gamerson: I have installed Version: 3.2.0.v201004210642-377A78s73533B7L3935. Log has so much data. - user1871586
Can you delete the contents of your log and then replicate the error again and then the log should only contain a single stack trace. - gamerson

1 Answers

0
votes

Have you updated from eclipse recently? From Error it seems like mixing updates in some modules is causing this error message.
Its better to download eclipse and point to your current work-space.