开发者

NetBeans Platform - 6.8 app no longer works in 6.9

开发者 https://www.devze.com 2023-01-24 00:40 出处:网络
All, I have a netbeans platform app developed in 6.8 platform.I\'m trying to load it using NetBeans 6.9 and the bui开发者_运维百科ld fails with the error

All,

I have a netbeans platform app developed in 6.8 platform. I'm trying to load it using NetBeans 6.9 and the bui开发者_运维百科ld fails with the error

Module org.netbeans.libs.jna excluded from the target platform

I have seen someone write that this error is related to the GUI builder being set to use automatic mode (swing layout extensions, deprecated library). I have switched the GUI builder over to Swing 6 widgets, and have rewritten some of the UI code that was created through the GUI builder, so as to remove the dependency on the deprecated library. I still get the error, though, even after having cleaned and rebuilt.

Any idea how to fix this?


You may still have that library listed as a dependency under Libraries. Look under the project and remove that as a dependency and try rebuilding.

Even if you are not using it, if it is listed as a dependency Netbeans will throw a build failure error if it cannot find it.

0

精彩评论

暂无评论...
验证码 换一张
取 消