Recent study jpa, imitates video using jpa API calls hibernate to operate the database, but there have been some problems:
Java package javax.mail. Persistence does not exist, but do have the package, see the local warehouse after baidu said need to add an ejb3 - personal bag, join after compilation can pass, but abnormal noSuchMethodError,
Said the JDK is 11 version, jar package version below, bosses, please help solve it!