Skip to content

Tag: java

How can i create Enum in Java? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed last year. Improve this question I already created Enum. But i cannot create new Enum. I wanna create and compare 2 Enums actua…

ORA-29531: no method in class (java)

I have a java procedure inside a package in Oracle: and it is defined something like this: When I try to call the procedure like this: it throws an error: Does anybody know the problem? Answer The int primitive and the Integer class are not the same thing, so your declaration does not match the Java method. I…

Parse String datetime with Zone with Java Date

I am trying to parse these dates in java.time and then get a String representation. I read this similar answer and I have created a method in order to parse the above dates and return a String with the desired format: However, none patterns are matched. What I am missing here? UPDATE: In both dates I get an e…

SSL Handshake error after Client Finished handshake message

I’m attempting to perform mutual TLS authentication to server.com (changed), and I’m getting Fatal (HANDSHAKE_FAILURE): Couldn’t kickstart handshaking, javax.net.ssl.SSLException: readHandshakeRecord after Produced client Finished handshake message. I am using AdoptOpenJDK 11.0.11.9-hotspot.…

How to read value from JSON with Jackson Java

I have a JSON file: I want to get the items separately. I try to do, but the result did null: This is class for Items: What I do wrong? how correctly read value from items? Answer You didn’t handle the JSON array – items – properly, so as I commented under OP, all what you need to do is

JMS Topic – Weblogic to Wildfly / JBoss migration

I have one of my Topics in WebLogic with overrides properties “Time-To Deliver Override” and “Delivery Mode Override” I’m working on a migration to WildFly server. I’ve declared the Topics in the standalone.xml under the ActiveMQ subsystem tag as following But, I have no id…