Trouble getting Hibernate Core and Hibernate Annotations using Apache Ivy (but it's also Maven2 related.)

女生的网名这么多〃 提交于 2019-11-30 11:45:27

I'd explicitly specify javassist in your project as a dependency and seee if that works.

As to why it's listed as optional, there are several reasons someone would do that, but in this case, it looks like the Hibernate team just hasn't decided on the actual dependency scope:

<!-- optional deps for bytecode providers until those are finally properly scoped -->

I had to add ,optional to my Ivy.xml to also get the optional configuration, which was necessary for all dependencies to be retrieved and for the project run correctly.

dependency org="org.hibernate" name="hibernate-core" rev="3.3.1.GA" conf="runtime->runtime,optional"/>
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!