helidon-io / helidon-examples Goto Github PK
View Code? Open in Web Editor NEWHelidon Examples
License: Apache License 2.0
Helidon Examples
License: Apache License 2.0
This might be OK, but I wanted to at least document it. If you build examples/security/webserver-signatures
with JDK 11.0.11 it fails with:
[INFO] Running io.helidon.security.examples.signatures.SignatureExampleConfigMainTest
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.712 s <<< FAILURE! - in io.helidon.security.examples.signatures.SignatureExampleConfigMainTest
[ERROR] io.helidon.security.examples.signatures.SignatureExampleConfigMainTest Time elapsed: 0.712 s <<< ERROR!
io.helidon.common.pki.PkiException: Failed to read PKCS12 keystore: keystore:FILE:/Users/jdipol/GitHub/barchetta/helidon-examples/examples/security/webserver-signatures/src/main/resources/keystore.p12
at io.helidon.security.examples.signatures.SignatureExampleConfigMainTest.initClass(SignatureExampleConfigMainTest.java:31)
Caused by: java.io.IOException: Integrity check failed: java.security.NoSuchAlgorithmException: Algorithm HmacPBESHA256 not available
at io.helidon.security.examples.signatures.SignatureExampleConfigMainTest.initClass(SignatureExampleConfigMainTest.java:31)
Caused by: java.security.NoSuchAlgorithmException: Algorithm HmacPBESHA256 not available
at io.helidon.security.examples.signatures.SignatureExampleConfigMainTest.initClass(SignatureExampleConfigMainTest.java:31)
Works fine with JDK 11.0.22
Backport of helidon-io/helidon#8477 for Helidon 3.x
The /webclient/standalone
app builds and tests successfully, but it includes both a server and a client. When you start the server and then run the client per the instructions in the README.md
file the client reports a failure in the redirection step.
In the helidon-examples
repo clone:
cd examples/webclient/standalone
mvn clean package
java -jar target/helidon-examples-webclient-standalone.jar
Note the port number displayed (XXX).
In another terminal window:
java -cp "target/classes:target/libs/*" io.helidon.examples.webclient.standalone.ClientMain XXX
You get output with a few successes and then a failure at the redirection step:
Exception in thread "main" java.util.concurrent.CompletionException: java.lang.IllegalStateException: Follow redirection failed!
at java.base/java.util.concurrent.CompletableFuture.reportJoin(CompletableFuture.java:413)
at java.base/java.util.concurrent.CompletableFuture.join(CompletableFuture.java:2118)
at io.helidon.common.reactive.Awaitable.await(Awaitable.java:54)
at io.helidon.examples.webclient.standalone.ClientMain.main(ClientMain.java:103)
Caused by: java.lang.IllegalStateException: Follow redirection failed!
at io.helidon.examples.webclient.standalone.ClientMain.lambda$followRedirects$7(ClientMain.java:132)
Backport of helidon-io/helidon#8477 for Helidon 2.x
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.