Category "java"

need help in creating Dynamic multilingual PDF using java spring boot

I have to create dynamic report in PDF in multiple languages like english,spanish,german,italian etc. .The report is divided in various sections which will hav

I am trying to setup spark in local but getting error

Using Spark's default log4j profile: org/apache/spark/log4j-defaults.properties Setting default log level to "WARN". To adjust logging level use sc.setLogLevel(

Problem with cassandra-connector at "load()"

I downloaded succesfully this connector: com.datastax.spark:spark-cassandra-connector_2.11:2.5.1 And when I try to load the information with this line: data = s

Recycler chat Pagination add new message at top

I am working on a chat app where I need to show reverse pagination and show the user's previous chat when the user scrolls up. I am first loading data from SQL

Can we edit the screen cast message in android? Current text - "exposing sensitive info during casting/recording"

Is it possible to edit the warning message that pops up when we start screen sharing in Android? The message is different for different OS devices. For OS 10 -

Is there a Simple Way to Take Screenshot in Espresso Android Studio for Every Test Case

Guys, I'm a beginner in Espresso and requesting for your valuable help, Can anyone share me the code with which I can take the screenshot for every tests which

How can I transform this into a recursive descent parser

My code is a follows (this code 100% works, it just doesn't use recursive descent) import java.awt.Component; import java.awt.FlowLayout; import java.awt.GridLa

com.applandeo.materialcalendarview.CalendarView doesn't show up on XML design

I have been trying to get CalendarView for the application i have been working on.Earlier the calendarView was being displayed in XML design but now i do not ge

403 Error when sending post request to external API

I have an Angular App that is used to compile a java program, I am using Jdoodle API for compilation, we send requests to Jdoodle and then get a response back,

Dynamic Bundle loading OSGI

I am new to OSGi so please help me out here. **I have 2 independent modules A and B for addition and multiplication respectively. Now in clientmodule i.e., i wa

Samsung S21 camera2 API issue with near object

I am using Camera 2 API for capture image and it is working fine for other device than Samsung S 21 ultra 5G Android ver 11. I am getting blurry image when capt

Spring Boot Application faild to start in intellij idea showing exception

I am trying to run application in Intellij Idea, but i am getting this error.... org.springframework.beans.factory.BeanCreationException: Error creating bean w

java.lang.ClassNotFoundException: weblogic.Server

I trying the deploy the jdk 11 compatible code in weblogic 14c but when I am deploying I am getting file classpath not found exception

External properties file in spring

I have a java,spring and not spring boot command line program with maven , which when i build a jar with all dependencies using maven-assembly-plugin , it inclu

How to compare elements from an ArrayList with data from a table in MySQL

The idea is I'm making a little restaurant app in Java so in this class is given the option to make an order. It works this way: the user writes which products

Programmatically set signatures in Outlook client using JAVA

I want to set signatures for multiple address in outlook client application. I read concepts using VBA and other scripts. But I want to do it in Java. I have al

Recycler View List Sort position saving notepad app

In my program I added code to move the list items around but for example if I move shopping list above Test 123 and fully close the app the positioning resets

How do I map ASM's API version in Opcodes to Java version?

ASM's ClassVisitor constructor requires passing one of Opcodes's ASM4, ASM5, ASM6, ASM7, ASM8 or ASM9. How do I know which ASM# to use for each version of Java?

Is it possible to disable SSL certificate checking in the amazon kinesis consumer library v2?

When developing a Kinesis Consumer using Version 2 of the Kinesis Consumer Library and overriding the Dynamo DB endpoint to a localstack endpoint the library fa

Android Studio, "Unresolved Reference: activity_main"

I am following this tutorial and cannot figure out how to resolve the errors "Unresolved Reference: activity_main" and "Unresolved Reference: app_name". The tut