Announcement Announcement Module
No announcement yet.
"lexical error" and "token recognition error at: '?'" Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • "lexical error" and "token recognition error at: '?'"

    Suddenly a very small starter project, created in Roo 1.2.3 give a "lexical error" referring to the UTF-8 entity for "" on "Line 21" after ":". Roo doesn't tell which file the error occurred in. Same error inside STS 3.2.0 as in the Terminal of OS X (Snow Leopard). I searched for "" in the whole project and could't find it and also opened possible files and checked chars on and around line 21. No difference.

    I then realized I hadn't updated to the latest release, so I installed Roo 1.2.4, which updated my Roo version in pom.xml and I also updated all relevant dependencies. Now I have 2 different situations:

    If I open the project with this issue in Roo 1.2.4 in the Terminal I get the error "token recognition error at: '?'" with a whole bunch of errors referring to the specific lines 21 and 27 somewhere.

    If I instead open Roo 1.2.4 for my project in STS 3.2.0 there is no error at all and Roo seem to function properly.

    Anyone else have seen this error before?