Questions tagged [openjdk-11]

Open JDK 11 is the open-source reference implementation of version 11 of the Java SE Platform as specified by by JSR 384 in the Java Community Process.

251 questions
0
votes
0 answers

OpenJDK 11: java.lang.NoClassDefFoundError: jakarta/xml/ws/Service when calling a SOAP web service

I am trying to migrate an Oracle JDK 8 application that calls a SOAP web service to Adopt OpenJDK 11 (jdk-11.0.8.10-hotspot). I downloaded jaxws-ri-3.0.0-M4 from the Maven repository, ran wsimport on the WSDL file, it generated a bunch of proxy…
Alek Davis
  • 10,628
  • 2
  • 41
  • 53
0
votes
1 answer

Hi I am getting the error in anypoint studio version 6.4.2

Errors occurred during the build. Errors running builder 'Mule Builder' on project 'flex-data-mapper'. javax/xml/bind/JAXBException The java version i am using is java 11 and the AnypointStudio.ini file…
dhS
  • 3,739
  • 5
  • 26
  • 55
0
votes
1 answer

Error when reading a table with blue prism (java mode) with OpenJDK 11

I get an error message () when I run a ReadTable on a (swing) table in our Java application. I only get this error since we switched from OpenJDK8 to OpenJDK11 (JRE 11).The JAB has been activated and the table is still recognised in the…
0
votes
2 answers

Eclipse Java 11 do not see external libs that were for older version (java 8)

I have just updated my eclipse project from java 8 to java 11. But I am using external libraries in this project that were designed for java 8. I have successfully imported these libs into projects classpath as it used to be but eclipse just refuses…
Programer001
  • 31
  • 1
  • 6
0
votes
1 answer

OpenJDK11 and compiler with java 1.8

VisualStudioCode needs openJDK11 but I need to compile with version 1.8. I downloaded openJDK11 and changed the JAVA_HOME variable, but it still shows Java 1.8 installed when I run java -version command: C:\>java -version java version…
0
votes
1 answer

Logstash 7.x service fails to start on Ubuntu 18.04 LTS with OpenJDK 11 JDK as a service but starts otherwise

I am trying to use logstash a SystemV service on Ubuntu 18.04 LTS. Whenever I try to use the service command, the service startup fails # service logstash start && journalctl -u logstash logstash.service: Failed to execute command: Exec format…
0
votes
1 answer

NoClassDefFoundError while migrating standalone java application from Java 8 to JDK11

Getting below error after migrating standalone java application from Java8 to JDK11. Exception in thread "main" java.lang.reflect.InvocationTargetException at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at…
MKJ
  • 11
  • 1
0
votes
1 answer

AWSMediaConvert client throwing error for VideoDescription width using Java API

I am using AWS Java API for creating AWS Elemental MediaConvert job with VideoDescription width 1920. When I invoke createJob() method using AWSMediaConvert client, it throws error saying…
0
votes
1 answer

Not able to switch current directory from one spring project to another

I have an application with two different components. One is core (component A) and other has all file resources (component B). When I run application A runs and fetch files like xml, xslt, xsd from other component B. We have recently upgraded to…
Urvashi
  • 1
  • 1
0
votes
0 answers

Sonar cube is not running. It gets stopped when launced

Sonar Cube unexpectedly stopping
M.Anas
  • 1
0
votes
0 answers

openjdk 11: Error running socket processor

Using Java version openjdk 11.0.7 2020-04-14 OpenJDK Runtime Environment (build 11.0.7+10-post-Ubuntu-2ubuntu218.04) OpenJDK 64-Bit Server VM (build 11.0.7+10-post-Ubuntu-2ubuntu218.04, mixed mode, sharing) The error I see in catalina.out is SEVERE…
Amos
  • 415
  • 1
  • 4
  • 10
0
votes
0 answers

Eclipse 2020-06 - Error The project was not built since its build path is incomplete

I have already read a lot about this error but I can't fix it on my eclipse 2020-06 I installed ide for web and javascript developers and jdk 11. I did some changes to my projects in order to migrate them from java 1.8 to java 11. I have only some…
Luke
  • 163
  • 4
  • 19
0
votes
0 answers

Running OpenJDK 11 Project in STS IDE

I've been trying to migrate our projects from JDK 8 to OpenJDK 11. I also updated our Spring Boot version from 1.5.22 to 2.2.7. I was able to resolve the issues encountered during the migration. My only problem now is how can I run my…
Rocky
  • 429
  • 1
  • 9
  • 26
0
votes
0 answers

Gradle 6.5 issue with spring tool suite 4

I have: Windows 10, openjdk 11, spring tool suite 4.1.1, gradle 6.5, springboot 2.1 or 2.3 With this, when I import gradle project, I start seeing errors in STS like: Evaluates project setup fixes to resolve the reference to the missing element…
Shivraj
  • 462
  • 2
  • 9
  • 27
0
votes
0 answers

org.powermock.api.mockito.ClassNotPreparedException at PowerMockito.mockStatic() when upgrading jdk8 to JDK11

I am using PowerMockito.mockStatic(LogServiceImpl) in my unit test code written in SPOCK framework. Even i declared @PrepareForTest([LogServiceImpl]) at class level, i am getting org.powermock.api.mockito.ClassNotPreparedException. Earlier it was…
Shobana
  • 41
  • 4