When trying to put together a jar file on Ubuntu Lucid with gant, I got this: java.lang.NoClassDefFoundError: org/apache/tools/ant/BuildListener at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Class.java:2427) at java.lang.Class.getMethod0(Class.java:2670) at java.lang.Class.getMethod(Class.java:1603) at org.codehaus.groovy.tools.GroovyStarter.rootLoader(GroovyStarter.java :99) at org.codehaus.groovy.tools.GroovyStarter.main(GroovyStarter.java:130) Caused by: java.lang.ClassNotFoundException: org.apache.tools.ant.BuildListener at org.codehaus.groovy.tools.RootLoader.findClass(RootLoader.java:156) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at org.codehaus.groovy.tools.RootLoader.loadClass(RootLoader.java:128) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) … 6 more After also installing the ant package everything worked… Continue reading Looking for: “java.lang.NoClassDefFoundError: org/apache/tools/ant/BuildListener”
Category: Computers
Computer related (scripts, tutorials, solutions)
Running Secunia PSI as non-admin
Your machine was compromised (again!) by malware you caught up somewhere on the web. Sick and tired of it you went looking for a solution and after reading my religious Non-Admin HOWTO you decided to bite the bullet and downgrade yourself to the Users group. To keep all your applications up-to-date you installed Secunia PSI,… Continue reading Running Secunia PSI as non-admin
Fixing the Apache “unable to include…” localised errors
Apache includes a nice feature that displays localised errors. This makes use of Server Side Includes (SSI). When you use PHP and have it also parse .html documents, your localised errors are broken. In fact, because the initial error will generate new errors, it becomes a mess. You typically see this in your error log:… Continue reading Fixing the Apache “unable to include…” localised errors
Brute-forcing pksc12 passphrases with OpenSSL
For some project I needed to recover the password that was used to encrypt a PKCS12 key. I found a nice patch for openssl by Aion but that did not compile on any of my machines. After some trial and error, I was able to compile it under Debian Woody. For your convenience, I have… Continue reading Brute-forcing pksc12 passphrases with OpenSSL
Rename VMware Virtual machines on ESX
Ever wanted to rename a virtual machine and found out that the “Rename” option merely renames the “friendly name” in VirtualCenter? You could clone the VM to a new one with the proper name, but that requires a lot of downtime usually. There is a quicker way: Shut down the VM Choose “Remove from inventory”… Continue reading Rename VMware Virtual machines on ESX
XP Service Pack 3 breaks FAST
After slipstreaming Service Pack 3 into my Windows XP Professional CD image, you cannot use FAST (File and Settings Transfer Wizard) to import a backup made with FAST on a XP SP2. Attempting to do so will yield this error: Your migration store was created with a previous version of File and Settings Transfer Wizard.… Continue reading XP Service Pack 3 breaks FAST
Mozilla Marktplaats tralies bug
Sinds jaren bestaat er een bug in de code van Marktplaats.nl, waardoor de boel bij het verwijderen van een advertentie blijft hangen in een soort gevangenis met grijze tralies. Het maakt niet uit wat je doet op de site — uitloggen, inloggen, zoeken, het scherm blijft een traliepatroon. Het enige dat helpt is het venster/tab… Continue reading Mozilla Marktplaats tralies bug
Windows XP for power users
Windows Vista has been released over 18 months ago, and my initial reaction was that this operating system is the most bloated, sluggish crap ever released by Microsoft. Everyone was hoping that Service Pack 1 would relieve some of the pain, but unfortunately Microsoft failed to put any significant performance improvements in. I have come… Continue reading Windows XP for power users
Areca releases driver for VMware
Areca has just released a beta driver for use with VMware ESX 3.5 🙂 This means that finally all the advantages of the Areca hardware can be used to build VMware systems. I consider the Areca’s one of the best (if not the best) professional SATA RAID controllers out there. I have used Dell servers… Continue reading Areca releases driver for VMware