Category "java"

Unable to connect IBMi machine with Spring Data & JPA

Trying connect IBMi machine by using Spring Data & JPA, but it's generating the error: org.springframework.beans.factory.BeanCreationException: Error creati

netbeans shows blank interface

I'm trying to open Netbeans IDE (version 12.3) but it shows me a blank screen. Please if you have a solution for that.

Setting textures on a model (Maya or Blender) via Java?

My task is: after selecting the user settings in the web application, this application must create a 3D model according to its settings (this building model wit

Unable to open txt file

I've got a school project whereas we are writing a Java program in netbeans. The project has both a substring and a points game, using a separate file (dictiona

The default type resolver could not find a suitable Java type for GraphQL type `ArrayList. Provide a @DgsTypeResolver.`

I have a java - Spring Boot project using graphql and DGS from netflix. I have the following query: type Query { ticketingHistory(ticketId: String): TicketingHi

Duplicated class Koin org.koin and io.insert-koin

I'm using two library that have dependencies of two different versions of Koin. One of the library has org.koin:koin-android:2.0.1 and the other has io.insert-k

too many org.mongodb.driver.connection: Opened connection for document DB

We have developed an Arest application that uses document DB to store/retrieve user data. MongoClientSettings settings = MongoClientSettings

make repository mutually exclusive in springboot

Is there a way to make a repository mutually exclusive i.e two concurrent values not update the same document in Springboot. My code structure is. //func(versi

Using PowerMock in JDK 16

Java reflection is becoming more and more restricted: Up to Java 8 all operations are allowed Starting from Java 9 to 15 you are still able to perform the opera

Want to compare Timestamps in Drools

I am to receive a timestamp value and want to check it agains the current timeStamp value to make sure that the value I am getting is less of before the current

How to do a get request to SpringBoot java with an Array<Array<string>>?

I am doing a get request in angular with typescript and here it is: this.http.get("http://localhost:8080/data-management/data-users/getAllGeneralInfoCV/"+this.l

Firebase Query in Android returns random number of items altough multiple items match the query

I am using the Firebase Realtime database and I constructed a query for the node "Orders" which should return all items whole attribute "orderID" is equal to 2.

Generate P2SH bitcoin address from WIF in BitcoinJ Java

I'm trying to create P2SH-Segwit bitcoin address from the WIF private key. I'm using the BitcoinJ library in Java. See the following code. String base58PrivateK

how to update json array in java with existing json array value using java. Value are not updating in external json file

JSON file: [ { "name":"John", "city":"Berlin", "job":"Teacher" }, { "name":"Mark", "city":"Oslo", "job":"Doctor" } ] JSONParser parser = new JSONParser(); JSONA

If s3==s4 is false, then how come s1==s2 becomes true? [duplicate]

I am very wondering after executing the below java code. public class HelloWorld { public static void main(String...strings) { String s3

liquibase.exception.DatabaseException: ORA-01950: no privileges on tablespace 'VMSS_TBS'

Initially I was getting this exception while starting my service An attempt was made to call a method that does not exist. The attempt was made from the followi

Log4j2 + AWS JAVA LAMBDA + CLOUD WATCH LOGS

I am using the following configurations in my code but cloudwatch logs are not getting generated. Log4j2.xml is present in main/resources. I am following the AW

When I Update my Phone to Android 12, Installation did not succeed. The application could not be installed: INSTALL_PARSE_FAILED_MANIFEST_MALFORMED

I was working on my project perfectly since I Update my phone to Android 12 unfortunately when I run the project to my phone this Error appears: Installation d

Keep data in ListView after refresh - Android Studio

I have a Main Activity and PersonListView Activity. In Main Activity, there are some input text and when click save button, it will send data and save to listvi

"no_valid_keys_or_signatures" Error Calling DocuSign API through Java SDK for OAuth 2.0 Authentication

I am upgrading our application's authentication method into the DocuSign API from the DocuSign Legacy Authentication to the JWT Grant OAuth 2.0 Authentication.