NoSuchMethodError at jdom method

Hi all
I'm writing a small server-program that receives and sends XML data. For this, I'm using the jdom and the xerces packages. My code compiles fine, but at runtime it yields a NoSuchMethodError for the jdom startElement method I am trying to use and propagates throught further jdom and xerces methods.
The jdom.jar and xerces.jar files are stored in the \jre\ext\lib directory of the jdk. I have tried to set the CLASSPATH environmental variable to point to the files explicitly, but it doesn't help.
Any help would be apreciated, thanks in advance
arathorn

I just found the reason, I had an old version of the xerces.jar file... So please ignore this question (and along with it my stupidity)

Similar Messages

  • NoSuchMethodError , though the method is present!

    Hi,
    Am getting "java.lang.NoSuchMethodError" though the method is actually there in the class. Can you please throw some light on this?
    Thanks.

    Hi , Thanks for ur replies.
    Here's the method from which the exception's thrown:
        public String getQuery() {
            if (this.query == null) {
                if (this.propertyStore != null) {
                        if(this.propertyStore.containsKey(Constants.SQL)) {
                             query = (String) propertyStore.get(Constants.SQL);
                        else if(this.propertyStore.containsKey(Constants.DATA_QUERY)) {
                             query = (String) propertyStore.get(Constants.DATA_QUERY);
                if (query == null) {
                    return "";
                query = query.trim().replaceAll("\r\n|\r|\n", " ");
            if(logger.isEnabledFor(Level.INFO))
                logger.info("Query is " + query);
            return query;
        }& this' the exact exception thrown:
    java.lang.NoSuchMethodError
            at devapi.GenericDataHandler.getQuery(Unknown Source)
            at core.DataManager.getQueryCollection(Unknown Source)
            at core.WebEngine.run(Unknown Source)
            at java.lang.Thread.run(Unknown Source)Thanks .

  • NoSuchMethodError for PickTool method

    I ran into a small bug in my application. Here is the stack trace:
    Exception in thread "J3D-BehaviorScheduler-1" java.lang.NoSuchMethodError: javax.media.j3d.BranchGroup.pickAll(IILjavax/media/j3d/PickShape;)[Ljavax/media/j3d/PickInfo;
         at com.sun.j3d.utils.pickfast.PickTool.pickAll(PickTool.java:377)
         at pointCloudTest.PickMeasureBehavior.processStimulus(PickMeasureBehavior.java:82)
         at javax.media.j3d.BehaviorScheduler.doWork(BehaviorScheduler.java:174)
         at javax.media.j3d.J3dThread.run(J3dThread.java:250)Here is the code that is causing it (in file PickMeasureBehavior):
                             MouseEvent event = (MouseEvent)events[events.length-1];
                             pickCanvas.setShapeLocation(event);
                             PickInfo[] allPick = pickCanvas.pickAll();With the last line being like 82.
    What's going on here? This shows the method exists and it's been there since version 1.3.2 which is super old.
    I'm a passable java programmer. I mostly do web application work (php), so my skills aren't great for java. Can somebody help me here?

    I just found the reason, I had an old version of the xerces.jar file... So please ignore this question (and along with it my stupidity)

  • Do I have to implement "Call" method of SOAPConnection object?

    I was trying the example "saaj-simple" that comes with "jwsdp".
    But it gave me NoSuchMethodError for the method "call" of "SOAPConnection" object.
    I opened the "saaj-api.jar" and found that the "call" method is abstract.
    Am I supposed to be implementing this method? I thought I should be using this method as it is.

    Yup! I already have that.
    In fact I have both the jars associated with SAAJ plus other jars related to javax.
    But still it ain't working. It gives runtime error.
    It compiled successfully.

  • [XML/XPATH] jaxen : problem with "parent" function

    Hello
    I have a problem with jaxen, when I try to use the XPath function parent :
    When I try this :
    import ...
    DocumentNavigator dn=new DocumentNavigator();
    try {
    objet=dn.getDocument("TESTXPath.xml");
    apath=dn.parseXPath("/Entry/Resultats/step/Population/individu/*");
    result=apath.evaluate(objet);
    System.out.println(result);
    apath=dn.parseXPath("/Entry/Resultats/step/Population/parent::*");
    result=apath.evaluate(objet); // ---> exception
    System.out.println(result);
    catch(Exception e) {
    e.printStackTrace();
    The first result is well displayed, but just before the second, I catch this exception:
    Exception in thread "main" java.lang.NoSuchMethodError: org.jdom.Element.getParent()Lorg/jdom/Element; at org.jaxen.jdom.DocumentNavigator.getParentAxisIterator(DocumentNavigator.java: 252)
    at org.jaxen.expr.iter.IterableParentAxis.iterator(IterableParentAxis.java:82)
    at org.jaxen.expr.DefaultStep.axisIterator(DefaultStep.java:139)
    at org.jaxen.expr.DefaultLocationPath.evaluate(DefaultLocationPath.java:188)
    at org.jaxen.expr.DefaultAbsoluteLocationPath.evaluate(DefaultAbsoluteLocationPat h.java:126)
    at org.jaxen.expr.DefaultXPathExpr.asList(DefaultXPathExpr.java:107)
    at org.jaxen.BaseXPath.selectNodesForContext(BaseXPath.java:716)
    at org.jaxen.BaseXPath.selectNodes(BaseXPath.java:239)
    at org.jaxen.BaseXPath.evaluate(BaseXPath.java:196)
    at MainTestClass.main(MainTestClass.java:85)
    However, the first query works good and I received list so I'm quite sure that it's not a problem of unfindable elements.
    Finaly I can't be syccessful to use XPath parent function:
    Either I catch an exception, or it returns nothing or empty list
    Isn't the XPath syntax correct in my second expression ?
    Can we do :
    /.../.../parent::* ? ou //individu/parent::* ?

    Thanks
    I think so, but.
    In fact I don't think I'm using different version of JDOM.
    I use eclipse with jdk1.4.2.
    I have downloaded JDOM-b10 and the only things I have done is to extract zip archive and to add all .jar files of the jdom directory in my library path.
    Do this is the only version of JDOM I'm using.
    All works perfectly excepted only the XPath parent method. It's strange that the other methods work fine.
    I don't knnow how to solve this problem ! so if you can help me I be very thankfull.

  • Jdomb8

    I'm using rmi to retrieve xml files from tamino(from SoftwareAG) and i use jdomb8 to collapse them in trees, but i get the following error...
    Any idea?
    BrGs @nto
    java.rmi.ServerError: Error occurred in server thread; nested exception is:
    java.lang.NoSuchMethodError: org.jdom.Element.getMixedContent()Ljava/util/List;
    at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:289)
    at sun.rmi.transport.Transport$1.run(Transport.java:148)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
    at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
    at java.lang.Thread.run(Thread.java:536)
    at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247)
    at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)
    at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:133)
    at DataManagerImpl_Stub.userRegistration(Unknown Source)
    at DMTestClient.main(DMTestClient.java:20)
    Caused by: java.lang.NoSuchMethodError: org.jdom.Element.getMixedContent()Ljava/util/List;
    at com.softwareag.tamino.db.api.response.jdom.TJDOMInputStreamInterpreter.setResponseQueryContent(TJDOMInputStreamInterpreter.java:266)
    at com.softwareag.tamino.db.api.response.jdom.TJDOMInputStreamInterpreter.doInterpret(TJDOMInputStreamInterpreter.java:104)
    at com.softwareag.tamino.db.api.response.TInputStreamInterpreter.interpret(TInputStreamInterpreter.java:55)
    at com.softwareag.tamino.db.api.response.TResponseBuilderImpl.doBuild(TResponseBuilderImpl.java:81)
    at com.softwareag.tamino.db.api.response.TResponseBuilderImpl.buildForXML(TResponseBuilderImpl.java:60)
    at com.softwareag.tamino.db.api.accessor.TXMLObjectAccessorImpl.query(TXMLObjectAccessorImpl.java:228)
    at Database.query(Database.java:67)
    at DataManagerImpl.userRegistration(DataManagerImpl.java:40)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
    at sun.rmi.transport.Transport$1.run(Transport.java:148)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
    at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
    at java.lang.Thread.run(Thread.java:536)

    do you intend software ag forum?
    they haven't any ideas.
    Antonello

  • Please help me to run this CMP BEAN, I need help urgently, I am running out of time :(

    Hi,
    I am facing this problem, Please help me, I am attaching the source files
    also along with the mail. This is a small CMP EJB application, I am using
    IAS SP2 on NT server with Oracle 8. I highly appreciate if someone can send
    me the working copy of the same. I need these urgent. I am porting all my
    beans from bea weblogic to Iplanet. Please help me dudes.
    Err.........
    [06/Sep/2001 13:41:29:7] error: EBFP-marshal_internal: internal exception
    caught
    in kcp skeleton, exception = java.lang.NoSuchMethodError
    [06/Sep/2001 13:41:29:7] error: Exception Stack Trace:
    java.lang.NoSuchMethodError
    at
    com.se.sales.customer.ejb_kcp_skel_CompanyHome.create__com_se_sales_c
    ustomer_Company__java_lang_Integer__indir_wstr__215617959(ejb_kcp_skel_Compa
    nyHo
    me.java:205)
    at com.kivasoft.ebfp.FPRequest.invokenative(Native Method)
    at com.kivasoft.ebfp.FPRequest.invoke(Unknown Source)
    at
    com.se.sales.customer.ejb_kcp_stub_CompanyHome.create(ejb_kcp_stub_Co
    mpanyHome.java:297)
    at
    com.se.sales.customer.ejb_stub_CompanyHome.create(ejb_stub_CompanyHom
    e.java:89)
    at
    com.se.sales.customer.CompanyServlet.doGet(CompanyServlet.java:35)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
    at
    com.netscape.server.servlet.servletrunner.ServletInfo.service(Unknown
    Source)
    at
    com.netscape.server.servlet.servletrunner.ServletRunner.execute(Unkno
    wn Source)
    at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
    at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
    at com.kivasoft.thread.ThreadBasic.run(Native Method)
    at java.lang.Thread.run(Thread.java:479)
    Caught an exception.
    java.rmi.RemoteException: SystemException: exid=UNKNOWN
    at com.kivasoft.eb.EBExceptionUtility.idToSystem(Unknown Source)
    at com.kivasoft.ebfp.FPUtility.replyToException(Unknown Source)
    at
    com.se.sales.customer.ejb_kcp_stub_CompanyHome.create(ejb_kcp_stub_Co
    mpanyHome.java:324)
    at
    com.se.sales.customer.ejb_stub_CompanyHome.create(ejb_stub_CompanyHom
    e.java:89)
    at
    com.se.sales.customer.CompanyServlet.doGet(CompanyServlet.java:35)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
    at
    com.netscape.server.servlet.servletrunner.ServletInfo.service(Unknown
    Source)
    at
    com.netscape.server.servlet.servletrunner.ServletRunner.execute(Unkno
    wn Source)
    at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
    at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
    at com.kivasoft.thread.ThreadBasic.run(Native Method)
    at java.lang.Thread.run(Thread.java:479)
    Thanks in advance
    Shravan
    [Attachment iplanet_app.jar, see below]
    [Attachment iplanet_src.jar, see below]

    One reason that I sometimes get 'NoSuchMethodError' is when I make a change to a
    java class that is imported into another java class. When I go to run the
    importing class, it will throw a 'NoSuchMethodError' on any methods that I've
    changed in the imported class. The solution is to recompile the importing class
    with the changed classes in the classpath.
    shravan wrote:
    Hi,
    I am facing this problem, Please help me, I am attaching the source files
    also along with the mail. This is a small CMP EJB application, I am using
    IAS SP2 on NT server with Oracle 8. I highly appreciate if someone can send
    me the working copy of the same. I need these urgent. I am porting all my
    beans from bea weblogic to Iplanet. Please help me dudes.
    Err.........
    [06/Sep/2001 13:41:29:7] error: EBFP-marshal_internal: internal exception
    caught
    in kcp skeleton, exception = java.lang.NoSuchMethodError
    [06/Sep/2001 13:41:29:7] error: Exception Stack Trace:
    java.lang.NoSuchMethodError
    at
    com.se.sales.customer.ejb_kcp_skel_CompanyHome.create__com_se_sales_c
    ustomer_Company__java_lang_Integer__indir_wstr__215617959(ejb_kcp_skel_Compa
    nyHo
    me.java:205)
    at com.kivasoft.ebfp.FPRequest.invokenative(Native Method)
    at com.kivasoft.ebfp.FPRequest.invoke(Unknown Source)
    at
    com.se.sales.customer.ejb_kcp_stub_CompanyHome.create(ejb_kcp_stub_Co
    mpanyHome.java:297)
    at
    com.se.sales.customer.ejb_stub_CompanyHome.create(ejb_stub_CompanyHom
    e.java:89)
    at
    com.se.sales.customer.CompanyServlet.doGet(CompanyServlet.java:35)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
    at
    com.netscape.server.servlet.servletrunner.ServletInfo.service(Unknown
    Source)
    at
    com.netscape.server.servlet.servletrunner.ServletRunner.execute(Unkno
    wn Source)
    at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
    at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
    at com.kivasoft.thread.ThreadBasic.run(Native Method)
    at java.lang.Thread.run(Thread.java:479)
    Caught an exception.
    java.rmi.RemoteException: SystemException: exid=UNKNOWN
    at com.kivasoft.eb.EBExceptionUtility.idToSystem(Unknown Source)
    at com.kivasoft.ebfp.FPUtility.replyToException(Unknown Source)
    at
    com.se.sales.customer.ejb_kcp_stub_CompanyHome.create(ejb_kcp_stub_Co
    mpanyHome.java:324)
    at
    com.se.sales.customer.ejb_stub_CompanyHome.create(ejb_stub_CompanyHom
    e.java:89)
    at
    com.se.sales.customer.CompanyServlet.doGet(CompanyServlet.java:35)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
    at
    com.netscape.server.servlet.servletrunner.ServletInfo.service(Unknown
    Source)
    at
    com.netscape.server.servlet.servletrunner.ServletRunner.execute(Unkno
    wn Source)
    at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
    at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
    at com.kivasoft.thread.ThreadBasic.run(Native Method)
    at java.lang.Thread.run(Thread.java:479)
    Thanks in advance
    Shravan
    Name: iplanet_app.jar
    iplanet_app.jar Type: Java Archive (application/java-archive)
    Encoding: x-uuencode
    Name: iplanet_src.jar
    iplanet_src.jar Type: Java Archive (application/java-archive)
    Encoding: x-uuencode

  • How to modify a specific class in jar file ?

    I've downloaded a jar file for applet, the jar file works fine... but when I extract a specific class file from the jar file and just recompie it from my IDE (Eclipse) without even making any change and then compress again jar class files including the new modified class file instead of the old one (without any modifications to other classes)... then I get
    (NoSuchMethodError ) exception whenever methods of other classes are invoked from within the modified class !!
    ...The manifist file of the jar file reads the following line
    Created-By: 1.4.0_01 (Sun Microsystems Inc.)
    I thought it means that jar class files were built using JDK 1.4.0_01 ...I used JDK 1.5.0_01 in my IDE...
    I thought JRE incompatiblity was the reason of the problem so I downloaded JRE 1.4.0_01 and used it to build this class file... but i got the same exception..
    so what is the main reason of the problem ? ...should I make changes to IDX files accompanying applet jar files ??
    If no, then how can I overcome this problem and be able to change and rebuild a specific class from this jar file ?
    (I cannot rebuild all classes in jar because there are errors I cannot resolve !!)

    Could you please clarify: do you want to run your project or a project from an independent jar?
    In the first case just select Run Project from the project context menu or select a class with main method and click Run File in the class context menu.
    Regarding the second case:
    - I don't think there is such a feature in the IDE (running third party jars is not an IDE function). Could you explain why you need this?

  • Application not working on 10.1.2 (works on 10.1.3)

    Hello! We have an application build using Spring+Hibernate 3 + XFire.
    This app works fine when deployed under 10.1.3 (also tomcat, jboss an geronimo have been tested).
    When we deploy it under 10.1.2 an exception occur:
    WayServices] ERROR [RMICallHandler-30] ContextLoader.initWebApplicationContext(205) | Context initialization failed
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'informacoesAssinanteService' defined in ServletContext
    resource [WEB-INF/servicesContext.xml]: Initialization of bean failed; nested exception is java.lang.NoSuchMethodError: org.jdom.Element.getParent()Lorg/jdom/Element;
    java.lang.NoSuchMethodError: org.jdom.Element.getParent()Lorg/jdom/Element;
    at org.jaxen.jdom.DocumentNavigator.getParentAxisIterator(DocumentNavigator.java:252)
    My first guess is that Oracle AS has an older version of jdom lib somewhere (I need 1.0 version). if so how can I force mine (avaible at web-inf/lib) be the first one to be loaded?
    Regards

    The /forms part doesn't look right to me. Both /forms and /reports_output are virtual directories. I doubt that they resolve stacked on top of each other. Try taking out the /forms part.

  • How to use one external jar (SDK) for several apps in WTK?

    Hi,
    I have one external jar (SDK) I use for developing J2ME applications.
    Every time I have no choice but to copy this JAR (SDK) into my current application lib directory.
    I am building a family of MIDlets that I dont want to put into just one huge JAR but rather to have several JAR files for each application.
    In C world I need only to tell the linker where it should pickup ".so" or ".lib" file.
    Is any way to do the same with WTK? Or any other J2ME development tool?
    Thanks in advance,
    Andrew

    Link to wtk2.5 beta has been posted to this forum
    while ago. It's worth to try it It is MSA1.0
    compliant. It has many new JSRs.TomTom,
    Thanks again.
    I tested the WTK2.5BETA and here I ahve strange fact. My application works perfectly on WTK2.1, WTK2.2 WTK2.3 BETA but it crashes with a very weird message on WTK2.5BETA
    Method............: 22482ac 'com/tinyline/app/SVGEventQueue.handleEvent (virtual)'
    Stack Chunk.......: 2216e44
    Frame Pointer.....: 2216e7c
    Current IP........: 224820b = 22481fc + offset 15
    Previous Frame....: 2216e58
    Previous IP.......: 226afd6 (offset 26)
    Frame size........: 3 (2 arguments, 1 local variables)
    Argument[0].......: 20bc0b8
    Argument[1].......: 2216d7c
    ALERT: java/lang/NoSuchMethodError: No such method dispatchEvent.(Lorg/w3c/dom/events/Event;)Z.
    So I thought, OK it was compiled under WTK2.1 may it was the reason of crash.
    I took sources and compile them under WTK2.5 BETA. I came up with the same result - crash.
    Thanks,
    Andrew

  • An Error Message

    I wrote the following code:
    try {
    videoControl = (VideoControl)player.getControl("VideoControl");
    if (videoControl != null) {     
    videoControl.initDisplayMode (videoControl.USE_DIRECT_VIDEO, this);     
    int cHeight = this.getHeight();
    int cWidth = this.getWidth();               
    videoControl.setDisplaySize(cWidth, cHeight);
    display.setCurrent(this);
    videoControl.setVisible(true);
    player.start();
    When i Run the application in every call method of the variable videoControl, i get that there is no such method.
    For Example when i debug my application, after i pass the line code:
    videoControl.initDisplayMode (videoControl.USE_DIRECT_VIDEO, this);
    I get this error:
    ALERT: java/lang/NoSuchMethodError: No such method initDisplayMode.(ILjava/lang/Object;)Ljava/lang/Object;.
    And the application stopped.
    why this alert appears and how can i fix it?
    NOTE: I have no compilation problem (means that for the invoirment these methods are known)
    Thanks
    Message was edited by:
    Elad_Levi1981

    videoControl.initDisplayMode (videoControl.USE_DIRECT_VIDEO, this);
    try
    videoControl.initDisplayMode (VideoControl.USE_DIRECT_VIDEO, this);
    capital "V" inside !

  • Overriding the Eclipse runtime classpath

    Hi All,
    We have been playing about with connectors to Exchange from within OpenScript (as one does on a Monday afternoon). When I compose a standalone java program my example works really well, but when I run this in OpenScript i get the following exception:
    java.lang.NoSuchMethodError: org.jdom.output.XMLOutputter .......
    Now, I have done some searching on this and the outcome is that the wrong jdom.jar is being referenced. So I went searching for these naughty files and found the following installed as part of OATS.
    G:\oracle\OATS93\agent\plugins\oracle.oats.jagent.lib3rdparty_2.6.0.0272\lib\jdom.jar
    G:\oracle\OATS93\lib\jdom.jar
    G:\oracle\OATS93\openScript\plugins\oracle.oats.jagent.lib3rdparty_2.6.0.0272\lib\jdom.jar
    G:\oracle\OATS93\openScript\plugins\oracle.oats.scripting.modules.webService.lib3rdparty_2.6.0.0272\jdom.jar
    Now I have my own jdom.jar file located in h:\JEC\bin. So I add this as a script asset, and the above exception still occurs.
    So I do a little digging with procmon.exe (from sysinternals....don't leave home without them), and notice that both jdom.jar from above are reference i.e:
    G:\oracle\OATS93\openScript\plugins\oracle.oats.jagent.lib3rdparty_2.6.0.0272\lib\jdom.jar
    G:\oracle\OATS93\openScript\plugins\oracle.oats.scripting.modules.webService.lib3rdparty_2.6.0.0272\jdom.jar
    when I run the script, which I find a little perculiar, as it also touches my own jar file.
    So, just to satisfy my own curiosty, I back up the openscript jdom.jar and replace them with my own jdom.jar, and hey presto my sciript works, but openscript starts behaving very strangely.
    So, my question is how do you override the runtime classpath settings from OpenScript to include my Jar file first, and not what is needed for OpenScript?
    Any insight would be greatly appreciated.
    Wayne
    Edited by: byrne_wayne on Sep 26, 2011 5:49 PM

    Hi Wayne,
    You can't do this is OpenScript apparently. Packaging up the third party jar into a new generic jar didn't work either, so you'll need to use a different utility that doesn't clash with the libs on which OpenScript depends.
    Cheers,
    Jamie

  • How to use picture in picture in imovie 9.0.7

    how can i do to use picture in picture in imovie 9.0.7

    It seems I can build app using jdk 1.4 but when I deploy to standalone oc4j instance I get runtime error java.lang.NoSuchMethodError because this method is missing in JDK 1.3!?
    Why is this happening?
    thanks,

  • Javabean class not found by jsp page

    I have created one bean which has setFunctionId(String) and getFunctionId() methods. I put the class files at /weblogic/myserver/serverclasses directory. While I am accessing the .jsp page it is telling "Thu Aug 03 15:46:16 EDT 2000:<E> <ServletContext-General> Servlet failed with Ex
              ception
              java.lang.NoSuchMethodError: myjsp.TestBean: method setFunctionId(Ljava/lang/Str
              ing;)V not found
              at jsp_servlet._testasfs._jspService(_testasfs.java:90)
              at weblogic.servlet.jsp.JspBase.service(Compiled Code)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Compiled Code
              at weblogic.servlet.internal.ServletContextImpl.invokeServlet(Compiled C
              ode)
              at weblogic.servlet.internal.ServletContextImpl.invokeServlet(Compiled C
              ode)
              at weblogic.servlet.internal.ServletContextManager.invokeServlet(Compile
              d Code)
              at weblogic.socket.MuxableSocketHTTP.invokeServlet(Compiled Code)
              at weblogic.socket.MuxableSocketHTTP.execute(Compiled Code)
              at weblogic.kernel.ExecuteThread.run(Compiled Code)"
              Would appreciate your help..
              

    Thank you for your valuable feedback duffymo. Could
    you explain a little what you mean by "Putting .class
    files in the Tomcat examples directory is a really bad
    idea in the long run". Also, could you direct me to
    some source where I can find more information on
    creating WAR files keeping in mind that I am a
    beginner.
    Thanks.But putting your web apps into WAR files, you can have quite a few different web apps running on the tomcat server as compared to if u place your files into the default webapp folder, u can only have 1 web app running.
    For creating WAR file, the easiest way is to use an IDE like JBuilder.

  • Error running SIP code

    Hi
    I am using Websphere Studio Device Developer 5.6.1 with Nokia SDK for J2ME 4.0.
    I am trying to run the SIP examples (SendMessage, ReceiveMessage MIDlets) distributed with the JSR180 RI. These run successfully on the emulator distributed with JSR180 RI. However, when I try to run this on the S60 emulator in Nokia SDK 4.0 from Websphere Studio Device Developer, I get the following error in SendMessage
    ALERT: java/lang/NoSuchMethodError: No such method notifyResponse.(Ljavax/microedition/sip/SipClientConnection;)V.
    and the below error in ReceiveMessage
    ALERT: java/lang/NoSuchMethodError: No such method notifyRequest.(Ljavax/microedition/sip/SipConnectionNotifier;)V.
    This error is reported just after I click on SendMessage. The receiver is already listening but throws an error on receiving the message.
    If however, I send the message from SendMessage (on S60 emulator) to ReceiveMessage (on emulator distributed with JSR180 RI) the error is only thrown on SendMessage (on S60 emulator). The ReceiveMessage successfully received the message and displays it.
    I though there may be an error in the SIP library used on S60 and replaced the class files with files from the JSR180 RI emulator. Now midp crashes when I try and run the code on S60.
    Any ideas where the error could be coming from.
    thanks
    Ajay

    It works. I modified the class path of J2EE to point to where the JARM jars where stored. I would love to hear from anybody that has solved this issue any othe way.

Maybe you are looking for

  • "Error occurred while converting the file "song name."

    While trying to import 3 different CD's into iTunes, the message "Error occurred while converting the file "song name. The required folder cannot be found." The song name is the first song of each of the CD's I tried to import. Have imported over 3,0

  • Passing Parameter from Dashboard to WebI

    Hi All,           I need to pass the value that I select from the dashboard to a WebI document. I have the code below which is not working.  openAnalytic.jsp?DocumentName=Test&RepositoryType=C&DocumentId=9413&DocumentExt=wid&nbPrompts=1&sWindow=New&m

  • Flash Noob Need Help - Destination File locked??

    Ok so I got CS3 and I'm new at this, and I've made a movie, but if I save it, when I try to export it or preview it, it says "Be sure the destination file is not locked or on a locked drive. also check the file name is not too long." well the file na

  • Environmental variables

    I'm having a problem i believe in my environmental variables. I have installed java1.4.2 version and am using the windows xp. I am able to run programs that i have compiled else where but am unable to compile my own programs that i have written on my

  • Getting a Java Career Started

    For over the past five years I have been a developer for a technology consultant in Omaha, Nebraska. I am experience in all types of industries from medical to warehouse using Visual Basic 6, Microsoft SQL, MySQL, various web scripting languages such