Results 1 to 2 of 2

Thread: spring-javaconfig not compatible with spring-beans 3.0.0.RC1

  1. #1
    Join Date
    Jan 2007
    Posts
    1

    Question spring-javaconfig not compatible with spring-beans 3.0.0.RC1

    Hi,

    spring-javaconfig is not compatible with spring 3.0.0.RC1. The interfaces org.springframework.config.java.annotation.Configu ration uses the enumeration value org.springframework.beans.factory.annotation.Autow ire.INHERITED which is not part of 3.0.0.RC1.

    Does anybody know why Autowire.INHERITED has been removed? What can I do to circumvent this issue. Currently I get compile errors like this:

    Code:
    error: in class file org\springframework\config\java\annotation\Bean.class(org\springframework\config\java\annotation:Bean.class): unknown enum constant org.springframework.beans.factory.annotation.Autowire.INHERITED
    error: in class file org\springframework\config\java\annotation\Configuration.class(org\springframework\config\java\annotation:Configuration.class): unknown enum constant org.springframework.beans.factory.annotation.Autowire.INHERITED
    Thanks,
    Klaus

  2. #2
    Join Date
    Jun 2006
    Location
    The Netherlands
    Posts
    13,625

    Default

    Javaconfig is part of spring 3. So you wouldn't need to mix both...
    Marten Deinum
    Java Consultant / Pragmatist / Open Source Enthousiast / Author


    Pro Spring MVC: With Web Flow
    Conspect

    Have you read the reference guide.
    Use the [ code ] tags, young padawan

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
  •