Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » NoSuchMethodError:
NoSuchMethodError: [message #190785] Fri, 30 March 2007 10:56 Go to next message
Pierre-Henry Perret is currently offline Pierre-Henry Perret
Messages: 33
Registered: July 2009
Member
When loading a jsp page I get the following message:


--------------------
java.lang.NoSuchMethodError:
org.eclipse.wst.xml.core.internal.contentmodel.util.CMDocume ntCache.getInstance()Lorg/eclipse/wst/xml/core/internal/cont entmodel/util/CMDocumentCache;
at
org.eclipse.jst.jsp.core.internal.modelquery.ModelQueryAdapt erFactoryForJSP.createAdapter(ModelQueryAdapterFactoryForJSP .java:93)
at
org.eclipse.wst.sse.core.internal.provisional.AbstractAdapte rFactory.adaptNew(AbstractAdapterFactory.java:120)
at
org.eclipse.wst.sse.core.internal.provisional.AbstractAdapte rFactory.adapt(AbstractAdapterFactory.java:64)
at
org.eclipse.wst.sse.core.internal.provisional.AbstractNotifi er.getAdapterFor(AbstractNotifier.java:93)
at
org.eclipse.jst.jsp.core.internal.modelhandler.JSPModelLoade r.preLoadAdapt(JSPModelLoader.java:196)
at
org.eclipse.wst.sse.core.internal.model.AbstractModelLoader. createModel(AbstractModelLoader.java:124)
....
org.eclipse.jface.operation.ModalContext.runInCurrentThread( ModalContext.java:369)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.ja va:313)
at
org.eclipse.jface.window.ApplicationWindow$1.run(Application Window.java:763)
at
--------------------------------------

What is the problem?
Re: NoSuchMethodError: [message #190869 is a reply to message #190785] Mon, 02 April 2007 12:15 Go to previous message
Eclipse User
Originally posted by: krzysztofHMMMMdaniel.gmail.com

Hello Pierre-Henry

It is hard to say looking at this stack trace.

But from my experience that kind of errors usually appears when there
are problem with versions. So please check that you have properly
configured server and no other libraries on the classpath.

If this will not work, please post here your WTP version, and server
type and version. Eclipse version too :).

Regards,
Chris
Previous Topic:Line number for a node in XML?
Next Topic:Open Web Browser Editor to a URL programmatically
Goto Forum:
  


Current Time: Sat Sep 20 05:58:01 GMT 2014

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

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