For devlopment I am using Intellij IDE. I found “File and Code Templates” and “Live Templates” very useful, It is beneficial while doing day-to-day development. It saves some time and be more productive. github link: https://github.com/purab/IntelliJ-IDEA-File-Templates Mostly we work on Rest APIs. So I created the following File Templates Spring ControllerSpring EntitySpring RepositorySpring ServiceSpring Static …
Tag Archives: springboot
SSL certificate integration in Spring boot Project
SSL certificate integration SSL certificate setting applied in application.properties file To generate self signed SSL certificate use following command: cd src/main/resources keytool -genkeypair -alias local_ssl -keyalg RSA -keysize 2048 -storetype PKCS12 -keystore local-ssl.p12 -validity 365 -ext san=dns:localhost Put following code into application.properties file spring.application.name=ssl-certificate server.port=8443 #server.port=8080 server.ssl.enabled: true server.ssl.key-alias: local_ssl server.ssl.key-store: classpath:local-ssl.p12 server.ssl.key-store-type: PKCS12 server.ssl.key-password: …
Continue reading “SSL certificate integration in Spring boot Project”
java error invalid source release 15 in intellij Idea Solved error
While the spring boot project was running project in IntelliJ idea I got the following error: language level is invalid or missing in pom.xml. current project jdk is 15 and this also; java error invalid source release 15 This issue will occur when you have two or more java versions installed in machine. I did …
Continue reading “java error invalid source release 15 in intellij Idea Solved error”