JAXBException unable to locate bgm.ser

Discussion in 'Java' started by Asra, Oct 21, 2004.

  1. Asra

    Asra Guest

    Hello,

    I'm using JAXB to read xml files and everything seems to be working
    fine except if I try to call setValidating, like in the second line of
    the following code:
    Unmarshaller unmarshaller = jaxbcontext.createUnmarshaller();
    (X) unmarshaller.setValidating(true);

    and try to run the code. The following message apperas:
    javax.xml.bind.Unmarshaller: unable to locate
    "/__path__/jaxb/bgm.ser". Check if this file is in the classpath.
    This file does exist and is in the class path. What could be the
    error? Also the path is indicated by "/" instead of "\" in the error
    message. Any help would be greatly appreciated.

    Best Regards,
    Asra
    Asra, Oct 21, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?Um9uIEphY2tzb24=?=

    Unable to locate IIS 6.0

    =?Utf-8?B?Um9uIEphY2tzb24=?=, Feb 2, 2004, in forum: ASP .Net
    Replies:
    2
    Views:
    903
    Keith
    Feb 2, 2004
  2. Andy Fish
    Replies:
    1
    Views:
    9,831
    Andy Fish
    Dec 3, 2003
  3. Sikku
    Replies:
    0
    Views:
    679
    Sikku
    Dec 9, 2006
  4. Mannu
    Replies:
    1
    Views:
    4,634
    Robert Klemme
    Feb 12, 2007
  5. David
    Replies:
    3
    Views:
    252
    Dan Rogers
    Nov 29, 2004
Loading...

Share This Page