views:

273

answers:

1

Hello,

I am getting the following error when I try to use the Eclipse IDE wizard to create a Servlet:

"java.lang.Eror: Unresolved compilation problems:
   The import org.eclipse.jst.j2ee.internal.common cannot be resolved.
   CreateServletTemplateModel cannot be resolved to a type
   ....

"

The settings of the IDE are as follows:

  • Eclipse Version: 3.4.2

  • WTP Servlet UI Plug-in: 1.1.203.v20081022000
    (org.eclipse.jst.servlet.ui)

I don't have any problems manually creating the Servlets, I just would like the IDE to work as it's supposed to in order to avoid the overhead.

Any help would be greatly appreciated.

A: 

As mentioned here, that could be linked to a WTP installation issue.

Try to see if you still have the problem with:

  • WTP3.0.5 (compatible with your eclipse3.4.2)

or

Note: in both cases, you can duplicate your eclipse 3.4 installation, points to a fresh workspace and do your tests here (in order to avoid modifying anything from your current setup).

VonC