Skip to Content
0
Former Member
Dec 01, 2006 at 06:32 AM

JDO on the DC development

42 Views

Dear All,

I followed instructions of a persistence tutorial that I found from the help.sap.com ("Getting Started with Relational Persistence) and wrote down two projects. The tutorial uses individual projects as units for projects implementation, but I choose to develop projects as DC components.

The whole implementation seems fine until I tried to do the DC build operation. Following is the error messages I got during the DC build:

[javac] Compiling 4 source files to C:\Documents and Settings\Allen\dtr\1\t\070795FD169D26DCB9019563094877AC\classes

[javac] C:\Documents and Settings\Allen\dtr\1\DCs\sap.com\home\jdowebm\_comp\source\temp\persistence\gettingstarted\jdo\BusinessLogic.java:12: package javax.jdo does not exist

[javac] import javax.jdo.*;

[javac] ^

[javac] C:\Documents and Settings\Allen\dtr\1\DCs\sap.com\home\jdowebm\_comp\source\temp\persistence\gettingstarted\jdo\BusinessLogic.java:22: cannot resolve symbol

[javac] symbol : class PersistenceManagerFactory

[javac] location: class temp.persistence.gettingstarted.jdo.BusinessLogic

[javac] private PersistenceManagerFactory pmf; // Persistence Manager Factory (PMF)

[javac] ^

[javac] C:\Documents and Settings\Allen\dtr\1\DCs\sap.com\home\jdowebm\_comp\source\temp\persistence\gettingstarted\jdo\BusinessLogic.java:36: cannot resolve symbol

[javac] symbol : class JDOException

[javac] location:

Can anyone help, please? How can I make JDO package working on a DC component? Seems like the JDO library cannot be found.