docker run --name mysql47 -e MYSQL_ROOT_PASSWORD=root -p 3333:3306 -d mysqlmysql -h 127.0.0.1 -P 3333 -u root -p| <NotepadPlus> | |
| <UserLang name="Log4J" ext="log" udlVersion="2.1"> | |
| <Settings> | |
| <Global caseIgnored="no" allowFoldOfComments="no" foldCompact="no" forcePureLC="0" decimalSeparator="2" /> | |
| <Prefix Keywords1="no" Keywords2="no" Keywords3="no" Keywords4="no" Keywords5="no" Keywords6="no" Keywords7="no" Keywords8="no" /> | |
| </Settings> | |
| <KeywordLists> | |
| <Keywords name="Comments">00 01 02 03 04</Keywords> | |
| <Keywords name="Numbers, prefix1"></Keywords> | |
| <Keywords name="Numbers, prefix2"></Keywords> |
| FROM adoptopenjdk/openjdk11:alpine-jre | |
| # Refer to Maven build -> finalName | |
| ARG JAR_FILE=target/HibernateSpringBootCalculatePropertyPostLoad-1.0.jar | |
| # cd /opt/app | |
| WORKDIR /opt/app | |
| # cp target/spring-boot-web.jar /opt/app/app.jar | |
| COPY ${JAR_FILE} app.jar |
Error thrown as :
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaAutoConfiguration.class]: Invocation of init method failed; nested exception is javax.persistence.PersistenceException: [PersistenceUnit: default] Unable to build Hibernate SessionFactory
<!-- https://mvnrepository.com/artifact/javax.xml.bind/jaxb-api -->