Announcement Announcement Module
Collapse
No announcement yet.
Where is the ActiveProfiles class ? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Where is the ActiveProfiles class ?

    Hi,

    Want to use Spring Profiles
    So, i need @ActiveProfiles annotation for my integration tests

    Desperatly looking for a jar containing :
    Code:
    org.springframework.test.context.ActiveProfiles
    findjar and jarfinder sites did not found this class...

    Where can i find it ?
    I mean in which jar(s) ? Which version of spring-test ?

    Thanks in advance

  • #2
    It's in spring-test since version 3.1

    You can download from http://www.springsource.org/download/community or get info about spring maven repositories in https://github.com/SpringSource/spri...ring-artifacts

    Comment


    • #3
      Thanks Chelu,

      I was facing a Maven problem concerning access to Maven Central, that's why i couldn't get last version of spring-test, :-(.
      And therefore, non ActiveProfiles class.
      Finally, i got through...

      Comment

      Working...
      X