Category "java"

JavaFX Modular Application, java.lang.module.FindException: Module javafx.controls not found (Java 11, Intellij)

I have a problem with my modular JavaFX application. I created a JavaFX project and added the JavaFX lib and JavaFX modules get recognized. However, I keep gett

Can javafx run with DRM in ubuntu without desktop environment?

I am tring to run a javafx program on ubuntu with this DOC,i am using sdk:monocle-linux-x64_bin-sdk,and copy the library to lib path(include the libgluon_drm-1.

Create Random Pixel Images in Swift

I want to create a random pixel generator in swift. How would I be able to create something like the below codes in swift? Java program to demonstrate creatio

Type mismatch: cannot convert from Class<RulesGenerator> to Class<? extends IGenerator2> xtest error

I am using this Xtest code to create a demo homeAutomation language github source but when the automatic code is generated i am getting errors in file Abstract

Error occurred during initialization of boot layer java.lang.module. FindException: Module javafx.controls not found

I am trying to build the sample javaFX application in the Intellij 2018.3 IDE. I have installed the oracle JDK11, and downloaded openjfk11. I created a library

How to organize java and scala code in Play?

activator new results in: Fetching the latest list of templates... Browse the list of templates: http://lightbend.com/activator/templates Choose from these f

How to know which specific runnable has died in my threadPoolExecutor?

I am running a fixed amount of threads using newFixedThreadPool() and need to be able to know when one of the runnables has died, and know which specific run

Application logout Cannot call sendRedirect() after the response has been committed

After login to the application and while trying to perform any activity the page keeps loading for some time and logged out of the application. I checked t

Why do I see open JDK 1.8 instead of Java 8?

When I check my Java version like this: java -version I see openjdk version 1.8.0 runtime environment build ..., but I thought I had Java 8 installed. Why does

Identifying time zones in ISO 8601

No, I'm not talking about zone offsets --- those can vary during the year for a region based on e.g. DST. I'm talking about the actual time zones maintained by

FATAL EXCEPTION: OkHttp Dispatcher

I'm using the OkHttp library in my android app to make web requests to a weather API. I've already implemented my code and I'm getting a FATAL EXCEPTION when do

Accepting/Sending messages to one Client Simultaneously

Till now I have a Server, Client1 and a Client2. The code works all fine and you can send messages between each Clients. The output looks something like this (b

List folder content on sdcard

I'm trying to display mp3 files in a specific folder on sdcard/myaudio, I found this example: How to list all files and folders locating on sd card I write t

How to get image in response with postman

I have an endpoint to get the image i uploaded earlier, it works but not well I don't know if i can get the image in response my controller endpoint: @PreAuth

How do I simply parse a date without a year specified?

I've got a tool which seems to be giving me dates without specifying the year that I need to convert and I'm using Java for the task (actually Groovy but close

java.lang.NoClassDefFoundError: io/jsonwebtoken/Jwts - maven spring-boot

java.lang.NoClassDefFoundError: io/jsonwebtoken/Jwts When I run locally with mvn spring-boot:run , there's no problem. But when I package my application into

Error reading XMLStreamReader: Unexpected character 'N' (code 78) in prolog; expected '<'

I am getting WstxUnexpectedCharException when hitting a soap service. My code is generating the request, that request is looking fine, and when same request i a

Inconsistencies between Apache Velocity output from production (ubuntu) and local (windows)

I am using apache velocity to generate rtf output from a tomcat web application using user defined templates. The webapp's dependencies are managed by maven, wi

JAXB: Concrete type information (xsi:type) missing on marshalled XML

I'm generating JAXB classes from XSDs for a SOAP WebService I'm building a client for (generated with jaxws-maven-plugin v2.4.1, wsimport goal). I'm having a

How to perfectly hide the bottom navigation bar

I am developing an apps which needs enter full-screen mode, however, no matter I tried. The bottom navigation bar is hidden but it will pop up for half second w