Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-6703

Strange problems with EhCache from Groovy

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 2.2.2
    • None
    • None
    • None
    • Groovy Version: 2.2.2 JVM: 1.7.0_51 Vendor: Oracle Corporation OS: Windows 8, Ehcache 2.8.1

    Description

      This code works fine in Java ("test" is a simple cache defined in ehcache.xml)

      net.sf.ehcache.CacheManager.getInstance().getCache("test").getSize()

      but in Groovy:

      Caught: java.lang.NoClassDefFoundError: javax/transaction/TransactionManager
      java.lang.NoClassDefFoundError: javax/transaction/TransactionManager
      at test.run(test.groovy:1)

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rybin.andrey@gmail.com Andrew P Fink
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: