Posts
Adding Spring boot application as a dependency to another spring boot application
- Get link
- X
- Other Apps
The Spring Boot Maven and Gradle plugins both package our application as executable JARs – such a file can't be used in another project since class files are put into BOOT-INF/classes . This is not a bug, but a feature. In order to share classes with another project, the best approach to take is to create a separate jar containing shared classes , then make it a dependency of all modules that rely on them. But if that isn't possible, we can configure the plugin to generate a separate jar that can be used as a dependency. Suppose we have two projects 1- general_definitions_app 2- cutstomer_service_app we want to add "general_definitions_app" as a dependency to "cutstomer_service_app" Steps: 1- open general_definitions_app , then open the pom.xml file 2- serach for the plugin "spring-boot-maven-plugin" and modify it to be <build> <plugins> <plugin> ...
How to install JDK 14 on ubuntu 18
- Get link
- X
- Other Apps
wget https: //download.java.net/openjdk/jdk14/ri/openjdk-14+36_linux-x64_bin.tar.gz tar xvfz openjdk- 14 +36_linux-x64_bin.tar.gz mv ./jdk- 14 / /usr/lib/jvm/ update-alternatives --install "/usr/bin/javac" "javac" "/usr/lib/jvm/jdk-14/bin/javac" 1081 update-alternatives --install "/usr/bin/java" "java" "/usr/lib/jvm/jdk-14/bin/java" 1081 update-alternatives --set "javac" "/usr/lib/jvm/jdk-14/bin/javac" update-alternatives --set "java" "/usr/lib/jvm/jdk-14/bin/java" update-alternatives --config java
how to convert certificate file .cet to pkcs12
- Get link
- X
- Other Apps
openssl pkcs12 -export -out spring.p12 -inkey private.key -in certificate.crt -certfile ca_bundle.crt link https://docs.vmware.com/en/VMware-Horizon-7/7.13/horizon-scenarios-ssl-certificates/GUID-17AD1631-E6D6-4853-8D9B-8E481BE2CC68.html you can download certificate free from https://manage.sslforfree.com/certificate/install/409a048526dc1f9eadf04dfc46c672eb to disply the key alias name: keytool -list -v -keystore dhaman2023.pfx where dhaman2023.pfx is the keystore you generated before
How to fix google FCM error - error: "FIS_AUTH_ERROR"
- Get link
- X
- Other Apps