A more detailed explanation of how to work around this issue: https://discourse.hibernate.org/t/cannot-find-the-second-analyzer-when-using/1043/4?u=yoann