Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AspectJ » Newbie Eclipse AJDT Install Question
Newbie Eclipse AJDT Install Question [message #24105] Thu, 26 June 2003 17:48 Go to next message
Eclipse UserFriend
Originally posted by: bluecoder.elivefree.net

Hi,
I have installed the aspectJ plugin for Eclipse 2.1. I have verified the
install and followed the post-install instructions. I have imported the
examlpe telelcom and included the external jar "aspectjdt.jar".
My steps were:
- created an aspectJ project named "test",
- and inside this I created a package called "telecom"
- inside "telecom", I imported all the files that came with aspectJ
- then I choose "ReBuild Project" from Project menu
- then I choose "Run..." from Run menu
- I filled in "test" for project
- and filled in "telecom.BillingSimulation" for Class and choose run

But I get the following error:

"Exception in thread main java.lang.NoClassDefFoundError:
telecom/BillingSimulation"

I would like to know what I am doing wrong ? as this works from the
command line. Thank-you

B.C.
Re: Newbie Eclipse AJDT Install Question [message #24110 is a reply to message #24105] Fri, 27 June 2003 15:03 Go to previous messageGo to next message
George Harley is currently offline George HarleyFriend
Messages: 70
Registered: July 2009
Member
Hi Brian,

From your note it doesn't appear that you are doing anything wrong. The
steps all work for me in my Eclipse 2.1 environment using the latest AJDT.
A couple of points need clarification though :-

(a) When you created your new "test" AspectJ project in Eclipse you should
have automatically got the aspectjrt.jar (I assume you didn't mean
aspectjdt.jar) imported for you. It should reside at the location <your
eclipse dir>\plugins\org.aspectj.ajde_<ajdt version>. You should not have
had to do a manual import. Right click on your project in the package
explorer and select "Remove AspectJ Nature" then immediately right click on
it again and select "Convert to AspectJ Project" just to be certain.

(b) When you supplied the name of the main class did you type it in the
"Main class:" field or did you search for it using the "Search..." button
on the right of that field ? If you did a search for it you should have
been presented with three potential main classes (BasicSimulation,
BilingSimulation and TimimgSimulation). If you didn't see these then your
project building step may not have worked.

Good luck !

On Thu, 26 Jun 2003 17:48:17 +0000 (UTC), Brian. C.
<bluecoder@elivefree.net> wrote:

> Hi,
> I have installed the aspectJ plugin for Eclipse 2.1. I have verified the
> install and followed the post-install instructions. I have imported the
> examlpe telelcom and included the external jar "aspectjdt.jar".
> My steps were: - created an aspectJ project named "test", - and inside
> this I created a package called "telecom"
> - inside "telecom", I imported all the files that came with aspectJ
> - then I choose "ReBuild Project" from Project menu
> - then I choose "Run..." from Run menu
> - I filled in "test" for project
> - and filled in "telecom.BillingSimulation" for Class and choose run
> But I get the following error:
>
> "Exception in thread main java.lang.NoClassDefFoundError:
> telecom/BillingSimulation"
>
> I would like to know what I am doing wrong ? as this works from the
> command line. Thank-you
>
> B.C.
>
>


--
George
Re: Newbie Eclipse AJDT Install Question [message #24115 is a reply to message #24110] Fri, 27 June 2003 16:44 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: bluecoder.elivefree.net

Hi George,
Thank you for your reply. Yes the jar was automaticallty put into the
project directory but when I tried clicking on "billing.lst" and "select
this build config" it said it could not find the jar so I imported it
manually and the error went away.
I have done what you said "Remove AspectJ Nature" then "Convert to
AspectJ Project", but I still get the same error. In the main class in
"Run..." I do not get any return results but the build did not return an
error either and nothing in the .log file. What should I do to build it
correctly ? Thank you for your help so far

B.

George Harley wrote:

> Hi Brian,

> From your note it doesn't appear that you are doing anything wrong. The
> steps all work for me in my Eclipse 2.1 environment using the latest AJDT.
> A couple of points need clarification though :-

> (a) When you created your new "test" AspectJ project in Eclipse you should
> have automatically got the aspectjrt.jar (I assume you didn't mean
> aspectjdt.jar) imported for you. It should reside at the location <your
> eclipse dir>\plugins\org.aspectj.ajde_<ajdt version>. You should not have
> had to do a manual import. Right click on your project in the package
> explorer and select "Remove AspectJ Nature" then immediately right click on
> it again and select "Convert to AspectJ Project" just to be certain.

> (b) When you supplied the name of the main class did you type it in the
> "Main class:" field or did you search for it using the "Search..." button
> on the right of that field ? If you did a search for it you should have
> been presented with three potential main classes (BasicSimulation,
> BilingSimulation and TimimgSimulation). If you didn't see these then your
> project building step may not have worked.

> Good luck !

> On Thu, 26 Jun 2003 17:48:17 +0000 (UTC), Brian. C.
> <bluecoder@elivefree.net> wrote:

> > Hi,
> > I have installed the aspectJ plugin for Eclipse 2.1. I have verified the
> > install and followed the post-install instructions. I have imported the
> > examlpe telelcom and included the external jar "aspectjdt.jar".
> > My steps were: - created an aspectJ project named "test", - and inside
> > this I created a package called "telecom"
> > - inside "telecom", I imported all the files that came with aspectJ
> > - then I choose "ReBuild Project" from Project menu
> > - then I choose "Run..." from Run menu
> > - I filled in "test" for project
> > - and filled in "telecom.BillingSimulation" for Class and choose run
> > But I get the following error:
> >
> > "Exception in thread main java.lang.NoClassDefFoundError:
> > telecom/BillingSimulation"
> >
> > I would like to know what I am doing wrong ? as this works from the
> > command line. Thank-you
> >
> > B.C.
> >
> >


> --
> George
Re: Newbie Eclipse AJDT Install Question [message #24122 is a reply to message #24115] Sun, 29 June 2003 21:29 Go to previous messageGo to next message
George Harley is currently offline George HarleyFriend
Messages: 70
Registered: July 2009
Member
Hi,

OK, this sounds bad. Could you let me know the following please :-

(a) the version of AJDT plugin (1.1.2 or 1.1.3 or ?)
(b) level of Java
(c) operating system
(d) What do you see in the AJDT event trace when you open your project, run
a build etc ? Do you see any errors or warnings ? The AJDT event trace can
be displayed by carrying out the following steps with your project open in
the Java Perspective ... Window ->Show View->Other...->expand AspectJ
folder->AJDT Event Trace.

For example, here is what I see in my trace when I do a successful build
using billing.lst :-

22:24:16 Configuration file C:\Eclipse-
21\eclipse\workspace\test\src\telecom\billing.lst selected for test
22:24:16 build: Kind=FULLBUILD
22:24:16 Building test with config C:\Eclipse-
21\eclipse\workspace\test\src\telecom\billing.lst.
CLASSPATH=C:\sun-jdk-141-02\jre\lib\rt.jar;C:\sun-jdk-141-
02\jre\lib\sunrsasign.jar;C:\sun-jdk-141-02\jre\lib\jsse.jar ;C:\sun-jdk-
141-02\jre\lib\jce.jar;C:\sun-jdk-141-02\jre\lib\charsets.ja r;C:\sun-jdk-
141-02\jre\lib\ext\dnsns.jar;C:\sun-jdk-141-
02\jre\lib\ext\ldapsec.jar;C:\sun-jdk-141-
02\jre\lib\ext\localedata.jar;C:\sun-jdk-141-
02\jre\lib\ext\sunjce_provider.jar;C:\Eclipse-
21\eclipse\workspace\test\bin;C:\Eclipse-
21\eclipse\plugins\org.aspectj.ajde_1.1.2\aspectjrt.jar;
22:24:17 build: Kind=AUTOBUILD
22:24:17 build: AUTOBUILD requested but AUTOBUILD suppressed in workbench
preferences

Bye for now,
George


On Fri, 27 Jun 2003 16:44:53 +0000 (UTC), B.C. <bluecoder@elivefree.net>
wrote:

> Hi George,
> Thank you for your reply. Yes the jar was automaticallty put into the
> project directory but when I tried clicking on "billing.lst" and "select
> this build config" it said it could not find the jar so I imported it
> manually and the error went away.
> I have done what you said "Remove AspectJ Nature" then "Convert to
> AspectJ Project", but I still get the same error. In the main class in
> "Run..." I do not get any return results but the build did not return an
> error either and nothing in the .log file. What should I do to build it
> correctly ? Thank you for your help so far
>
> B.
>
> George Harley wrote:
>
>> Hi Brian,
>
>> From your note it doesn't appear that you are doing anything wrong. The
>> steps all work for me in my Eclipse 2.1 environment using the latest
>> AJDT. A couple of points need clarification though :-
>
>> (a) When you created your new "test" AspectJ project in Eclipse you
>> should have automatically got the aspectjrt.jar (I assume you didn't
>> mean aspectjdt.jar) imported for you. It should reside at the location
>> <your eclipse dir>\plugins\org.aspectj.ajde_<ajdt version>. You should
>> not have had to do a manual import. Right click on your project in the
>> package explorer and select "Remove AspectJ Nature" then immediately
>> right click on it again and select "Convert to AspectJ Project" just to
>> be certain.
>
>> (b) When you supplied the name of the main class did you type it in the
>> "Main class:" field or did you search for it using the "Search..."
>> button on the right of that field ? If you did a search for it you
>> should have been presented with three potential main classes
>> (BasicSimulation, BilingSimulation and TimimgSimulation). If you didn't
>> see these then your project building step may not have worked.
>
>> Good luck !
>
>> On Thu, 26 Jun 2003 17:48:17 +0000 (UTC), Brian. C.
>> <bluecoder@elivefree.net> wrote:
>
>> > Hi,
>> > I have installed the aspectJ plugin for Eclipse 2.1. I have verified
>> the
>> > install and followed the post-install instructions. I have imported
>> the
>> > examlpe telelcom and included the external jar "aspectjdt.jar".
>> > My steps were: - created an aspectJ project named "test", - and inside
>> > this I created a package called "telecom"
>> > - inside "telecom", I imported all the files that came with aspectJ
>> > - then I choose "ReBuild Project" from Project menu
>> > - then I choose "Run..." from Run menu
>> > - I filled in "test" for project
>> > - and filled in "telecom.BillingSimulation" for Class and choose run
>> > But I get the following error:
>> >
>> > "Exception in thread main java.lang.NoClassDefFoundError:
>> > telecom/BillingSimulation"
>> >
>> > I would like to know what I am doing wrong ? as this works from the
>> > command line. Thank-you
>> >
>> > B.C.
>> >
>> >
>
>
>> -- George
>
>
>
>



--
George
AJDT Development
Re: Newbie Eclipse AJDT Install Question [message #24135 is a reply to message #24115] Sun, 29 June 2003 21:38 Go to previous message
George Harley is currently offline George HarleyFriend
Messages: 70
Registered: July 2009
Member
Brian,

One more thing. According to the Resource Perspective are you actually
seeing .class files being created under your project home when you try and
do a build ? I would imagine not (hence the absence of any main classes
when you try and run the application) but just thought I should ask.

Bye for now,
George

On Fri, 27 Jun 2003 16:44:53 +0000 (UTC), B.C. <bluecoder@elivefree.net>
wrote:

> Hi George,
> Thank you for your reply. Yes the jar was automaticallty put into the
> project directory but when I tried clicking on "billing.lst" and "select
> this build config" it said it could not find the jar so I imported it
> manually and the error went away.
> I have done what you said "Remove AspectJ Nature" then "Convert to
> AspectJ Project", but I still get the same error. In the main class in
> "Run..." I do not get any return results but the build did not return an
> error either and nothing in the .log file. What should I do to build it
> correctly ? Thank you for your help so far
>
> B.
>
> George Harley wrote:
>
>> Hi Brian,
>
>> From your note it doesn't appear that you are doing anything wrong. The
>> steps all work for me in my Eclipse 2.1 environment using the latest
>> AJDT. A couple of points need clarification though :-
>
>> (a) When you created your new "test" AspectJ project in Eclipse you
>> should have automatically got the aspectjrt.jar (I assume you didn't
>> mean aspectjdt.jar) imported for you. It should reside at the location
>> <your eclipse dir>\plugins\org.aspectj.ajde_<ajdt version>. You should
>> not have had to do a manual import. Right click on your project in the
>> package explorer and select "Remove AspectJ Nature" then immediately
>> right click on it again and select "Convert to AspectJ Project" just to
>> be certain.
>
>> (b) When you supplied the name of the main class did you type it in the
>> "Main class:" field or did you search for it using the "Search..."
>> button on the right of that field ? If you did a search for it you
>> should have been presented with three potential main classes
>> (BasicSimulation, BilingSimulation and TimimgSimulation). If you didn't
>> see these then your project building step may not have worked.
>
>> Good luck !
>
>> On Thu, 26 Jun 2003 17:48:17 +0000 (UTC), Brian. C.
>> <bluecoder@elivefree.net> wrote:
>
>> > Hi,
>> > I have installed the aspectJ plugin for Eclipse 2.1. I have verified
>> the
>> > install and followed the post-install instructions. I have imported
>> the
>> > examlpe telelcom and included the external jar "aspectjdt.jar".
>> > My steps were: - created an aspectJ project named "test", - and inside
>> > this I created a package called "telecom"
>> > - inside "telecom", I imported all the files that came with aspectJ
>> > - then I choose "ReBuild Project" from Project menu
>> > - then I choose "Run..." from Run menu
>> > - I filled in "test" for project
>> > - and filled in "telecom.BillingSimulation" for Class and choose run
>> > But I get the following error:
>> >
>> > "Exception in thread main java.lang.NoClassDefFoundError:
>> > telecom/BillingSimulation"
>> >
>> > I would like to know what I am doing wrong ? as this works from the
>> > command line. Thank-you
>> >
>> > B.C.
>> >
>> >
>
>
>> -- George
>
>
>
>



--
George
AJDT Development
Re: Newbie Eclipse AJDT Install Question [message #569275 is a reply to message #24105] Fri, 27 June 2003 15:03 Go to previous message
George Harley is currently offline George HarleyFriend
Messages: 70
Registered: July 2009
Member
Hi Brian,

From your note it doesn't appear that you are doing anything wrong. The
steps all work for me in my Eclipse 2.1 environment using the latest AJDT.
A couple of points need clarification though :-

(a) When you created your new "test" AspectJ project in Eclipse you should
have automatically got the aspectjrt.jar (I assume you didn't mean
aspectjdt.jar) imported for you. It should reside at the location <your
eclipse dir>\plugins\org.aspectj.ajde_<ajdt version>. You should not have
had to do a manual import. Right click on your project in the package
explorer and select "Remove AspectJ Nature" then immediately right click on
it again and select "Convert to AspectJ Project" just to be certain.

(b) When you supplied the name of the main class did you type it in the
"Main class:" field or did you search for it using the "Search..." button
on the right of that field ? If you did a search for it you should have
been presented with three potential main classes (BasicSimulation,
BilingSimulation and TimimgSimulation). If you didn't see these then your
project building step may not have worked.

Good luck !

On Thu, 26 Jun 2003 17:48:17 +0000 (UTC), Brian. C.
<bluecoder@elivefree.net> wrote:

> Hi,
> I have installed the aspectJ plugin for Eclipse 2.1. I have verified the
> install and followed the post-install instructions. I have imported the
> examlpe telelcom and included the external jar "aspectjdt.jar".
> My steps were: - created an aspectJ project named "test", - and inside
> this I created a package called "telecom"
> - inside "telecom", I imported all the files that came with aspectJ
> - then I choose "ReBuild Project" from Project menu
> - then I choose "Run..." from Run menu
> - I filled in "test" for project
> - and filled in "telecom.BillingSimulation" for Class and choose run
> But I get the following error:
>
> "Exception in thread main java.lang.NoClassDefFoundError:
> telecom/BillingSimulation"
>
> I would like to know what I am doing wrong ? as this works from the
> command line. Thank-you
>
> B.C.
>
>


--
George
Re: Newbie Eclipse AJDT Install Question [message #569302 is a reply to message #24110] Fri, 27 June 2003 16:44 Go to previous message
Eclipse UserFriend
Originally posted by: bluecoder.elivefree.net

Hi George,
Thank you for your reply. Yes the jar was automaticallty put into the
project directory but when I tried clicking on "billing.lst" and "select
this build config" it said it could not find the jar so I imported it
manually and the error went away.
I have done what you said "Remove AspectJ Nature" then "Convert to
AspectJ Project", but I still get the same error. In the main class in
"Run..." I do not get any return results but the build did not return an
error either and nothing in the .log file. What should I do to build it
correctly ? Thank you for your help so far

B.

George Harley wrote:

> Hi Brian,

> From your note it doesn't appear that you are doing anything wrong. The
> steps all work for me in my Eclipse 2.1 environment using the latest AJDT.
> A couple of points need clarification though :-

> (a) When you created your new "test" AspectJ project in Eclipse you should
> have automatically got the aspectjrt.jar (I assume you didn't mean
> aspectjdt.jar) imported for you. It should reside at the location <your
> eclipse dir>\plugins\org.aspectj.ajde_<ajdt version>. You should not have
> had to do a manual import. Right click on your project in the package
> explorer and select "Remove AspectJ Nature" then immediately right click on
> it again and select "Convert to AspectJ Project" just to be certain.

> (b) When you supplied the name of the main class did you type it in the
> "Main class:" field or did you search for it using the "Search..." button
> on the right of that field ? If you did a search for it you should have
> been presented with three potential main classes (BasicSimulation,
> BilingSimulation and TimimgSimulation). If you didn't see these then your
> project building step may not have worked.

> Good luck !

> On Thu, 26 Jun 2003 17:48:17 +0000 (UTC), Brian. C.
> <bluecoder@elivefree.net> wrote:

> > Hi,
> > I have installed the aspectJ plugin for Eclipse 2.1. I have verified the
> > install and followed the post-install instructions. I have imported the
> > examlpe telelcom and included the external jar "aspectjdt.jar".
> > My steps were: - created an aspectJ project named "test", - and inside
> > this I created a package called "telecom"
> > - inside "telecom", I imported all the files that came with aspectJ
> > - then I choose "ReBuild Project" from Project menu
> > - then I choose "Run..." from Run menu
> > - I filled in "test" for project
> > - and filled in "telecom.BillingSimulation" for Class and choose run
> > But I get the following error:
> >
> > "Exception in thread main java.lang.NoClassDefFoundError:
> > telecom/BillingSimulation"
> >
> > I would like to know what I am doing wrong ? as this works from the
> > command line. Thank-you
> >
> > B.C.
> >
> >


> --
> George
Re: Newbie Eclipse AJDT Install Question [message #569329 is a reply to message #24115] Sun, 29 June 2003 21:29 Go to previous message
George Harley is currently offline George HarleyFriend
Messages: 70
Registered: July 2009
Member
Hi,

OK, this sounds bad. Could you let me know the following please :-

(a) the version of AJDT plugin (1.1.2 or 1.1.3 or ?)
(b) level of Java
(c) operating system
(d) What do you see in the AJDT event trace when you open your project, run
a build etc ? Do you see any errors or warnings ? The AJDT event trace can
be displayed by carrying out the following steps with your project open in
the Java Perspective ... Window ->Show View->Other...->expand AspectJ
folder->AJDT Event Trace.

For example, here is what I see in my trace when I do a successful build
using billing.lst :-

22:24:16 Configuration file C:\Eclipse-
21\eclipse\workspace\test\src\telecom\billing.lst selected for test
22:24:16 build: Kind=FULLBUILD
22:24:16 Building test with config C:\Eclipse-
21\eclipse\workspace\test\src\telecom\billing.lst.
CLASSPATH=C:\sun-jdk-141-02\jre\lib\rt.jar;C:\sun-jdk-141-
02\jre\lib\sunrsasign.jar;C:\sun-jdk-141-02\jre\lib\jsse.jar ;C:\sun-jdk-
141-02\jre\lib\jce.jar;C:\sun-jdk-141-02\jre\lib\charsets.ja r;C:\sun-jdk-
141-02\jre\lib\ext\dnsns.jar;C:\sun-jdk-141-
02\jre\lib\ext\ldapsec.jar;C:\sun-jdk-141-
02\jre\lib\ext\localedata.jar;C:\sun-jdk-141-
02\jre\lib\ext\sunjce_provider.jar;C:\Eclipse-
21\eclipse\workspace\test\bin;C:\Eclipse-
21\eclipse\plugins\org.aspectj.ajde_1.1.2\aspectjrt.jar;
22:24:17 build: Kind=AUTOBUILD
22:24:17 build: AUTOBUILD requested but AUTOBUILD suppressed in workbench
preferences

Bye for now,
George


On Fri, 27 Jun 2003 16:44:53 +0000 (UTC), B.C. <bluecoder@elivefree.net>
wrote:

> Hi George,
> Thank you for your reply. Yes the jar was automaticallty put into the
> project directory but when I tried clicking on "billing.lst" and "select
> this build config" it said it could not find the jar so I imported it
> manually and the error went away.
> I have done what you said "Remove AspectJ Nature" then "Convert to
> AspectJ Project", but I still get the same error. In the main class in
> "Run..." I do not get any return results but the build did not return an
> error either and nothing in the .log file. What should I do to build it
> correctly ? Thank you for your help so far
>
> B.
>
> George Harley wrote:
>
>> Hi Brian,
>
>> From your note it doesn't appear that you are doing anything wrong. The
>> steps all work for me in my Eclipse 2.1 environment using the latest
>> AJDT. A couple of points need clarification though :-
>
>> (a) When you created your new "test" AspectJ project in Eclipse you
>> should have automatically got the aspectjrt.jar (I assume you didn't
>> mean aspectjdt.jar) imported for you. It should reside at the location
>> <your eclipse dir>\plugins\org.aspectj.ajde_<ajdt version>. You should
>> not have had to do a manual import. Right click on your project in the
>> package explorer and select "Remove AspectJ Nature" then immediately
>> right click on it again and select "Convert to AspectJ Project" just to
>> be certain.
>
>> (b) When you supplied the name of the main class did you type it in the
>> "Main class:" field or did you search for it using the "Search..."
>> button on the right of that field ? If you did a search for it you
>> should have been presented with three potential main classes
>> (BasicSimulation, BilingSimulation and TimimgSimulation). If you didn't
>> see these then your project building step may not have worked.
>
>> Good luck !
>
>> On Thu, 26 Jun 2003 17:48:17 +0000 (UTC), Brian. C.
>> <bluecoder@elivefree.net> wrote:
>
>> > Hi,
>> > I have installed the aspectJ plugin for Eclipse 2.1. I have verified
>> the
>> > install and followed the post-install instructions. I have imported
>> the
>> > examlpe telelcom and included the external jar "aspectjdt.jar".
>> > My steps were: - created an aspectJ project named "test", - and inside
>> > this I created a package called "telecom"
>> > - inside "telecom", I imported all the files that came with aspectJ
>> > - then I choose "ReBuild Project" from Project menu
>> > - then I choose "Run..." from Run menu
>> > - I filled in "test" for project
>> > - and filled in "telecom.BillingSimulation" for Class and choose run
>> > But I get the following error:
>> >
>> > "Exception in thread main java.lang.NoClassDefFoundError:
>> > telecom/BillingSimulation"
>> >
>> > I would like to know what I am doing wrong ? as this works from the
>> > command line. Thank-you
>> >
>> > B.C.
>> >
>> >
>
>
>> -- George
>
>
>
>



--
George
AJDT Development
Re: Newbie Eclipse AJDT Install Question [message #569354 is a reply to message #24115] Sun, 29 June 2003 21:38 Go to previous message
George Harley is currently offline George HarleyFriend
Messages: 70
Registered: July 2009
Member
Brian,

One more thing. According to the Resource Perspective are you actually
seeing .class files being created under your project home when you try and
do a build ? I would imagine not (hence the absence of any main classes
when you try and run the application) but just thought I should ask.

Bye for now,
George

On Fri, 27 Jun 2003 16:44:53 +0000 (UTC), B.C. <bluecoder@elivefree.net>
wrote:

> Hi George,
> Thank you for your reply. Yes the jar was automaticallty put into the
> project directory but when I tried clicking on "billing.lst" and "select
> this build config" it said it could not find the jar so I imported it
> manually and the error went away.
> I have done what you said "Remove AspectJ Nature" then "Convert to
> AspectJ Project", but I still get the same error. In the main class in
> "Run..." I do not get any return results but the build did not return an
> error either and nothing in the .log file. What should I do to build it
> correctly ? Thank you for your help so far
>
> B.
>
> George Harley wrote:
>
>> Hi Brian,
>
>> From your note it doesn't appear that you are doing anything wrong. The
>> steps all work for me in my Eclipse 2.1 environment using the latest
>> AJDT. A couple of points need clarification though :-
>
>> (a) When you created your new "test" AspectJ project in Eclipse you
>> should have automatically got the aspectjrt.jar (I assume you didn't
>> mean aspectjdt.jar) imported for you. It should reside at the location
>> <your eclipse dir>\plugins\org.aspectj.ajde_<ajdt version>. You should
>> not have had to do a manual import. Right click on your project in the
>> package explorer and select "Remove AspectJ Nature" then immediately
>> right click on it again and select "Convert to AspectJ Project" just to
>> be certain.
>
>> (b) When you supplied the name of the main class did you type it in the
>> "Main class:" field or did you search for it using the "Search..."
>> button on the right of that field ? If you did a search for it you
>> should have been presented with three potential main classes
>> (BasicSimulation, BilingSimulation and TimimgSimulation). If you didn't
>> see these then your project building step may not have worked.
>
>> Good luck !
>
>> On Thu, 26 Jun 2003 17:48:17 +0000 (UTC), Brian. C.
>> <bluecoder@elivefree.net> wrote:
>
>> > Hi,
>> > I have installed the aspectJ plugin for Eclipse 2.1. I have verified
>> the
>> > install and followed the post-install instructions. I have imported
>> the
>> > examlpe telelcom and included the external jar "aspectjdt.jar".
>> > My steps were: - created an aspectJ project named "test", - and inside
>> > this I created a package called "telecom"
>> > - inside "telecom", I imported all the files that came with aspectJ
>> > - then I choose "ReBuild Project" from Project menu
>> > - then I choose "Run..." from Run menu
>> > - I filled in "test" for project
>> > - and filled in "telecom.BillingSimulation" for Class and choose run
>> > But I get the following error:
>> >
>> > "Exception in thread main java.lang.NoClassDefFoundError:
>> > telecom/BillingSimulation"
>> >
>> > I would like to know what I am doing wrong ? as this works from the
>> > command line. Thank-you
>> >
>> > B.C.
>> >
>> >
>
>
>> -- George
>
>
>
>



--
George
AJDT Development
Previous Topic:Newbie Eclipse AJDT Install Question
Next Topic:Newgroup problems: An update
Goto Forum:
  


Current Time: Wed Apr 24 23:07:24 GMT 2024

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

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

Back to the top