• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

The prefix "oxm" for element "oxm:jaxb2-marshaller" is not bound

 
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I am getting this compile error in webmvc_cfg.xml and I have no idea what can fix it.

Excerpt from my webmvc_config.xml:


Error "The prefix "oxm" for element "oxm:jaxb2-marshaller" is not bound" is on:

I have all of the files below in my App's lib directory:

spring.oxm-tiger-1.5.8.jar
spring-web.jar
spring-ws-core-tiger-15.8.jar
spring-ws-core-1.5.8
spring-ws-security-1.5.8.jar
spring-ws-support-1.5.9.jar

Can anyone point out my problem and ideas for fixing it?

Many Thanks in advance...
 
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You're missing the namespace declaration.
 
Mimi Tam
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Thank you, David.

May I ask which tns: prefix/namespace am I supposed to add to fix this problem? I couldn't find an example of this.

 
David Newton
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Really? I searched for "spring oxm namespace" and amongst the top few links was this:

http://static.springsource.org/spring-ws/sites/1.5/reference/html/oxm.html#d0e5649

I'd *strongly* recommend reading the documentation for the technology you're trying to use--things will go much more smoothly! :)
 
Mimi Tam
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

This is a very helpful link.

Thanks a lot, David.
 
David Newton
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sure thing--enjoy!
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic