Hi I'm using XStream 1.4.2for preparing data for a web service.
After deploying the project, glassfish prints out an error:
SEVERE: Class [ com/thoughtworks/xstream/io/HierarchicalStreamDriver ] 
not found. Error while loading [ class 
com.xstreamtest.webservices.ServerWebservice ]

Here is my (simple) code:

@Stateless
@LocalBean
@WebService
public class ServerWebservice {

   @EJB
   ServerEntityFacade serverEntityFacade;
   public String getServersAsXML() {
       XStream xstream = new XStream(new DomDriver());
       List<ServerEntity> servers = new ArrayList<ServerEntity>();
       servers = serverEntityFacade.findAll();
     
       return xstream.toXML(servers);
   }
}
I have included the stream-lib in my server (EJB-)backend. Is there 
anything I should also do? For example placing the library in some glass
fish-lib-folder?
Thanks in advance!

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to