Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
1 view

Groovy Script : it gives me error while handling files more than 2G

I created a code to save all files into a zip file, but when my files reach 2GB, the code gives the error: 'Error executing the script: Required array length too large.' I tried to solve the problem, ...
omar ahmed's user avatar
0 votes
0 answers
2 views

Places API function findCurrentPlace() limits my app min SDK to 26

I tried adding the users current location to the google map I had using google places api, and while it worked, I noticed that under api level 26 it gave an error, after elaborating I found that the ...
user27347117's user avatar
0 votes
0 answers
9 views

Modules jdk.xml.dom and xercesImpl export package org.w3c.dom.html to module io.cucumber.core.gherkin.messages'

Within one of my projects I used the following dependency: <dependency> <groupId>xerces</groupId> <artifactId>xercesImpl</artifactId> <version>2.12.2</...
PowerStat's user avatar
  • 3,809
0 votes
0 answers
10 views

Modules spring.jcl and org.apache.commons.logging export package org.apache.commons.logging to module spring.data.jdbc'

In one of my java spring projects with the following pom (extract): <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</...
PowerStat's user avatar
  • 3,809
-10 votes
1 answer
38 views

about a statement of the class of randomAccessFile [closed]

Which of the following statements is true for class randomAccessFile? It allows us to handle files randomly. We can move the file pointer to any position in the file and perform read, write, or read-...
Harshil's user avatar
0 votes
1 answer
15 views

HSQLDB mvlocks concurrency model blocks reads when used with Hibernate

When using a HSQLDB with Hibernate and Spring, I run into a concurrency issue. I have two threads accessing the same table. One thread has a long running read write transaction, the other thread ...
d2quadra's user avatar
0 votes
1 answer
45 views

parseStrict() vs parseLinient() DateTimeFormatterBuilder java

Given: String validInput = "2023-12-31"; String lenientInput = "2023-12-31 "; // Extra space DateTimeFormatter strictFormatter = new DateTimeFormatterBuilder() ...
Mat's user avatar
  • 29
-2 votes
0 answers
27 views

How to fix CORS error while accessing cross domain API [closed]

I am working on Angular project implement login/registration and dashboard API. As a backend I am using spring boot API with spring security. Below is the spring security implementation Now while ...
Shiladittya Chakraborty's user avatar
0 votes
0 answers
24 views

unable to use elastic search using java

I am trying to connect my java application to Amazon Elastic Search Instance and work on product search but I have been failing for a few days finally asking you guys if you can help. My Elastic ...
Sikandar Sahab's user avatar
0 votes
0 answers
18 views

phone auth login not working for my android app [closed]

I am creating an android app with firebase real time database at backend. in the app i have an interface for users to use to enter their phone numbers and one time password received through sms. ...
user14253444's user avatar
0 votes
0 answers
5 views

Caused by: : Could not resolve all files for configuration ':app:debugRuntimeClasspath'

Caused by: org.gradle.api.internal.artifacts.ivyservice.DefaultLenientConfiguration$ArtifactResolveException: Could not resolve all files for configuration ':app:debugRuntimeClasspath'. apply plugin: '...
akram baban's user avatar
0 votes
0 answers
14 views

The exception is not intercepted by CircuitBreaker

I have two services, and when sending a request from one to the other, it goes through FeignClient package org.example.projectservice.client; import org.example.projectservice.config....
Назар's user avatar
-3 votes
0 answers
42 views

Creating an array of generic types (Java) [duplicate]

I need help with a school exercise, I have the following classes: class Queue<T> {} class Passenger {} class Bus { private Queue<Passenger>[] passengers; public Bus() { @...
Ketchup Pingu's user avatar
0 votes
1 answer
58 views

Prevent launching multiple instances of a java application by locking a file is not working

For some reason this solution to prevent multiple instances of the app from running doesn't work anymore - what's wrong? I expect the second launch of this app will print: "another instance is ...
rozerro's user avatar
  • 6,890
0 votes
0 answers
13 views

How to calculate Euclidean Distance between 2 tensor in Tensor Java 0.5.0

How do i calculate Euclidean Distance between 2 tensor in Tensorflow Java 0.5.0? This is my code: public static float[] getFloat(DataBuffer<Float> data) { float[] res = new float[(int) ...
Atomic's user avatar
  • 3

15 30 50 per page
1
2 3 4 5
127950