score:0
the warnings about the keystore are not relevant to the exceptions.
the problem is most probably that the failing build is lacking dependencies surrounding com.sun.xml.internal.messaging.saaj.soap.saajmetafactoryimpl
. idea probably delivers that dependency. this is possible since internal builds may live in another build environment (classpath/target platform).
the most common reasons for noclassdeffounderrors
are exceptions thrown in static initializers of referenced classes (exceptionininitializer as root cause) and classnotfoundexceptions
for referenced classes. the latter is what would happen if a dependency of the saajmetafactoryimpl
is missing, but not the library with the factoryimpl itself.
i suspect the exception contains another caused-by
chain link which in turn contains the root cause of that exception, mentioning the actually missing class. maybe you can reconfigure the build to display the complete cause-chain of thrown exceptions.
in general, try to compare the two build environments with respect to the target platforms they use to resolve dependencies. this makes the missing libraries obvious.
Source: stackoverflow.com
Related Query
- java.lang.NoClassDefFoundError: Could not initialize class when launching spark job via spark-submit in scala code
- java.lang.NoClassDefFoundError: Could not initialize class
- noclassdeffounderror: could not initialize yyy class after deploying on spark standalone cluster
- About a java.lang.NoClassDefFoundError: Could not initialize class org.xerial.snappy.Snappy
- Azure Databricks, could not initialize class org.apache.spark.eventhubs.EventHubsConf
- Why does Spark with Play fail with "NoClassDefFoundError: Could not initialize class org.apache.spark.SparkConf$"?
- Could not initialize class exception on scala(possibly squeryl bug)
- java.lang.NoClassDefFoundError: Could not initialize class
- Could not initialize class persistence.common.neo4j.Neo4jSpringContext$ in sbt yet test works in IntelliJ IDEA?
- Running simple spray route test result: Could not initialize class spray.http.Uri$
- HBase - Scala - Could not initialize class ProtobufUtil
- Action(parser.json) vs Action.async Error, and using concurrent.Execution.Implicits made could not initialize class controllers in Play Scala
- Could not initialize class com.datastax.spark.connector.types.TypeConverter$
- Could not initialize class $line10.$read$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$
- Databricks Notebook Scala Spark Connect to MongoDB Could not initialize class com.mongodb.spark.config.ReadConfig$
- java.lang.NoClassDefFoundError: Could not initialize class - spark/scala
- Play 2.5.3 - Running Scalatest on console, getting java.lang.NoClassDefFoundError: Could not initialize class play.api.Play$
- S3 authentication inside lambda function / Could not initialize class com.amazonaws.ClientConfiguration
- Running Java gives "Error: could not open `C:\Program Files\Java\jre6\lib\amd64\jvm.cfg'"
- Could not find or load main class in scala in intellij IDE
- Scala Java Error: value filter is not a member of java.util.Map. Works outside of class
- Scala Error: Could not find or load main class in both Scala IDE and Eclipse
- NoClassDefFoundError using Scala class from Java
- Attempting to initialize a Scala created class in Java
- Gatling Error: Could not find or load main class Engine
- Circe Couldn't convert raw json to case class Error: could not find Lazy implicit value of type io.circe.generic.decoding.DerivedDecoder
- Error: Could not write class iw because it exceeds JVM code size limits. Method code too large
- Scala - IntelliJ IDEA Error: Could not find or load main class
- Data Structures and Algorithms book in Java 5 or 6 or Scala for programmers and not a CS class textbook
- How do I add additional file to class path which is not java or scala file using SBT configuration?
More Query from same tag
- Monads for Control Flow - Sequence, Selection and Iteration
- Scala-Is there another way to write this foreach method?
- In Scala what is the correct way to fix "error: forward reference extends over definition of value"?
- Not enough arguments for method unmarshal: (implicit evidence$1: spray.httpx.unmarshalling.FromResponseUnmarshaller
- How to connect to Oracle database from Scala and read a huge data
- Compose "Insert...Select...Where" query
- scala overrides java class method with inner class and type parameters
- How to create build.sbt file for Scala projects?
- How to define parameters?
- Why do val and def implement abstract methods at different times?
- how to extract matched string in scala?
- How do I modify an existing class with a class containing 2 methods?
- Is it necessary to use windows in Flink?
- How do you add to a custom function such as String => Int
- Scala: completing a Future when other Futures are completed
- Spark Scala : Add Case class object to dataframe
- If-statement scoped variables
- Spark/Scala Opening Zipped CSV Files
- sum of 2 elements in an array groupBy multiple values
- Why "java.lang.ClassNotFoundException: Failed to find data source: kinesis" with spark-streaming-kinesis-asl dependency?
- Using Scala Macro Annotation in Intellij
- How to prevent failure on Hikari Pool initialization if database connection fails
- Type inference for generic strategy pattern in Scala
- Type mismatch in scala quasiquote of macro definition: "type mismatch; found : field.NameType required: c.universe.TermName"
- Calculate the sum on the 24 hours time frame in spark dataframe
- How can I check if a URL matches an existing Loc in Lift?
- How to remove duplicates from particular column in Scala by reading textfile
- how to update a value in dataframe and drop a row on this basis of a given value in scala
- How to test a function-like Monad with cats + discipline
- Insertion sort implementation in scala