Open bawood opened 3 years ago
I didn't see java.home set to anything in preferences, but in settings.json I have this;
"java.configuration.runtimes": [ { "name": "JavaSE-1.8", "path": "/usr/lib/jvm/jdk8u302-b08", "default": true } ],
I don't have JDK_HOME or JAVA_HOME environment variables when I check from a terminal in VSCode, I think because I'm starting it from the application menu.
So I set java.home to /usr/lib/jvm/jdk8u302-b08, but after restarting I see the following error in the Java Tooling Runtime settings.
Java 11 or more recent is required by the Java language support (redhat.java) extension.(Current JDK: /usr/lib/jvm/jdk8u302-b08)
and a notification pop up like
Java 11 or more recent is required to run the Java extension. Please download and install a recent JDK. You can still compile your projects with older JDKs by configuring 'java.configuration.runtimes'
So it seems the settings required for wsdl2rest camel tooling are in conflict with the requirements for the extension Language Support for Java by Redhat
So it seems the settings required for wsdl2rest camel tooling are in conflict with the requirements for the extension Language Support for Java by Redhat
agree that it is in conflict.
Is the command to generate the wsdl2rest working in this conflicting case?
In a terminal with JAVA_HOME set to /usr/lib/jvm/jdk8u302-b08/ I was able to run
/usr/lib/jvm/jdk8u302-b08/bin/java -jar ~/.vscode/extensions/redhat.vscode-wsdl2rest-0.0.13/jars/wsdl2rest.jar --out src --wsdl file:~/AXL_toolkit/schema/11.5/AXLAPI.wsdl
and it generates sources
I'm hoping to set up an integration using Camel with a Cisco Unified Communication Manager server's SOAP API. I'm developing on a Debian Linux 11 desktop, using VSCode 1.60.2 and OpenJDK 8 from AdoptOpenJDK (I've also tried with the Debian default OpenJDK 11 with the same result). I generated the camel setup with the camel-spring-boot maven archetype. After I run the wsdl2rest command and select the wsdl, it runs through all the services but fails with the following ClassNotFoundException, I've chopped out most of them for brevity.