creating a JDO object
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
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.
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