cancel
Showing results for 
Search instead for 
Did you mean: 

Web dynpro build error: Compilation Unit Indirectly references the Missi...

Former Member
0 Kudos

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!

Accepted Solutions (1)

Accepted Solutions (1)

former_member197348
Active Contributor
0 Kudos

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

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

U can try by adding rt.jar to the WD project - properties - Java build Path.

Thanks

Ritushree

Former Member
0 Kudos

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