I am new to learning Docker, and followed a tutorial to make a small Hello World application to dockerize. I used Intellij template to generate a main method, w
I made spring boot web app that works perfectly when I run it in Localhost, but when I exported it from IntelliJ to .war ( via Maven/package ) and upload it to
I am getting listView items duplicated after adding items and also when EDIT or DELETE menu item got selected, but when i re-open the app, items are not duplica
// Eine einfache grafische Benutzeroberfläche mit Swing //von der Zeile 3 bis zur Zeile 5; Impotieren von Bibliothek import java.awt.*; import
I have created a simple circuit breaker pattern using resilence4. The problem I am facing is, fallback method is getting called on 1st hit only. I am expecting
I have this old code implemented for Spring 2.4 public class Interceptor extends HandlerInterceptorAdapter { @Override public boolean preHandle(HttpServlet
After i import it stills remain error? Where should I download the the import? How to import? import java.util.Scanner; import java.util.*; import java.io.*; i
I have the following method in one of my repositories @Query(value = "select resource_id from tag where resource_type = :resourceType and value in :tags", nativ
I'm trying to write logs into different files for each Thread/ThreadGroup. My code is creating different files for each thread, but it writing all other threads
I'm trying to configure spring security with oauth2, however I am new to this topic and ran into a problem. I have a spring backend and an angular frontend. I u
I have an app that download specific pdf files using streamig Retrofit. I am upgrading my app targeting android 11. I have gone through many online documents an
This is my onMessageReceived method. I am getting data from notification i want to open fragment when i click on this notification and get the data from this.
I am working on a JSP app and I have successfully created an HttpServlet that allows user to download a file on the browser. I have tested it by calling the ser
I have a log4j.xml with a customized appender like: <appender name="console" class="com.example.MyAppender"> <layout class="org.apache.log4
How to make function selectRecords("select * from Seva_Details"); written in a JFrame accessible in another, separate JFrame? public void selectRecords(String S
I know Java 16/17/18 is not compatible with java 8 (android), but is-it a way to generate byte-code for android to execute the program on my phone? Or trans-cod
I am writing a Gradle project with Springfox-swagger-ui 3.0.0 to present nice swagger UI with Api documentation. compileOnly "io.springfox:springfox-swagger-ui:
In my project which need jdk 1.8, but there is default openjdk 17 in my mac. So I remove it from Library/Java/JavaVirtualMachines. But when I run java -version
I've been trying to create a simple register form using GUI and I am having a hard time in saving the user inputs from JTextfield to a txt file. So far this is
I know core Java, I want to learn Maven/Gradle. But I want to know why maven or gradle is required. is there any way to understand the problem