Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: java.lang.NoSuchMethodError in webserice with CXF

  1. #1
    Junior Member
    Join Date
    May 2010
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default java.lang.NoSuchMethodError in webserice with CXF

    Recently I start to develop web service. I choose CXF as my webservice opensource and based on Spring. I am really new so I learned some from online CXF Spring tutrial. but the issue comes up when I access my wsdl I got the error:

    java.lang.NoSuchMethodError: org.w3c.dom.Document.setXmlStandalone(Z)V
    org.apache.cxf.transport.http.WSDLQueryHandler.upd ateDoc(WSDLQueryHandler.java:253)
    org.apache.cxf.transport.http.WSDLQueryHandler.wri teResponse(WSDLQueryHandler.java:201)
    org.apache.cxf.transport.servlet.ServletController .invoke(ServletController.java:152)
    org.apache.cxf.transport.servlet.AbstractCXFServle t.invoke(AbstractCXFServlet.java:174)
    org.apache.cxf.transport.servlet.AbstractCXFServle t.doGet(AbstractCXFServlet.java:156)
    javax.servlet.http.HttpServlet.service(HttpServlet .java:689)
    javax.servlet.http.HttpServlet.service(HttpServlet .java:802)

    Is anybody have good advices?

  2. #2
    Member
    Join Date
    Jul 2010
    Location
    Washington, USA
    Posts
    307
    Thanks
    16
    Thanked 43 Times in 39 Posts

    Default Re: java.lang.NoSuchMethodError in webserice with CXF

    Posting your current code in between [highlight=java][/highlight] would be very helpful.

    Error messages tell you everything you need to know.
    java.lang.NoSuchMethodError: org.w3c.dom.Document.setXmlStandalone(Z)V

Similar Threads

  1. Replies: 0
    Last Post: August 30th, 2010, 07:34 AM
  2. Replies: 2
    Last Post: March 26th, 2010, 11:22 AM
  3. AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space
    By nasi in forum What's Wrong With My Code?
    Replies: 6
    Last Post: March 25th, 2010, 10:37 PM
  4. "java.lang.NoSuchMethodError: main" and "fatal exception occured."
    By joachim89 in forum What's Wrong With My Code?
    Replies: 2
    Last Post: January 10th, 2010, 07:35 AM
  5. Replies: 2
    Last Post: November 3rd, 2009, 05:28 AM