Page 3 of 3 FirstFirst 123
Results 21 to 25 of 25

Thread: Which ANTLR to use with 3.0 M1?

  1. #21
    Join Date
    Jun 2009
    Posts
    14

    Default

    I'm using Spring framework 2.5, spring security 2.0.4 and Hibernate 3. After reading this post, I downloaded and added the antlr-3.0.1.jar to my classpath (I tried with antlr 2.7.5 as well), but unfortunately when I try to compile my webapp the following error appear in catalina log:

    java.lang.NoSuchFieldError: ruleMemo

    I got lost with your configurations.. any suggestion with this configuration???
    Many thanks!

  2. #22
    Join Date
    Jun 2009
    Posts
    24

    Default

    I am using spring-framework-3.0.0.M3 and trying to make this work with antlrworks-1.2.3.jar , antlr-runtime-3.1.3.jar but still get the error


    Exception in thread "main" java.lang.NoSuchFieldError: ruleMemo
    at org.springframework.expression.spel.generated.Spri ngExpressionsParser.<init>(SpringExpressionsParser .java:94)

  3. #23
    Join Date
    May 2009
    Location
    Vancouver
    Posts
    274

    Default

    The dependency on Antlr has been removed, but you need something more recent that 3.0.0M3. The expression support now uses its own parser with no antlr requirement. If you grab a recent 3.0.0RC snapshot you will not have this problem.

    Andy Clement
    Senior Software Engineer
    SpringSource

  4. #24
    Join Date
    Jun 2009
    Posts
    24

    Default

    I could not find RC release. If I go in there I still see M3.
    http://www.springsource.com/download/community?project=
    With RC do you mean nightly build ? Can you please provide the link ?

  5. #25
    Join Date
    Aug 2009
    Posts
    1

    Default

    For anyone looking for it the source can be found here: https://src.springframework.org/svn/spring-framework/


    Quote Originally Posted by vinay076 View Post
    I could not find RC release. If I go in there I still see M3.
    http://www.springsource.com/download/community?project=
    With RC do you mean nightly build ? Can you please provide the link ?

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •