Skip to Content
author's profile photo Former Member
Former Member

ejbModule not building for my CAF project

Hi,

This is my first CAF project . I have created few entity services and than when I try to build it it gives me the following error :

ompile:

[javac] Compiling 36 source files to C:\Documents and Settings\i028301\.dtc\LocalDevelopment\t\33C495AB7713C24C69FE621695764F50\classes

C:\Documents and Settings\i028301\.dtc\LocalDevelopment\DCs\sap.com\kpcarpool\ejbmodule\_comp\ejbModule\com\sap\kpcarpool\besrv\car\CarServiceBean.java:178: cannot resolve symbol

symbol : method almostEqual (java.util.Date,java.util.Date)

location: class com.sap.kpcarpool.besrv.car.CarServiceBean

if (!almostEqual(oldBE.getLastChangedAt(), be.getLastChangedAt())) {

^

C:\Documents and Settings\i028301\.dtc\LocalDevelopment\DCs\sap.com\kpcarpool\ejbmodule\_comp\ejbModule\com\sap\kpcarpool\besrv\employee\EmployeeServiceBean.java:171: cannot resolve symbol

symbol : method almostEqual (java.util.Date,java.util.Date)

location: class com.sap.kpcarpool.besrv.employee.EmployeeServiceBean

if (!almostEqual(oldBE.getLastChangedAt(), be.getLastChangedAt())) {

^

C:\Documents and Settings\i028301\.dtc\LocalDevelopment\DCs\sap.com\kpcarpool\ejbmodule\_comp\ejbModule\com\sap\kpcarpool\besrv\travel\TravelServiceBean.java:171: cannot resolve symbol

symbol : method almostEqual (java.util.Date,java.util.Date)

location: class com.sap.kpcarpool.besrv.travel.TravelServiceBean

if (!almostEqual(oldBE.getLastChangedAt(), be.getLastChangedAt())) {

^

C:\Documents and Settings\i028301\.dtc\LocalDevelopment\DCs\sap.com\kpcarpool\ejbmodule\_comp\ejbModule\com\sap\kpcarpool\besrv\travellocation\TravelLocationServiceBean.java:171: cannot resolve symbol

symbol : method almostEqual (java.util.Date,java.util.Date)

location: class com.sap.kpcarpool.besrv.travellocation.TravelLocationServiceBean

if (!almostEqual(oldBE.getLastChangedAt(), be.getLastChangedAt())) {

^

4 errors

The errors is same almostEqual not found. I am clueless why this error is coming. Can somebody help me in this regard.

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Sep 05, 2006 at 11:39 AM

    That's strange error. Possible source of the problem is in incompatible versions of CAF Designer and caf build archives. What's the version you are using ?

    Also check that your beans extend com.sap.caf.rt.bol.EntityServiceBase class.

    Best regards,

    Aliaksei

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 05, 2006 at 11:46 PM

    Hello,

    There is a bug in the IDE that causes code generation and compile errors when the directory structure for the source code is too deep. Try changing your Development Configuration root folder to something like "c:\.dtc" and then create a new project and build. Window->preferences->Java Development Infrastructure-> Development Configuration Pool. Now all new projects should be stored in this new directory.

    If this does not work, you can also try moving your default workspace to "c:\ws". Windows->preferences->workbench->workspace. You must restart your IDE after you do this.

    Regrards,

    Austin.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.