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

Remove javassist dependency. #2

Closed
aadrian opened this issue Jun 17, 2010 · 3 comments
Closed

Remove javassist dependency. #2

aadrian opened this issue Jun 17, 2010 · 3 comments

Comments

@aadrian
Copy link

aadrian commented Jun 17, 2010

It looks like that starting from OGNL 2.7 a dependency on javassist was introduced.

Many projects still use OGNL 2.6.9 but won't upgrade to 2.7.x or 3.0 (because of this too).

Please remove this dependency if it's possible.

@lukaszlenart
Copy link
Collaborator

But the scope is "provided", so it isn't a problem

@aadrian
Copy link
Author

aadrian commented Jun 17, 2010

But the scope is "provided", so it isn't a problem

It looks like this is still a problem. Trying to use OGNL without javassist gives:
java.lang.IllegalArgumentException: Javassist library is missing in
classpath! Please add missed dependency!
at ognl.OgnlRuntime.(OgnlRuntime.java:165)
at ognl.ASTProperty.setValueBody(ASTProperty.java:127)
at ognl.SimpleNode.evaluateSetValueBody(SimpleNode.java:220)
at ognl.SimpleNode.setValue(SimpleNode.java:301)
at ognl.Ognl.setValue(Ognl.java:737)
.....

@lukaszlenart
Copy link
Collaborator

I think to put it back as OGNL fully depends on Javassist, I think it will be very hard to fully remove it now.

This issue was closed.
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