Questions tagged [java]

Java is a high-level object oriented programming language. Use this tag when you're having problems using or understanding the language itself. This tag is frequently used alongside other tags for libraries and/or frameworks used by Java developers.

1,853,383 questions
0votes
0answers
2views

Minio container for Testcontainers signature matching exception

I have spring project with minio s3 running in docker container When I run my app locally everything works OK, files successfully uploading and downloading. But when Im trying to test this logic via ...
0votes
0answers
2views

Write Query Parser Solr Custom Plugin for Solr version 8

Using Standalone mode for Solr8 I want to write a custom solr plugin so that I can parse the request parameters and I could take some decision based on the request params, keys and values. Any help ...
0votes
0answers
4views

Externalizing truststore for AWS Batch

Need help. Problem: We want to externalize the truststore for apps executed in AWS Batch ECS containers. Apps are written in Java technology. Constraints: We have a requirement of zero trust policy ...
0votes
0answers
8views

RxJava Unit test Observable interval

I have a network polling function with Observable interval in my repository class repository @Inject constructor( private val api: api, private val schedulerProvider: SchedulerProvider ) { ...
-1votes
0answers
8views

Is there an Android video player library like Exoplayer that can play all video formats?

Exoplayer does not support AVI and some MKV video formats. So, please recommend replacements.
0votes
0answers
13views

Should we use Spring Integration or Netty on top of Spring MVC?

What was the requirement? Connect to an HSM system having TCP Persistent connection and get important stuff decrypted by HSM using TLSv1.2 How I have done so far? I am using SSLSockets for connecting ...
-2votes
1answer
19views

Why is it always neccessary to create and use APIs for spring boot application

I'm new to spring boot and I have noticed from many tutorials that for most application we an API to connect to the database then the application queries this API for it different operation. Why is it ...
0votes
0answers
9views

How to close a http2 stream in Springboot with embedded Netty server application?

Requirement: Our application runs on Springboot with embedded Netty server(enabled http2). And it exposes services via Rest Apis. On Rest Api handling, we have a scenario where we wanted to ignore ...
0votes
0answers
10views

NPE when iterating over Hibernate PersistentSet

I'm seeing a sporadic NullPointerException in my logs when iterating over a PersistentSet. I can't seem to reproduce the problem, I was hoping someone could shed some light on the stacktrace based of ...
0votes
0answers
7views

How to change WildFly classloader for parent last

I work on JBoss 6 migration to Wildfly 25. JBoss 6 provide a version 3.0.16.Final of resteasy-multipart-provider. <dependency> <groupId>org.jboss.resteasy</groupId> <...
0votes
1answer
17views

How to get String response from post request volley

I am trying to get a string response from post request. Here, I am sending a post request. where I am sending this data. I have a Model of BillReceipt. Which I pass on the request body. public void ...
0votes
0answers
22views

How to compile and run large number of java files frequently?

I want to create an online Java compiler for my coding website. A user submits the code that will be compiled and run against the testcases (steps in a single job). My code runs one job after another, ...
0votes
0answers
10views

How to create Index with mapping using new Java Api ElasticSearch(8.0.1)

I am trying to create an index in ElasticSearch 8.0.1 with java. The problem is Index is created but the mapping does not. Here is my code; final RestClient restClient = RestClient ...
  • 62
0votes
0answers
7views

MSAL AuthorizationCode flow does not return scope of all permissions at the first attempt using Graph API

I have a Java MSAL sample web application which uses graph API to fetch user information from the graph endpoint /me My application is a multi tenant application and users from other organizations can ...
0votes
0answers
17views

how to parse email with curly braces in spring property

I have the following code which sends an email to the address in mailAddress property. <route message="message" destination="mailto:${mailAddress}"> <param name="...

153050per page