on 09-05-2006 11:21 AM
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.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.