File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Spring and the fly likes SpringRoo  Project  to Eclipse Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "SpringRoo  Project  to Eclipse" Watch "SpringRoo  Project  to Eclipse" New topic
Author

SpringRoo Project to Eclipse

Mirrell Knabe
Ranch Hand

Joined: Oct 13, 2008
Posts: 32
Hi All -

Wasn't sure what forum would be the best for this question.....I built a simple spring app using SpringRoo, imported it into Eclipse and am getting, Syntax Error on Token, Class Header expected on all Aspect J files.....
the errors start with the "privileged aspect" statement and run throughout...this code was auto-genned using SpringRoo (no manual intervention)....I did make sure that I had the Aspect J and Maven plugins for Eclipse,
but to no avail....please help!

Thanks!
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17250
    
    6

And you have the AspectJ Tooling enabled?

And your project has the Spring project nature?

Right click on your project and go to Spring Tools for enabling this stuff.

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
Bill Gorder
Bartender

Joined: Mar 07, 2010
Posts: 1649
    
    7

I recommend you use Spring Source Tool Suite if you are using Eclipse. All of this is built in and already configured or easy to configure. They also have lots of documentation to help you if you are stuck.

STS Home page


[How To Ask Questions][Read before you PM me]
Mirrell Knabe
Ranch Hand

Joined: Oct 13, 2008
Posts: 32
Mark -

I definitely have the Spring Project Nature enabled....how can I determine if the AspectJ Tool in Enabled? Not sure about that....

Bill -

I did see the STS and was considering...

I will probably ultimately use STS, BUT I would like to see if I really do not have Aspect J enabled, so just wait to see what Mark says....

Thanks Alot Guys....
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17250
    
    6

Mirrell Knabe wrote:Mark -

I definitely have the Spring Project Nature enabled....how can I determine if the AspectJ Tool in Enabled? Not sure about that....

Bill -

I did see the STS and was considering...

I will probably ultimately use STS, BUT I would like to see if I really do not have Aspect J enabled, so just wait to see what Mark says....

Thanks Alot Guys....


It is either in the Spring Tools menu option or it might be in the AspectJ Menu option. right click your project and look near the bottom of the popup menu for these items. It is a submenu of the popup.

Mark
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: SpringRoo Project to Eclipse