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&...]