Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » 'Updating JSP Index' has encountered a problem.
'Updating JSP Index' has encountered a problem. [message #534036] Mon, 17 May 2010 19:15 Go to next message
Hemant Singh is currently offline Hemant SinghFriend
Messages: 24
Registered: January 2010
Junior Member

Everytime, I modify something in Java code and save it, I am getting the error dialog which says

'Updating JSP Index' has encountered a problem.
An internal error occurred during: "Updating JSP Index".

Is there anyway, I can disable JSP Index? As I am not using JSP files at the moment.

More details on my environment

Eclipse version: 3.5.1
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86

WST version(Jar file in which ModelHandlerRegistry is present): org.eclipse.wst.sse.core_1.1.401.v200909172215.jar

Exception trace:
java.lang.NoSuchMethodError: org.eclipse.wst.sse.core.internal.modelhandler.ModelHandlerR egistry.getHandlerFor(Lorg/eclipse/core/resources/IFile;Z)Lo rg/eclipse/wst/sse/core/internal/ltk/modelhandler/IModelHand ler;
at rse(
at ncludeFile(
at teDirective(
at teJSPNode(
at teRegionContainer(
at te(
at .getJSPTranslation(
at ent.getJSPTranslation(
at ent.getPath(
at mentDelegate. <init>(
at rt.createSearchDocument(
at rt.addJspFile(
at r$
Re: 'Updating JSP Index' has encountered a problem. [message #534196 is a reply to message #534036] Tue, 18 May 2010 10:44 Go to previous message
Sarika Sinha is currently offline Sarika SinhaFriend
Messages: 52
Registered: February 2010
Location: Bangalore, India
Seeing the trace it appears that you have a later version of org.eclipse.jst.jsp.core jar as compared to the org.eclipse.wst.sse..core jar.

As I can see in the code that a new method was added later the sse core jar date: org.eclipse.wst.sse.core.internal.modelhandler.ModelHandlerR egistry.getHandlerFor(IFile, boolean)

Sarika Sinha
JDT Programmer
Previous Topic:Almost completed WTP Tutorials - Building and Running a Web Application
Next Topic:JiBX Unmarshalling - No enum Const error
Goto Forum:

Current Time: Tue Oct 13 09:15:04 GMT 2015

Powered by FUDForum. Page generated in 0.01714 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software