Category "java"

Keycloak: how to delete and edit a Group

I already tried a bunch of different ways and none of them work. (First of all im using this, and works with other methods, like create/delete user, create grou

Running into an error after upgrading springboot from 2.3.9 to 2.6.3

After upgrading from springboot 2.3.9 to 2.6.6 I have a failing tests with the following error, java.lang.AssertionError: Expecting: <Unstarted application

Can I change a drop down item from a list in Jsoup and submit it?

I have a site I'm trying to scrape with Jsoup that has monthly and yearly selection boxes where the data changes when a different month or year is selected. Edi

Sending POST request with POSTMAN to Java REST API and getting null values in the xml response

I am creating a REST Service in Java and now I am building the post method which has 2 parameters that has to be inputted as xml in postman (for test) and get a

Reload WebView on Button Press? (Android Studio)

I have a WebView inside my Android Studio project that fills the whole screen, and when they get into the app without an internet connection I show an activity

Connect to SQL Server in Robot framework | Maven Dependency

I'm trying to connect to SQL server in robot framework, so I've added the following code in pom.xml file: <!-- https://mvnrepository.com/artifact/com.mic

UtteranceProgressListener not called

I'm trying to take some action after a TextToSpeech object in my Android app finishes speaking a sentence, but my UtteranceProgressListener.onDone() method is n

java.lang.ClassCastException: com.github.mikephil.charting.data.Entry cannot be cast to com.github.mikephil.charting.data.PieEntry

Accepting data from database and displaying it on Table Layout and using that data creating a piechart with MpAndroidChart Library but getting the error as sta

UtteranceProgressListener not called

I'm trying to take some action after a TextToSpeech object in my Android app finishes speaking a sentence, but my UtteranceProgressListener.onDone() method is n

selenium - java - finding broken links

import org.apache.http.client.methods.CloseableHttpResponse; import org.apache.http.client.methods.HttpGet; import org.apache.http.client.methods.HttpPost; im

Replacements for deprecated JPMS modules with Java EE APIs

Java 9 deprecated six modules that contain Java EE APIs and they are going to be removed soon: java.activation with javax.activation package java.corba with ja

Jlanguage does not implement the requested interface java.util.function.Supplier

CODE: Same code with out Microservice(Run as main class) giving correct output but after making it @service class(converting into microservice), it fails. I sti

oracle 11g forms (class not found exception oracle forms engine mine)

I was working on forms builder and I was able to run the form on internet explorer without any issues, but when I changed the internet connection I get this err

Appium is able to see beyond what is displayed on screen

Appium is able to see and find elements that is not displayed on screen I am trying to build a test automation project, I would like my driver to scroll down

Replacing an image using Apache POI is not working

I want to replace an existing image present in a slide of a PPT using Apache POI. But there is some difficulty to achieve this. Can anyone suggest how to approa

Get the extension from a MimeType

I want to get the extension from a MimeType. For example: video/mp4 ----> mp4 application/x-rar-compressed ----> rar text/plain

Call a Java method using MySQL triggers

I'm writing an application that retrieves data from a table in a MySQL database and displays it in a JTable. Whenever an insert/update/delete operation is made

Clear table and reset autoincrement primary key

I want to delete all from my table and reset autoincrement primary key. I do this : @Query("delete from sqlite_sequence where name='bin';") void delete(); @

How to merge multiple Maps having the same keys but different values into a single Map

I have n maps of the kind: HashMap<String,Double> map1; HashMap<String,Double> map2; ... What could I do to merge all these maps into a single map?

Spring SimpleJdbcCall and BeanPropertyRowMapper

To get data from database I'm using SimpleJdbcCall as it is convenient for stored procedures. Along with it I'm using BeanPropertyRowMapper as the no of fields