简体   繁体   中英

Netbeans 7.0.1 gui does not work

我在Ubuntu 12.04上安装了Netbeans 7.0.1,选择了“设计”选项卡以使用gui生成器后,已设计的gui冻结在“加载...”,并给我此错误java.lang.ClassNotFoundException:org.w3c.dom.ElementTraversal,然后已设计的gui出现了没有出现就像gui生成器无法通过xml问题重新加载gui一样,我尝试使用Netbeans 7.1,但是它没有Java桌面应用程序,因此我无法将其与在Netbeans 6.9上创建的项目一起使用,请问任何建议?

According to this bug tracker your are not the first person to stumble on that error, although the OS is not Ubuntu. It might also be the case that you are missing some Java libraries which the Netbeans installation might assume that you might have.

Fresh installations of Ubuntu (amongst others) come packed with the OpenJDK . The full Java SDK needs to be installed separately.

The issue that is causing this is due to a version conflict with Xerces. I found that if you use netbeans -cp:p [location of the netbeans xerces version] then things are good... if not it tries to include it from else where and things go wonky.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM