Category "java"

The flutter app doesn't run with java.lang.AssertionError

An exception has occurred in the compiler (1.8.0_242-release). Please file a bug against the Java compiler via the Java bug reporting page (http://bugreport.jav

Why method print() of my class CustomDateFormatter using with my custom spring annotation is never called?

I have a issue with creation of custom annotation in springboot application: I've got a form with few fields with datepicker. Dates must have to be parsed in 2

Why not firebase fields not getting updated?

I am trying to update my firebase database based on "aadhar" field but I am failing to do it so. I don't know where it is going wrong. Here is my activity code

Spring error "Bean named 'x' is expected to be of type 'y', but was actually of type [com.sun.proxy.$Proxy]"

I am trying to implement a DAO based authentication in an application using Spring Security. When I tried to log in to the application with a user I got this er

org.sonarsource.scanner.maven:sonar-maven-plugin:3.8.0.2131:sonar failed: An API incompatibility was encountered while executing

my Software version sonarqube 7.0 maven: 3.6.3 jdk: 17 sonar-maven-plugin: 3.8.0.2131 when I run mvn --batch-mode clean verify org.sonarsource.scanner.maven:so

CallLog.Calls.CACHED_LOOKUP_URI not working on Xiaomi/MIUI devices

I need to get the contact URI given the Call Log in order to be able to open the native "Contacts" app to show the info of the Contact that made a call, if any.

Spring boot WebSecurityConfigurerAdapter basic authentication user password validation issue

I'm writing a simple REST API using Spring Boot and I want to enable basic authentication. Therefore I have used the WebSecurityConfigurerAdapter as shown below

Hibernate GROUP BY results in syntax error

My Hibernate query is: SELECT M.uid, P.userUid, COUNT(*) FROM PostXMentionsEntity M JOIN PostsEntity P GROUP BY M.uid, P.userUid ORDER BY COUNT(*) DESC where P

How to get Swagger UI in SpringBoot (404 error)

I'm trying to add Swagger UI to my REST Api but I can't find swagger ui path or there is a problem with it. Because when I check the paths where swagger ui must

bean creation error when starting spring boot application

When i try to run my spring boot application i get this Exception: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'conf

"Unable to find method ''void org.apache.commons.compress.archivers.zip.ZipFile.<init>(java.nio.channels.SeekableByteChannel)''"

The problem: I'm currently using Android Studio and Gradle to compile code from a github repository (00-Evan/shattered-pixel-dungeon) and while I can run some t

how to convert nested for loop in stream API for the program [closed]

List<Emp> list = Arrays.asList( new Emp(123, "ABC"), new Emp(123, "BCD"), new Emp(1243, "AUBC"),

Under which condition should I choose the JDK provider and its pros and cons? [closed]

May I know what are the JDK provider choices for Spring Boot if I am using Kotlin with Java 8 along with AWS EC2? I saw many providers out the

JFrame Isn't Closable Despite frame.setDefaultCloseOperation()

I am having a problem where the panel doesn't load in the JFrame and the JFrame itself doesn't set the default close operation, but performs setSize() and setVi

Could not resolve com.google.android.gms:play-services-location:16.+

guys, when I tried to run my application on real device but I found that error after upgrading to 1.22.2: Required by: project :app > project :locatio

2D Graphics and image won't show correctly

First of all, I have two class' GameGUI and paintCircle In paintCircle I'm drawing my circle on top of my JPanel image from GameGUI, but with the standard grey-

Subtracting two arrays (variables with decimals) [closed]

How to subtract the below two arrays in java? (09.34, 09.56, 09.00, 08.55 ) (17.25, 18.06, 17.55, 16.00)

SWRL Rules in Protege 5.5.0

I have 2 Classes(Agent and Penalty). Also, I have hasPoint(Penalty) and hasWeight(Agent) data properties. When I write this SWRL Rule, I got an error: Agent(?a)

Why can I not access class variables from onComplete in Flow API Subscriber

Using the Java Flow API. I have a chain of Processors and a terminal Subscriber. I have coded up Subscribers that have kept a count of items received that work

Inside spring-boot--application.yml- what can be the replacement for colon?

application.yml Pensions : Workplace-DPO: [email protected] I want Pensions : Workplace-DPO to be as key , but its treating DC Pensions to be as key . Quot