0
votes

I installed Netbeans 7.0.1 on Ubuntu 12.04,after choosing design tab to use gui builder the designed gui freezes at Loading... and gives me this error java.lang.ClassNotFoundException: org.w3c.dom.ElementTraversal then the designed gui does not appear It's like the gui builder can not reload the gui beacuse of xml problem I tried Netbeans 7.1 but it does not have Java desktop application and i can not use it with my projects which i created on Netbeans 6.9 any suggestions please?

2
For 7.1 the support for the SAF has been added through a new plugin: plugins.netbeans.org/plugin/43853/…a_horse_with_no_name

2 Answers

0
votes

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.

0
votes

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.