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

  • Home
  • SEARCH
  • 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 8701283
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T02:21:37+00:00 2026-06-13T02:21:37+00:00

I use jackson (via resteasy) to convert json to a Java object. I’ve only

  • 0

I use jackson (via resteasy) to convert json to a Java object. I’ve only defined an interface for the object and jackson generates the implementation automatically. Great!

Now I’m trying to save the object and restore it later. My interface extends Serializable, so my datastore saves it without complaint. When it comes time to load it later, though, the generated class definition is nowhere to be found. I get

java.lang.ClassNotFoundException: org.codehaus.jackson.generated.my.class.name

What are my options for saving and loading objects with class definitions generated by Jackson?

  • 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-13T02:21:39+00:00Added an answer on June 13, 2026 at 2:21 am

    Maybe serialize POJO as java.util.Map instead? JDK serialization is tightly bound to concrete classes, so it may not work well with Jackson’s abstract type materialization (I assume you are using “Mr Bean” module).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to use Jackson to convert some JSON data into Java objects ,a
I know it is very easy to use Jackson to convert Map to Json.
There's a project use Jackson, and have a Java object Data. In the object,
I have a Java servlet, where I want to use the Jackson JSON parser
I use jackson for converting JSON to Object class. JSON: { aaa:111, bbb:222, ccc:333
With Jackson json library, it is possible to deserialize object through the use of
I'm using jackson to convert an object of mine to json. The object has
Is it possible to use Jackson as the serializer/marshaller for JSON data instead of
I'd like to use Jackson to parse JSON Bing results, but I'm a little
Can I use Jackson instead of JSON-lib with Groovy's HTTPBuilder when setting the body

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.