8 Replies Latest reply on Jun 23, 2010 9:28 AM by girishadat

    IllegalAnnotationsException, JAXB when running demos

    syg6

      I'm trying to get both the gui demo and the interactive tutorial to work using the supplied sample-configurations.xml and gui-demo-cache-config.xml and I am getting this error:

      IllegalAnnotationsException: org.infinispan.loaders.CacheLoaderConfig is an interface, and JAXB can't handle interfaces.

      Can anyone tell me what I am doing wrong? If I run the interactive tutorial without specifying the config.xml file everything works fine. And I have written other little demos that also work fine, as long as I do everything programmatically, without using a config.xml file.

      But as soon as I try to use a config.xml file, or run the gui demo (which uses a config.xml file ...) I get this error.

      Something tells me this is a JAXB problem. I have JWSDP 1.1, 1.6 and 2.0 all installed, but no JWSDP_HOME defined. Which version of JWSDP / JAXB should I be using?

      Thanks,
      Bob