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 9131303
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T08:07:16+00:00 2026-06-17T08:07:16+00:00

Environment: Eclipse, Maven I have been following the Datanucleus JDO Tutorial to no avail

  • 0

Environment: Eclipse, Maven

I have been following the Datanucleus JDO Tutorial to no avail as I am stuck at Step 4. It has “information”, but with no clear way to find it given I am new to Maven and new to Datanucleus.

All I wanted to do was switch a functioning project from AppEngine&Objectify and port it to target a Linode (using a persistence layer like Hibernate or Datanucleus). This has been far from the “Straight Forward™” claimed on the tutorial.

I get the following error when the code is executing JDOHelper.getPersistenceManagerFactory("datanucleus.properties"):

javax.jdo.JDOFatalUserException: A property named javax.jdo.PersistenceManagerFactoryClass must be specified, or a jar file with a META-INF/services/javax.jdo.PersistenceManagerFactory entry must be in the classpath, or a property named javax.jdo.option.PersistenceUnitName must be specified.
at javax.jdo.JDOHelper.getPersistenceManagerFactory(JDOHelper.java:861)
at javax.jdo.JDOHelper.getPersistenceManagerFactory(JDOHelper.java:1099)
at javax.jdo.JDOHelper.getPersistenceManagerFactory(JDOHelper.java:919)
at myproject.HelloWorld.handle(HelloWorld.java:45)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
at org.eclipse.jetty.server.Server.handle(Server.java:365)
at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:485)
at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:926)
at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:988)
at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:635)
at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)
at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:628)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
at java.lang.Thread.run(Thread.java:722)

It would be nice to progress on from this as it just seems like it might require a few more days of reading up on all the required technologies to figure out what is going on, but I actually just want to get started, so if it is a day or two of “figuring out” I will need to just pick a “solution”, which looks like it will be Hibernate at the moment.

I have made various modifications to the pom.xml, such as including ${basedir} as an extra classpath for the exec:java configuration, and copied in the Datanucleus maven settings.

  • 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-17T08:07:17+00:00Added an answer on June 17, 2026 at 8:07 am

    Seems to me that the error message is explicit

    A property named javax.jdo.PersistenceManagerFactoryClass must be
    specified, or a jar file with a
    META-INF/services/javax.jdo.PersistenceManagerFactory entry must be in
    the classpath, or a property named
    javax.jdo.option.PersistenceUnitName must be specified.

    So “datanucleus.properties” isn’t at the root of the CLASSPATH maybe? or you haven’t got jdo-api.jar in the CLASSPATH, or datanucleus-api-jdo.jar maybe, or other jars. It would be a simple task to actually print out the CLASSPATH and present it in your “problem description”, and with that the directory structure under that.

    You don’t say what you’re entering on Step 4, because the provided README files tell you what to do and are verified to work; the provided Maven pom.xml works out of the box with the provided samples. As you say, you’re “adapting it (TM)” to your own application, and you don’t present what you’ve changed and why, where your code is etc.

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

Sidebar

Related Questions

I have been trying to get my Arduino/Eclipse environment setup. For some reason I
I have been trying to follow this tutorial: http://viralpatel.net/blogs/2010/11/spring3-mvc-hibernate-maven-tutorial-eclipse-example.html I did not ran into
Environment: Eclipse Juno Junit 4.11 maven 3.0.4 Problem: I believe i have a classloading
I am using eclipse as a development environment. I have several applications that link
Following is my environment: Linux, Ubuntu C++/gdb Eclipse I am implementing a TCP socket
I made a Hello word example in springMVC.Following are my steps. 1.Installed maven-eclipse integeration
Using Maven build system under eclipse. I have just switched by project from using
I am new to spring and have been following the tutorials on http://viralpatel.net and
I have smallish personal project consisting of the following Eclipse workspace. + +-MyApp //
i have Windows Vista and i'm trying to install maven and test it. But

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.