Public bug reported: Binary package hint: netbeans
Netbeans 6.7.1 in Karmic fails to complete the process of creating a Servlet file once the Web Applications plugins are installed. Looking at the IDE Log, one can see a ClassNotFoundException for org.apache.log.Hierarchy. Some Google searching shows that this is part of the liblogkit-java package. Here is the workaround that gets NetBeans to work in Karmic: sudo apt-get install liblogkit-java bash$ cd .netbeans/6.7/lib bash$ ln -s /usr/share/java/logkit.jar . The problem should be able to be reproduced with the following steps: (Install netbeans package from Karmic repository obviously) Open netbeans and open Tools and Modules. Add the modules for web applications. Restart Netbeans. Open netbeans and create a new web project. Once the project is created, create a new file and choose Servlet. You will notice that when you complete Finish, the window doesn't close, no template is inserted in the new file, and there is a flashing error icon in the statusbar of the main Netbeans window. Since Sun's bundle of Netbeans doesn't exhibit this problem, I'm assuming someone missed this dependency in testing. I don't know how to add the liblogkit-java jar to Netbeans' default system-wide classpath, hence my sloppy hack. But whoever is packaging Netbeans should probably include this dependency and make whatever arrangements are necessary to include it in the classpath. ProblemType: Bug Architecture: amd64 Date: Mon Jan 18 12:36:04 2010 DistroRelease: Ubuntu 9.10 NonfreeKernelModules: nvidia Package: netbeans 6.7.1-0ubuntu1 PackageArchitecture: all ProcEnviron: SHELL=/bin/bash LANG=fr_FR.UTF-8 ProcVersionSignature: Ubuntu 2.6.31-17.54-generic SourcePackage: netbeans Uname: Linux 2.6.31-17-generic x86_64 ** Affects: netbeans (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug -- NetBeans needs liblogkit-java dependency for web application development https://bugs.launchpad.net/bugs/509255 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs