error while executting the marshalling program?
<blockquote>
  <p>how to resolve the exception while excuting a marshalling program 
  "The method marshal(Book, > FileWriter) is undefined for the type Pool.Marshaller".</p>
</blockquote>

<pre><code> import java.io.FileWriter;
 import java.util.ArrayList;
 import java.util.List;

 import com.sun.xml.internal.ws.util.Pool.Marshaller;

 public class BookMarshaller {
 public static void main(String[] args) {
  try {
  Book book = new Book("9780312347482", "Power Play", "Joseph Finder");
  FileWriter writer = new FileWriter("book.xml");
  Marshaller.marshal(book, writer);

  List book2Authors = new ArrayList();
  book2Authors.add("Douglas Preston");
  book2Authors.add("Lincoln Child");
  Book book2 = new Book("9780446618502", "The Book of the Dead",
                        book2Authors);
  writer = new FileWriter("book2.xml");
  Marshaller.marshal(book2, writer);

  } catch (Exception e) {
  System.err.println(e.getMessage());
  e.printStackTrace(System.err);
  }
  }
  }
</code></pre>
