Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-571 CXF-2.0 RC Kit testing
  3. CXF-588

Compile error for restful_http_binding sample

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0-RC
    • 2.0-RC
    • None
    • None
    • windows XP

    Description

      Execute the "ant server" command as the README describes, we got following compile error message:
      ------------------------------------------------------------------------------------------------------------------------------------
      Buildfile: build.xml

      maybe.generate.code:

      compile:
      [mkdir] Created dir: C:\cxf\samples\restful_http_binding\build\classes
      [mkdir] Created dir: C:\cxf\samples\restful_http_binding\build\src
      [javac] Compiling 11 source files to C:\cxf\samples\restful_http_binding\bui
      ld\classes
      [javac] C:\cxf\samples\restful_http_binding\src\com\acme\customer\Main.java:
      44: package org.codehaus.jettison.mapped does not exist
      [javac] import org.codehaus.jettison.mapped.MappedXMLInputFactory;
      [javac] ^
      [javac] C:\cxf\samples\restful_http_binding\src\com\acme\customer\Main.java:
      45: package org.codehaus.jettison.mapped does not exist
      [javac] import org.codehaus.jettison.mapped.MappedXMLOutputFactory;
      [javac] ^
      [javac] C:\cxf\samples\restful_http_binding\src\com\acme\customer\Main.java:
      107: cannot find symbol
      [javac] symbol : class MappedXMLInputFactory
      [javac] location: class com.acme.customer.Main
      [javac] MappedXMLInputFactory xif = new MappedXMLInputFactory(nstojn
      s);
      [javac] ^
      [javac] C:\cxf\samples\restful_http_binding\src\com\acme\customer\Main.java:
      107: cannot find symbol
      [javac] symbol : class MappedXMLInputFactory
      [javac] location: class com.acme.customer.Main
      [javac] MappedXMLInputFactory xif = new MappedXMLInputFactory(nstojn
      s);
      [javac] ^
      [javac] C:\cxf\samples\restful_http_binding\src\com\acme\customer\Main.java:
      110: cannot find symbol
      [javac] symbol : class MappedXMLOutputFactory
      [javac] location: class com.acme.customer.Main
      [javac] MappedXMLOutputFactory xof = new MappedXMLOutputFactory(nsto
      jns);
      [javac] ^
      [javac] C:\cxf\samples\restful_http_binding\src\com\acme\customer\Main.java:
      110: cannot find symbol
      [javac] symbol : class MappedXMLOutputFactory
      [javac] location: class com.acme.customer.Main
      [javac] MappedXMLOutputFactory xof = new MappedXMLOutputFactory(nsto
      jns);
      [javac] ^
      [javac] 6 errors

      BUILD FAILED

      Attachments

        Activity

          People

            Unassigned Unassigned
            jeff.yu Jeff Yu
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: