score:1
it was the one thing i imagined. i should have tested. the classloader c lives in a chain of classloaders, x could be found in the parent classloader p, while y could only be found in c. since x was loaded via p, it looked for y in p, didn't find it, hence the exception.
Source: stackoverflow.com
Related Query
- Two URLClassLoaders with the same classpath with different behaviour
- When create two different Spark Pair RDD with same key set, will Spark distribute partition with same key to the same machine?
- What is the reason to have two different Maps with the same addressing scheme?
- How to map two different urls in a Akka-HTTP: one url with param and the same without the param?
- Two libraries bring in different version of the same dependency. How to import them both?
- Composition with the same trait, but different type parameters
- Scala: two implicit argument with the same declaration
- two type parameters with the same name
- 2 Extension Methods with the same name in different classes do not work in Scala 3?
- Play Framework 2.4.0 with I18n: two languages in the same page
- Why with scala, using the same regular expression, using 2 different matching methods lead to 2 different results?
- How can a method accept a (T <: Seq)[A] and return T[B] -- the same type of sequence with a different type parameter?
- When are two classes with same definition and classpath chosen ambiguously in Scala with SBT and Ivy?
- Simultaneously download from an FTP server different parts of the same file with multiple connection
- Scala SBT: Can you import two different versions of the same dependency into one build file?
- scala: union of two maps whose key type is the same and whose value type is a collection of elements, but whose types are different
- How to make it so that dependent types in two different traits are recognized as the same type
- How execution of same function defined with "_" is different from the same defined with a named variable in Scala
- SBT Native Packager: Build the same package with different configs
- How to mix in traits with implicit vals of the same name but different types?
- Replace two different column values in a dataframe using same condition with minimum complexity in scala
- Dealing with the same setting in different config files
- why does a scala class in the worksheet with same name but different case as the worksheet cause an exception?
- Scala - how to make the SortedSet with custom ordering hold multiple different objects that have the same value by which we sort?
- How to use shapeless HList to have a list of the same type but with a different generic?
- Scala matching, resolving the same variable from two different patterns
- How to avoid getting the type Product With Serializable while creating a Merged maps from two different maps
- Akka create two Tcp Connections with the same port
- Resolve two sbt imports with the same classes
- Scala: How to always extract the same substring out from strings with different prefix and/or suffix
More Query from same tag
- How can I use macros for code substitution in Scala?
- How to spark-submit a jar in a Spark docker-compose network?
- Sending response body with Akka?
- ReactiveMongo: How to use FindAndModify with JSON
- Extractor does not return exception
- Kleisli flatMap stange type parameter subtyping
- Retrieve Spark Mllib StringIndexer column mapping
- scala StackOverflow on implicit object unapply
- How to trace class field accesses of certain classes only in Scala?
- How do I find the correct Maven archetype project for developing with Scala in Eclipse?
- Scala - Co/Contra-Variance as applied to implicit parameter selection
- Cross Publishing of SBT Plugins not working
- Know when all jobs are completed in ExecutionContext.Implicits.global
- How to model a category and a sub category in Scala
- Flink StreamingFileSink RowFormatBuilder withBucketAssigner returns Any?
- Creating a Class[T] from a Manifest[T] without casting
- How to store custom objects in Dataset?
- akka custom fork-join-executor dispatcher behaves differently on OSX and RHEL
- scala exception handling with series of dependent future and non-future method calls
- List[List[String]] in Scala
- Unmarshalling XML using JAXB2 returns null lists (Scala)
- Liftweb - Maximum value of a SQL table field with mapper
- Scala Generics with Case Class and Object Companion
- Generics in Scala: implementing an interface/trait twice?
- Interactive debug console for scala in Intellij?
- Scala equivalent of Python help()
- Where do you split long Scala function signatures?
- scala removing double quotes from column value
- Scala: F-Bounded Polymorphism Woes
- get first elements of clusters and clusters ids kmeans spark