on 03-17-2009 4:39 PM
Hello everybody,
I just imported a WS model to my Web Dynpro project. However, when I try to build the Web Dynpro project everytime I get this error:
Compilation Unit Indirectly references the Missing Type java.lang.Object
I already tried to repair the project stucture and classpath, but the error keeps appearing.
I also found this post where the error happens, but none of the suggestions there worked:
Does anyone have any ideas on how to fix this?
Any suggestions will be greatly appreciated!
Thanks!
Hi,
Please do the following:
Project --> Properties --> Java Build Path --> Select Libraries Tab
Click --> Add Library --> JRE System Library --> Select the JRE you are using --> Click on Finish.
This should add the missing JRE Jar files into the class path.
Still if you have any errors, then check in the Tasks view and add all missing jars:
Project --> Properties --> Java Build Path --> Select Libraries Tab
Click on External JARs -> <NWDS-inst directory>/Plug-ins/ <select the jar files>
Hope this helps,
Regards,
Siva
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
U can try by adding rt.jar to the WD project - properties - Java build Path.
Thanks
Ritushree
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Alain,
Java Object class is part of rt.jar which your project does not find in the classpath.
It seems somehow the variable JRE_LIB has been removed from your project build path. You can verify this under Libraries tab.
Under Libraries tab, add it by clicking Add Variable button & choosing JRE_LIB. Do a Rebuild Project after this.
Hope this solves your issue.
Kind Regards,
Nitin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
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.