Questions tagged [java]

Java is a high-level object oriented programming language. Use this tag when you're having problems using or understanding the language itself. This tag is frequently used alongside other tags for libraries and/or frameworks used by Java developers.

0 votes
0 answers
4 views

GENERATE JSON FILE FROM MICROSOFT ACCESS DATABASE AND IMPORT TO MONGODB

Can, I have some input/suggestions on how to convert the Microsoft Access database into a JSON file and then insert it into MongoDB in the respective collection. Which Programming Language and ...
user avatar
0 votes
0 answers
5 views

About Error in Java FirestoreRecyclerAdapter<ChatModel, ChatAdapter.ChatViewHolder>

While I tried to use FirestoreRecyclerView, I got this problem called: Type parameter 'com.nsstudio.republicofstudents.adapter.ChatAdapter.ChatViewHolder' is not within its bound; should extend '...
user avatar
0 votes
0 answers
5 views

cucumber regex statements for java

I code cucumber scripts for java There is a following case for or selection working @When("^(chrome|firefox|edge) browser started") don't work @When("(chrome|firefox|edge) browser ...
user avatar
0 votes
0 answers
9 views

Crontab -e messing up paths in jar-file

I am running a jar-file through crontab -e with paths such as "../folder/dbfile.db". If I run that jar-file through the terminal in Ubuntu, it works. However, if I run it in crontab -e, the ...
user avatar
0 votes
0 answers
6 views

Is there a way to build Objects from an inner class inside of a SELECT statement in JPQL?

I'm trying to build an object from an inner class inside a SELECT statement in JPQL. I'm extracting data from an entity and using them to build a DTO. Something like this: SELECT new project.models....
user avatar
0 votes
1 answer
7 views

Unable to receive data out of api call with webclient

So I'm trying to get my head around the webclient, but I keep getting a nullpointerexception, though my test work fine and say that object is not null. I also see my console making connection to the ...
user avatar
0 votes
0 answers
5 views

java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path: [C:\directory\rxtx] thrown while loading gnu.io.RXTXCommDriver

We are working on a critical project which is very urgent to be delivered using RXTX for serial communication. It's a web based project which talks to some device via serial port and get the results. ...
user avatar
0 votes
0 answers
11 views

How to extract content between CDATA tags in Java

I managed to get the JSON-LD structured data of a page using Java matcher and pattern -- between <script type="application/ld+json"> .... </script> The result I received is a ...
user avatar
0 votes
0 answers
24 views

Why are the remove and add methods not working in the other public class?

Why are the remove and add methods not working in the other public class? This is a Java program aimed for displaying the periodic table of elements, and upon clicking each element symbol, a new ...
user avatar
0 votes
0 answers
26 views

Duration.getSeconds() is forbbiden in thymleaf expression

<input autocomplete="off" class="layui-input" name="accessTokenTimeToLive" placeholder="access token time to live" ...
user avatar
0 votes
0 answers
8 views

All web containers occupied by one app that depends on 2nd app

We have an application on our WebSphere Application Server that calls a web service of a second application which is deployed on the same app server. There are 100 available web containers (threads). ...
user avatar
  • 2,917
-4 votes
0 answers
19 views

Creating a league schedule [closed]

The aim here is to create a schedule for a league that should be played on at least 5 consecutive Saturdays, 7 at most. 20 teams (Named team 1 to team 20) are all expected to play each other at least ...
user avatar
-1 votes
0 answers
19 views

This code can easily sort upto four elements but when I enter more than 4 elements, it always shows an error of NullPointerException

This code is used to implement bubble sorting with help of linked List data structure in java. The problem with this code is that when i am entering more than 4 elements then it throws as nullPointer ...
user avatar
0 votes
1 answer
18 views

DuplicateMappingException contains physical column name referred to by multiple logical column names on adding passportId to the Student entity

This code is causing the following exception on the startup Caused by: org.hibernate.DuplicateMappingException: Table [student] contains physical column name [passport_id] referred to by multiple ...
user avatar
  • 72
0 votes
0 answers
15 views

how to get/modify/set text from a custom TextView in java android

I have created a java class and extended appcompat TextView(android default TextView is ok too), I want to access the android:text="" from xml and set it using fromHtml. but I have no idea ...
user avatar

15 30 50 per page
1
2 3 4 5
123657