Category "java"

Trying to resolve Java issue when running Tabulizer in R

I am trying to extract tables from pdfs in R using tabulizer, and keep getting this error when I use extract_tables. Error in .jcall("RJavaTools", "Ljava/lang/O

Need to set up diiferent java versions to run both android studio and bamboo

On the server I have 2 versions of java, 8 and 11. 11 is the default, it is needed for android studio to work. To run the bamboo agent, I need 8. How to choose

Klockwork Error with dependency (SqliteAgent)

Good afternoon, I am trying to add the klockwork plugin in QNX (eclipse based) which is using Java 1.6 version (It is needed this version). I have Klockwork ver

Wildfly org.jboss.nio -> FileNotFoundException: Invalid file path with Windows Java JDK 11.0.15+10

Since the update to Eclipse Tamurin JDK 11.0.15+10 we notice a problem as soon a HTTP request reaches Wildfly 20.0.1.Final. The same behaviour exsists in Wildfl

Apache Tika: Convert Apache Tika server REST endpoints(Jax-Rs) http to https

We use Apache Tika to extract data from files(multiple formats). We call Tika server Rest endpoints internally from the .Net code to do the data extraction proc

Common object in two objects java

I am implementing one api and I have the following request bodies for 2 different endpoints: endpoint1: { "requests": [ { "id": "123" } ] }

AWS recognition SDK causes the gradle to not build in Android Studio

I tried manually adding the "aws-java-sdk-1.12.199.jar" to the library and added the line "implementation files('libs\aws-java-sdk-1.12.199.jar')" into the grad

JavaFX wait for all listeners to finish

I created a method that accepts a CheckListView (controlsFX), an item List, a TextField searchField and a BiPredicate. This functions allows for filtering the i

How to Close Statements and Connection in This Method

How to Close Statements and Connection in This Method public static ResultSet getData (String query){ try { Connection con = ConnectionPro

Spring boot mongodb QuerydslPredicateExecutor ClassNotFoundException: com.querydsl.mongodb.document.MongodbDocumentSerializer

I'm trying to use QuerydslPredicateExecutor. Here is my repository interface: public interface ProductsRepository extends MongoRepository<Product, String

Android: Check if my app is allowed to run background activities

I have an app that runs a stopwatch service, and I run the service in the foreground. I have a notification showing the timer, that updates each second. The not

How do I randomly output string to multiple labels from array without repeats

I am trying to make a basketball playoff simulator. I have an array for east conference teams and west conference teams. I want to randomly output the team name

How to solve this leetcode problem of phone number pattern

package Code; import java.util.*; public class PhoneNumber { public static void main(String[] args) { int[] digits = { 2, 3 }; // int n = n

Spring Boot gradle build - invalid source release: 11

I am trying to build my spring boot project with this command: ./gradlew build But it continuously throws this error: 'Execution failed for task ':compileJava'

How can send custom error message after git push from local git server by using jgit api

I have been making a local git server by using jgit . Following is my code repository for local git server. https://github.com/masumcse1/mygitserver https://git

How to generalize the implementation the .thenby of excel in Java 8?

I have the following service class: public class SheetSorter { // sorts the sheet public static Sheet sortSheet(Sheet sheet) { List<String[]

Flink Job submission throws java.nio.file.NoSuchFileException while the file actually exists

I tried to submit a flink job that is already packaged in a JAR. Basically it consumes a kafka topic protected by SASL authentication, thus it requires a .jks f

Android UI broken when run

I am facing very strange problem, though I am beginner level on Android. after designed my layout file, when i run this android project by using physical device

MappingSqlQuery pass parameter

String sql = select * from APPLICATION_LABELS where DATE_MODIFIED > '"+ new SimpleDateFormat("dd-MMM-yy").format(lastUpdate) +"'"); MappingSqlQuery&

Springboot 2.6.7 mongodb dependency not working on @SpringBootTest

I've recently upgraded my springboot dependencies from version 2.5.4 to 2.6.7 here my gradle file v2.5.4 plugins { id 'org.springframework.boot' version '2.5.4