Skip to main content

UIBuilder Preverification error.

Please note these java.net forums are being decommissioned and use the new and improved forums at https://community.oracle.com/community/java.
1 reply [Last post]
salil_khanwalkar
Offline
Joined: 2011-01-13

I followed the HelloWorld GUI Builder tutorial on youtube.When I compile the generated project by GUI Builder the output shows - Error preverifying class generated.StateMachineBase java/lang/NoClassDefFoundError:com/sun/lwuit/util/UIBuilder and it also says Preverification failed with error code:1

I have read somewhere that errors are solved after reopening the GUI Builder, doing that also does not resolve this error.

Obufscatiopn level is Off , does it have any relation to this error?

Best Regards,

Salil Khanwalkar.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
salil_khanwalkar
Offline
Joined: 2011-01-13

I deleted the build.xml generated by GUI Builder . On re-opening NetBeans it re-created the build.xml and the problem was solved.

- Salil.