[jboss-dev-forums] [JBoss AS 7 Development] - Re: AS7-4857 correct JPA dependency injection (stop injecting javassist a… …nd let Hibernate include envers)

Tomaz Cerar do-not-reply at jboss.com
Sat Sep 1 18:52:37 EDT 2012


Tomaz Cerar [https://community.jboss.org/people/ctomc] created the discussion

"Re: AS7-4857 correct JPA dependency injection (stop injecting javassist a…  …nd let Hibernate include envers)"

To view the discussion, visit: https://community.jboss.org/message/757444#757444

--------------------------------------------------------------
Hi,

if you application needs javaassit then just include it yourself.

as for JPA and javaassit goes, it is bit more complex than just that.

jpa has dependancy to hibernate and hibernate has dependancy to javassist.

> jpa --> hibernate --> javassist

and given that your application uses jpa, there is no need to directly include all transient depenencies.

if you application still needs javaassit but you do not explecitly use it anywhere it might be interesting case to looke more into detail.
Can you provide structure of your application (jar tf <name of ear>) and stacktrace you get. that will help find the couse of the issue.

--
tomaz
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/757444#757444]

Start a new discussion in JBoss AS 7 Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2225]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20120901/a0946d7f/attachment.html 


More information about the jboss-dev-forums mailing list