Git Product home page Git Product logo

Comments (3)

George1 avatar George1 commented on August 12, 2024

Hello. Do you still have this problem? I had similar one (ClassDefNotFoundError exception whenever transactional service was injected into some other artifact), so I looked at your app. It is obvious you have two asm JARs in the classpath (to see that, look at the report generated by "grails dependency-report" or simply package your application into a WAR, and look into WEB-INF/lib/ folder there).

I doubt the reason for having two JARs lies in the Spring Security UI plugin. The exception simply happens to occur when their service is being injected, but if you were to inject any other service (even your own), I believe the result would be the same. You should find what depends on asm-4.0.jar in your application by analyzing the aforementioned dependency report.

I've written an article about how to resolve the problem in my case, but your case should be fairly similar (once you found what depends on asm-4.0.jar as I said earlier).

from grails-spring-security-ui.

paulcitarella avatar paulcitarella commented on August 12, 2024

Hi. Thanks for following up. I did actually arrive at the same conclusion about the asm library conflict. Sorry I forgot to close this issue. The conflict was introduced by the cookie-session plugin and once I excluded it's asm dependency the issue was resolved.

from grails-spring-security-ui.

burtbeckwith avatar burtbeckwith commented on August 12, 2024

Fixed in 1.0-RC3 and 3.0.0.M1

from grails-spring-security-ui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.