[0] Preparation.
- git
- java jdk 11(set JAVA_HOME path e.g. C:\Program Files\Java\jdk-11)
- maven
- curl
- IntelliJ IDE(optional)
- DBeaver(optional)
[1] Clone project
[2] Compile Maven project
Note: you may get error like "Blocked mirror for repositories". This is due to the use of unsecured http. Open pom.xml file and replace "http://" with "https://"
[3] Run migration (h2 database)
Note: you may get error like "Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException". This is due to the JAXB APIs considered to be Java EE APIs and therefore are no longer contained on the default classpath in Java SE 9. In Java 11, they are completely removed from the JDK.
Add the following codes to the dependency section of pom.xml file
No comments:
Post a Comment