-
creating a JDO object
Hi all,
I have set up mySQL. I am trying to run the example given in tutorial. When I create a JDO object with an existing database "mydb" (I have even tried it with the default database "test"), I get an exception:
Exception in thread "main" java.lang.NoClassDefFoundError: javax/transaction/Syn
chronization
at CreateMedia.main(CreateMedia.java:5)
The exceptions occurs at line:
JDO jdo = new JDO("mydb");
Does anyone know why am I getting this exception?
I'd appreciate all the help.
Jas
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks