[ https://issues.apache.org/jira/browse/GROOVY-6703?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pascal Schumacher resolved GROOVY-6703. --------------------------------------- Resolution: Duplicate I'm resolving this as a duplicate of [GROOVY-7105], which will be fixed with Groovy 2.4.6. Please reopen if this is still an issue with Groovy 2.4.6. Thanks! > Strange problems with EhCache from Groovy > ----------------------------------------- > > Key: GROOVY-6703 > URL: https://issues.apache.org/jira/browse/GROOVY-6703 > Project: Groovy > Issue Type: Bug > Affects Versions: 2.2.2 > Environment: Groovy Version: 2.2.2 JVM: 1.7.0_51 Vendor: Oracle > Corporation OS: Windows 8, Ehcache 2.8.1 > Reporter: Andrew P Fink > Attachments: groovy_ehcache_bug2.zip > > > 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) -- This message was sent by Atlassian JIRA (v6.3.4#6332)