Please let me know how I can specify the JDK location inside the POM.xml without setting JAVA_HOME to java 1. I tried to provide the JDK path to the compiler and version in the POM.xml but I get error Unsupported major minor issue like this : **.(DefaultMavenPluginManager.java:494)Īt .DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:119)Ĭaused by: : org/apache/maven/plugins/clean/CleanMojo : Unsupported major.minor version 51.0Īt 1(Native Method)Īt (ClassLoader.java:631)Īt (ClassLoader.java:615)Īt (SecureClassLoader.java:141)Īt (URLClassLoader.java:283)**Ĭ:\software\tools\Java\jdk1.8.0_121\bin\javaĬ:\software\tools\Java\jdk1.8.0_121\bin\javac The following command will compile all your java classes with java version 1.8 because by default your code compiled by the latest version which you have. Documentation Documentation for Hibernate ORM 5.1 can be accessed through the links below: HTML API (JavaDoc) You can find more documentation for all series on the documentation page. Using different Java versions for the main and test Maven folders for Hibernate 6. I need to specify Java location in POM.xml of Spring boot Application. Compatibility Not compatible with your requirements Have a look at the other series. Note: There is a new version for this artifact. Note: This artifact was moved to: hibernate-core 6.0.0.Final. Problem is that I cannot change the JAVA_HOME from 1.6 to 1.8. 111 in MvnRepository ( See Top Artifacts) 1 in Object/Relational Mapping. All the other modules run on java version 1.6 but I need to run the Spring boot module with java 1.8. version: '1.3.7' compile('org.projectlombok:lombok:1.18.6') testCompile group: 'junit'. Hi I have a Multi module project in which I need to add a new Module which is a SPRING BOOT application. Persistence Made Easy Using Java EE8, JPA and Spring Raj Malhotra.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |