Apache Commons Eclipse Plugin Install Issue

Progress reports and musings from the developers on the current gaming tools.

Moderators: dorpond, trevor, Azhrei

Post Reply
User avatar
Blakey
Dragon
Posts: 778
Joined: Fri Mar 23, 2007 11:27 am
Location: Sussex, UK.

Apache Commons Eclipse Plugin Install Issue

Post by Blakey »

Hello gang,

I've just got a new laptop and have copied my TokenMaker source over to it. However I can't now get it to run! When I start it up I get this error:

Code: Select all

Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/httpclient/HttpMethod
	at info.rodinia.tokenmaker.NPC.getHtml(NPC.java:77)
	at info.rodinia.tokenmaker.TokenMaker.main(TokenMaker.java:67)
Caused by: java.lang.ClassNotFoundException: org.apache.commons.httpclient.HttpMethod
	at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
	... 2 more
I must have installed apache commons on my last laptop to use this but for the life of me I can't find it and install it on this laptop. In my Eclipse plugins directory I have a bunch of directories so I clearly have some plugins installed okay. But I can't find anywhere on the net where I can download it.

I've found the Apache Commons web site but it's just leaving me confused.

Can anyone help? Is there a simple zip file you could post for me to install?

Thanks for any help gang,
Blakey
The guy in the green hat.

User avatar
Blakey
Dragon
Posts: 778
Joined: Fri Mar 23, 2007 11:27 am
Location: Sussex, UK.

Re: Apache Commons Eclipse Plugin Install Issue

Post by Blakey »

Okay, I'm stupid. :)

The files were already on my laptop - they were just in a different place under Windows7 from XP and so I needed to update the build path.

Sorted.
Blakey
The guy in the green hat.

User avatar
Rumble
Deity
Posts: 6235
Joined: Tue Jul 01, 2008 7:48 pm

Re: Apache Commons Eclipse Plugin Install Issue

Post by Rumble »

Blakey wrote:Okay, I'm stupid. :)

The files were already on my laptop - they were just in a different place under Windows7 from XP and so I needed to update the build path.

Sorted.
Blakey
I had the exact same problem when I first tried to build and run TokenMaker. :)

Post Reply

Return to “Developer Notes”