Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run this program in "Intellij idea" ,There will be problems : Cause: java.lang.IllegalStateException: Cannot enable lazy loading because Javassist is not available. Add Javassist to your classpath #16

Open
shiyudu-cloud opened this issue Dec 19, 2019 · 2 comments

Comments

@shiyudu-cloud
Copy link

No description provided.

@shiyudu-cloud shiyudu-cloud changed the title In Run this program in "Intellij idea" ,There will be problems : Cause: java.lang.IllegalStateException: Cannot enable lazy loading because Javassist is not available. Add Javassist to your classpath Dec 19, 2019
@shiyudu-cloud
Copy link
Author

Try adding the following dependencies to your test module's pom.xml.

ognl ognl 3.2.10 org.javassist javassist 3.24.1-GA

and wen need install “maven plugin” in idea

@Ran968777
Copy link

I meet the problem same as you,I changed the scope to compile for this jar in pom.xml.
The problem is solved!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants