vladmihalcea / hypersistence-optimizer

Hypersistence Optimizer allows you to get the most out of JPA and Hibernate. By scanning your application configuration and mappings, Hypersistence Optimizer can tell you what changes you need to do to speed up your data access layer.
https://vladmihalcea.com/hypersistence-optimizer/
Apache License 2.0
306 stars 43 forks source link

No Hibernate version could be detected! #197

Closed teger closed 1 year ago

teger commented 1 year ago

Hello,

I have a problem with Hypersistence-optimizer in my application. At startup, in wildfly, i have this message :

But i use Hibernate 5.6.14. The hibernate jars are in the WEB-INF-lib into my jars !

In class HibernateVersion, you called the ReflectionUtils class to find hibernate jars ! But this class don't find nothing.

What can i do to solve this problem please ?

I use hypersistence-optimizer-2.6.3.jar and JPA 2.2.

Thanks for your help.

vladmihalcea commented 1 year ago

That's very unusual. Could you provide a replicating environment I could debug?

If you could share a GitHub repository which contains your setup, it would help me find the problem.

vladmihalcea commented 1 year ago

@teger I'm closing this issue as no replicating example was provided. I'll reopen it once I have an example that can be debugged to see the problem.