Are you using Eclipse and the Google plugin, or are you using a different
environment? Adding these to the library directory isn't enough; you need to
make sure these jar files are in your classpath.

--
Ikai Lan
Developer Programs Engineer, Google App Engine
Blogger: http://googleappengine.blogspot.com
Reddit: http://www.reddit.com/r/appengine
Twitter: http://twitter.com/app_engine



On Tue, Dec 7, 2010 at 4:53 PM, Kurtosis <[email protected]> wrote:

> I'm working through the Getting Starting tutorial and have gotten to
> the section 'Using the Datastore with JDO', but am getting my first
> compile error here:
>
> > package javax.jdo does not exist
>
> This compile error repeats for every 'import javax.jdo.***' statement
> in Greeting.java, PMF.java, and SignGuestbookServlet.java files.
> However, my build script copies the JDO jar to war/WEB-INF/lib, along
> with all the other required jars ${appengine.sdk.dir}/lib/users/:
>
> appengine-api-1.0-sdk-1.4.0.jar
> appengine-api-labs-1.4.0.jar
> appengine-jsr107cache-1.4.0.jar
> datanucleus-appengine-1.0.8.final.jar
> datanucleus-core-1.1.5.jar
> datanucleus-jpa-1.1.5.jar
> geronimo-jpa_3.0_spec-1.1.1.jar
> geronimo-jta_1.1_spec-1.1.1.jar
> jdo2-api-2.3-eb.jar
> jsr107cache-1.1.jar
>
> I haven't had any compile errors yet, so not sure why all of a sudden
> it can't seem to find the JDO jar file when it's in the same directory
> as all the other jars it has been finding and using so far with no
> problems.
>
> Any suggestions?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine for Java" group.
> To post to this group, send email to
> [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-appengine-java%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine-java?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to