Category "java"

Uniform Cost Search Implementation

I am trying to implement the Uniform Cost Search after watching the "Intro to AI" course in Udacity. However, my algorithm is not getting the correct path. Have

What is the Java version that the Flink can support in 2022?

Let's say if I start a new Flink Java project, and if I look for "stable Flink Java production experience", which version should I need to use? The official doc

Discord Bot unable to send messages

I'm developing a discord bot, but I'm having some problems that I've never had. My discord bot is unable to send messages. The bot doesn't contain any deprecate

java.lang.AbstractMethodError: com.ibm.db2.jcc.t4.b.isValid(I)Z

Good evening, I'm whith a problem on a project whith EJB Timer, I don't know what can I do to fix it. there are a few methods in my project, all of them works

No result using makeStyles Material UI in react 18

Hi Im exploring ReactJs and Material UI and Im following outdated tutorials. I having a problem with this material UI makestyles how do I use this? This is the

Remove default white space document itext 7

i use itext 7.1.9 for create the carrier lable bill. i want my bill have full with and height of the document, i set with table 100 percent or large width but m

java.lang.ClassNotFoundException: org.eclipse.jetty.Server

I am trying to run a maven project when I run mvn install everything is ok I got build success qnd when I tried to lunch the project I got the following excepti

Spring maven dependency issue

I have a problem that my pom.xml throw an error ArtifactTransferException: Failure to transfer org.springframework:spring-tx:jar:3.2.4.RELEASE from http:

Exception: org.springframework.web.bind.MissingServletRequestParameterException: Required String parameter 'params' is not present

When i clicked the edit button the values from dataTable should display in form. But somehow it doesn't work. Below are my codes for reference. Call DataTable:

How to parse the ASN.1 object and get the data using bouncycastle in java

I have an ASN.1 data which contain some URL info and certificates data. Now I am trying to parse the data. I am using the dump method which is shown below. p

Apache Server Reverse Proxy Issue

I have Microservices implemented using Spring Boot hosted in VM. I have Apache HTTP Server which act as load balancer and have configured reverse proxy to redir

AutoPopulate EditText in Android Studio from SQLite Database

I am attempting to autocomplete the EditText in my application, however not through means of typing but from one entry to another. What I mean is that when the

Intellij doesn't show run button

Intellij doesn't show run button even if that file is in src folder. Maybe do you know what to do? P. s. It's strange because that file used to show run but

Spring: Generic RowMapper for dynamic queries

I am using SpringBatch to read from Oracle and write into ElasticSearch. My code works fine for static queries. Example: select emp_id, emp_name from employee_

How to control web page using parameters separate with slash in wicket

I want to create some wicket web page where I will use slash delimeter. Main page will be: http://some.url/team/ will display list of team (Here I just mou

gradle classes are not generated

I am trying to convert my project to gradle and unable to get the class files generated under build folder. Here is the build.gradle file: import org.gradle.in

vaadin 23 reporting debug mode when built for production

I've built my vaadin 23 app in production mode via: mvn clean package -Pproduction -DskipTests -U My pom.xml contains the necessary profile: <!-- vaadin pro

How to view the metrics ready to be sent off to Datadog

So I am new to metrics and micrometer. I am have followed this tutorial in which we set up some basics Meters like a counter and a Gauge and expose the metrics.

Getting null pointer exception while running helloworld in drools

I got the following error while running a simple helloworld sample drools project. 199 [main] ERROR org.drools.compiler.kie.builder.impl.KieContainerImpl - Unk

Spring RestTemplate and generic types ParameterizedTypeReference collections like List<T>

An Abstract controller class requires List of objects from REST. While using Spring RestTemplate its not mapping it to required class instead it returns Linked