Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

SpringRoo Project to Eclipse

 
Mirrell Knabe
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Bill Gorder
Bartender
Posts: 1682
7
Android IntelliJ IDE Linux Mac OS X Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Mirrell Knabe
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic