on 06-08-2006 2:22 PM
Hi all,
I've have upgraded my Sap Netweaver Developer Studio from 2.0.13 to 7.0 .
Now when i try to compile my old WD project it returs the seguent errors:
1)The project was not built since its classpath is incomplete. Cannot find the class file for java.lang.Object. Fix the classpath then try rebuilding this project
2)This compilation unit indirectly references the missing type java.lang.Object (typically some required class file is referencing a type outside the classpath) PackagePointer.java Project/gen_ddic/datatypes/com/sap/function/model/types line 1
Where can i find the java.lang.Object?
thanks, Daniele
I had the same problem, but not when adding external library. The problem is in the corrupted classpath, I didn't found out how that happend.
However, this solves the problem:
- go to your project properties, Java Build Path, and check whether there is a variable "JRE_LIB". If not, add it.
(value e.g. C:\j2sdk1.4.2_12\jre\lib\rt.jar )
after rebuild project and/or rebuild the DC it will be ok.
-
Radoslav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Daniele,
Try to right click on the project and then
click repair ->Project Structure and Classpath
After that Build and deploy
Regards,
Raghu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi all,
maybe is too late.. but I wish to share my humble experience with you.
I encounter in a similar problem...
When I'm working with Web Dynpro (Messagge Pool) suddenly the NWDS seems to be crazy and give me the error "this compilation unit indirectly references the missing type java.lang.Object "
I read many post, this one too, but still got the problem.
Compare the current WD project with another one I found that my project didn't have rt.jar ibrary in its library list.
So I add in WD project - properties - Java build Path - Libraries the rt.jar library.
In my case it was in C:\j2sdk_dir\jre\lib\rt.jar.
So I build project and the problem desappear.
I hope this experience will be usefull.
Cristian
User | Count |
---|---|
87 | |
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.