Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9077271
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T19:18:10+00:00 2026-06-16T19:18:10+00:00

I have this huge java class file with nested class coded everything in there.

  • 0

I have this huge java class file with nested class coded everything in there.
After I got everything working the way I wanted, having the XML output I need… I split the nested class out to their own class file.

However, when I run the code, all of my @XmlPath annotation are ignored. Only the native ones from javax.xml.bind.annotation.* are still in effect…

Ok.. wtf, so I put all the nested classes back to the way it was, and ran the code again, and none of the @XmlPath (in fact none of the MOXy stuff works) annotations works…!

I tried to remove the jar, close eclipse, reopen, and re-add the jar back in, still no go.

How can I get EclipseLink MOXy to work again??

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T19:18:11+00:00Added an answer on June 16, 2026 at 7:18 pm

    You need to ensure that the EclipseLink JAXB (MOXy) jars are configured correctly and that you have a file called jaxb.properties in the same package as your domain model with the following entry:

    javax.xml.bind.context.factory=org.eclipse.persistence.jaxb.JAXBContextFactory
    

    For More Information

    • http://blog.bdoughan.com/2011/05/specifying-eclipselink-moxy-as-your.html
    • http://blog.bdoughan.com/2010/07/xpath-based-mapping.html
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am working in Java. I have an class called Command. This object class
I had a huge file for creating this GUI and I have shortened it
I have this huge domain object(say parent) which contains other domain objects. It takes
i have this dictionary: a) 2012 UN NEWNW = ( 2012/06/04 Saudi Arabia Huge
I have a huge problem with this method im trying to make. I have
I have a huge string that looks like this: Text Text Text Text Text
I have a huge autocomplete field with a list of exams. This field prepends
I have a java application I've written in eclipse. It works fine there. It
I have a class in Java which is written bellow.I want to know does
We have a huge Java Swing application. Now we want to remove couplings from

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.