NetBeans needs liblogkit-java dependency for web application development
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
netbeans (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
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 ClassNotFoundEx
sudo apt-get install liblogkit-java
bash$ cd .netbeans/6.7/lib
bash$ ln -s /usr/share/
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
NonfreeKernelMo
Package: netbeans 6.7.1-0ubuntu1
PackageArchitec
ProcEnviron:
SHELL=/bin/bash
LANG=fr_FR.UTF-8
ProcVersionSign
SourcePackage: netbeans
Uname: Linux 2.6.31-17-generic x86_64
Thank you for catching!
Will be fixed in NetBeans 6.8 packages.