Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Technology Project and PMC » AJDT is not working in eclipse(I am a newbie with eclipse. Firstly I installed eclipse, and it is working f9. Since, I am working with 3.7.2 version of eclipse, so I downloaded "ajdt_2.1.3_for_eclipse_3.7. zip". Then UNZ)
icon9.gif  AJDT is not working in eclipse [message #793425] Wed, 08 February 2012 05:34 Go to next message
shweta garg is currently offline shweta gargFriend
Messages: 12
Registered: February 2012
Junior Member
I am a newbie with eclipse and AJDT both... Crying or Very Sad

Firstly I installed eclipse, and it is working f9. Since, I am working with 3.7.2 version of eclipse, so I downloaded "ajdt_2.1.3_for_eclipse_3.7. zip". Then UNZIPPED it and put it in plugin, features and dropins folder of eclipse.

Now when I am running my "Hello World" project (code is available with AJDT distribution), it is giving following error:

Exception in thread "main" java.lang.NoClassDefFoundError: helloworld/Hello
Caused by: java.lang.ClassNotFoundException: helloworld.Hello
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
Could not find the main class: helloworld.Hello. Program will exit.

According to me, either some package or link with package is missing or some path problem is there in eclilpse. Because java and aj files are getting built by command line but not with eclipse... Crying or Very Sad

I am attaching my eclipse SDK window with "Hello World example" here.

Kindly help me in this issue.
Re: AJDT is not working in eclipse [message #793842 is a reply to message #793425] Wed, 08 February 2012 16:38 Go to previous messageGo to next message
Wayne Beaton is currently offline Wayne BeatonFriend
Messages: 554
Registered: December 2017
Senior Member
You should pose this question on the AJDT project forum.

http://www.eclipse.org/forums/index.php/f/77/

Wayne

On 02/08/2012 12:34 AM, shweta garg wrote:
> I am a newbie with eclipse and AJDT both... :cry:
>
> Firstly I installed eclipse, and it is working f9. Since, I am working with 3.7.2 version of eclipse, so I downloaded "ajdt_2.1.3_for_eclipse_3.7. zip". Then UNZIPPED it and put it in plugin, features and dropins folder of eclipse.
>
> Now when I am running my "Hello World" project (code is available with AJDT distribution), it is giving following error:
>
> Exception in thread "main" java.lang.NoClassDefFoundError: helloworld/Hello
> Caused by: java.lang.ClassNotFoundException: helloworld.Hello
> at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
> Could not find the main class: helloworld.Hello. Program will exit.
>
> According to me, either some package or link with package is missing or some path problem is there in eclilpse. Because java and aj files are getting built by command line but not with eclipse... :cry:
>
> I am attaching my eclipse SDK window with "Hello World example" here.
>
> Kindly help me in this issue.
>
Re: AJDT is not working in eclipse [message #793857 is a reply to message #793842] Wed, 08 February 2012 17:09 Go to previous message
shweta garg is currently offline shweta gargFriend
Messages: 12
Registered: February 2012
Junior Member
Thanx Wayne for redirecting me to correct place...
Previous Topic:eclipse on freebsd
Next Topic:plugin activator is invalid
Goto Forum:
  


Current Time: Fri Apr 19 02:49:58 GMT 2024

Powered by FUDForum. Page generated in 0.02130 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top