Springboot3 comes with it own jakarta jar dependency. Hibernate 5 not compatible with it, As it brings javax jar. So please upgrade your Sprinboot version and remove hibernate dependency. Your application will work perfectly and querydsl dependency also get the work around.