• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Tim Cooke
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Frank Carver
  • Henry Wong
  • Ron McLeod
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Himai Minh

JAXB Exception - unable to extract the schema information etc

 
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi there
I'm experiencing a problem with some xml binding.
I'm trying to unmarshal an xml file to some java objects, the file conforms to an xsd schema.

I have renamed the package structure to a/b/c/d.
If I had validating on the unmarshaller to false then this error does not occur, but that is not the desired result!
Al
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sorry, I goofed that last reply.
I had this problem myself, and it turned out to be that the bgm.ser file was not in the classpath. You need to copy it from the source directory created when you ran xjc to the corresponding directory in your output path (where the class files are).
Barry

EDIT: Barry, I deleted the post for you. You can do it from the editing screen () by checking the "Delete Post?" checkbox and submitting the form.
[ October 09, 2003: Message edited by: Lasse Koskela ]
 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dont forget to put the jaxb.properties in the classpath too.
Since this property file, is read when u marshall or unmarshal the xml string.
--Vikas
 
Tongue wrestling. It's not what you think. And here, take this tiny ad. You'll need it.
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic