Hi Jürgen,
OK, it's hibernate-validator.
This issue is similar to issue 396, in which hibernate validator
calls all JPA persistence providers even if JPA is not used
anywhere:
https://code.google.com/p/javamelody/issues/detail?id=396
And a JPA persistence provider is declared in javamelody since
1.50.0. To load the class of that persistence provider, Tomcat
needs to load the javax.persistence.spi.PersistenceProvider class,
with the same classloader.
Probably, the solution is either:
- move javamelody jar files to WEB-INF/lib of your webapp, as
recommended by the javamelody user guide,
- or copy the jar file of the JPA api to tomcat/lib. For example,
copy the WEB-INF/lib/hibernate-jpa-2.0-api-1.0.0.Final.jar file of
your webapp to tomcat/lib. Note that tomcat/lib is not recommended
and not as well supported by javamelody.
bye,
Emeric