Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-5471

`NoClassDefFoundError` in travel agency example

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • Examples
    • None
    • 2021 Week 28-30 (from Jul 12)

      Getting below error while staring travel service

      2021-07-06 07:50:33,687 INFO  [org.apa.kaf.cli.pro.KafkaProducer] (smallrye-kafka-producer-thread-3) [Producer clientId=kafka-producer-kogito-variables-events] Closing the Kafka producer with timeoutMillis = 10000 ms.
      2021-07-06 07:50:33,688 INFO  [org.apa.kaf.com.met.Metrics] (smallrye-kafka-producer-thread-3) Metrics scheduler closed
      2021-07-06 07:50:33,688 INFO  [org.apa.kaf.com.met.Metrics] (smallrye-kafka-producer-thread-3) Closing reporter org.apache.kafka.common.metrics.JmxReporter
      2021-07-06 07:50:33,688 INFO  [org.apa.kaf.com.met.Metrics] (smallrye-kafka-producer-thread-3) Metrics reporters closed
      2021-07-06 07:50:33,689 INFO  [org.apa.kaf.com.uti.AppInfoParser] (smallrye-kafka-producer-thread-3) App info kafka.producer for kafka-producer-kogito-variables-events unregistered
      2021-07-06 07:50:33,709 ERROR [io.qua.run.Application] (main) Failed to start application (with profile prod): java.lang.NoClassDefFoundError: Could not initialize class javax.crypto.JceSecurity
          at java.base/javax.crypto.Mac.getInstance(Mac.java:186)
          at org.wildfly.security.password.impl.ScramDigestPasswordImpl.getMacInstance(ScramDigestPasswordImpl.java:292)
          at org.wildfly.security.password.impl.ScramDigestPasswordImpl.scramDigest(ScramDigestPasswordImpl.java:240)
          at org.wildfly.security.password.impl.ScramDigestPasswordImpl.<init>(ScramDigestPasswordImpl.java:107)
          at org.wildfly.security.password.impl.ScramDigestPasswordImpl.<init>(ScramDigestPasswordImpl.java:95)
          at org.wildfly.security.password.impl.PasswordFactorySpiImpl.engineGeneratePassword(PasswordFactorySpiImpl.java:437)
          at org.wildfly.security.password.PasswordFactory.generatePassword(PasswordFactory.java:151)
          at org.wildfly.security.mechanism._private.MechanismUtil.getPasswordCredential(MechanismUtil.java:127)
          at org.wildfly.security.mechanism.scram.ScramClient.handleInitialChallenge(ScramClient.java:245)
          at org.wildfly.security.sasl.scram.ScramSaslClient.evaluateMessage(ScramSaslClient.java:75)
          at org.wildfly.security.sasl.util.AbstractSaslParticipant.evaluateMessage(AbstractSaslParticipant.java:219)
          at org.wildfly.security.sasl.util.AbstractSaslClient.evaluateChallenge(AbstractSaslClient.java:98)
          at org.infinispan.client.hotrod.impl.transport.netty.AuthHandler.evaluateChallenge(AuthHandler.java:105)
          at org.infinispan.client.hotrod.impl.transport.netty.AuthHandler.access$200(AuthHandler.java:26)
          at org.infinispan.client.hotrod.impl.transport.netty.AuthHandler$ChallengeEvaluator.apply(AuthHandler.java:123)
          at org.infinispan.client.hotrod.impl.transport.netty.AuthHandler$ChallengeEvaluator.apply(AuthHandler.java:109)
          at java.base/java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:1072)
          at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506)
          at java.base/java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2073)
      

              nmirasch@redhat.com Neus Miras Chueca
              vajain Vaibhav Jain
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: