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

Spring's @Transactional in intercept() causes ClassCastException #305

Closed
dfbadawi opened this issue Dec 8, 2010 · 3 comments
Closed

Spring's @Transactional in intercept() causes ClassCastException #305

dfbadawi opened this issue Dec 8, 2010 · 3 comments

Comments

@dfbadawi
Copy link

dfbadawi commented Dec 8, 2010

Full story here (in pt-br): http://www.guj.com.br/posts/list/0/224207.java

Basically, when annotate intercept() Interceptor's method with @transactional from Spring, results in ClassCastException.

@garcia-jj
Copy link
Member

can you attach (inline) the stack trace?

edit: sorry, I see in guj topic.

@dfbadawi
Copy link
Author

dfbadawi commented Dec 9, 2010

hmmm...
I think theres no error..

I just attached (http://www.guj.com.br/posts/list/15/224207.java#1163173) a small project to simulate the error.

but, this time, everything works!
The only change I had made is download depencencies libs manually, rather then using Maven.

maybe (when getting the error), my pom.xml was wrong...

@lucascs
Copy link
Member

lucascs commented Dec 14, 2010

fixing ClassCastException on spring proxies. Closed by 933fe8e

almeida pushed a commit to almeida/vraptor that referenced this issue Jul 31, 2011
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

3 participants