score:177
Accepted answer
Add this dependency:
"org.joda" % "joda-convert" % "1.8.1"
It's an optional dependency of joda-time. I had to add it in my own project for the scala compiler to accept working with the joda-time jar.
Your issue seems to be the same.
Version is as at time of editing, latest versions can be found here
score:1
I was running into a similar issue:
[warn] Class net.jcip.annotations.NotThreadSafe not found - continuing with a stub.
[warn] Caught: java.lang.NullPointerException while parsing annotations in ~/.ivy2-p2/cache/org.opensaml/xmltooling/jars/xmltooling-1.3.4.jar(org/opensaml/xml/util/IDIndex.class)
[error] error while loading AttributeMap, class file '~/.ivy2-p2/cache/org.opensaml/xmltooling/jars/xmltooling-1.3.4.jar(org/opensaml/xml/util/AttributeMap.class)' is broken
[error] (class java.lang.RuntimeException/bad constant pool index: 0 at pos: 12058)
Explicitly adding a dependency jcip-annotations-1.0.jar
resolved the issue.
Source: stackoverflow.com
Related Query
- Class broken error with Joda Time using Scala
- Using Joda Time in Scala (scalaj-time) with IntelliJ IDEA
- How to update a mongo record using Rogue with MongoCaseClassField when case class contains a scala Enumeration
- Unsupported version error using JTDS with Scala
- Read CSV in Scala into case class instances with error handling
- Using new with Scala final case class
- Using ListView from Scala 2.9.2 with Java 7 gives compile error
- How to create new instance of Scala class with context bound via Java reflection using only zero argument constructor?
- Scala Case class matching compile error with aliased inner types?
- Building a project with mixed Scala and Java source files using Ant - illegal cyclic reference error
- scala macro Unknown type error with java bean class creation
- Scala date time convertion using joda datetime
- Scala class constructor default arguments with expression using previous members
- How to bind a class that extends a Trait with a monadic type parameter using Scala Guice?
- unsupportedOperationException Error converting string to DateTime using Joda time
- Compatibility Error When Using Scala SBT with Code Coverage
- using stanford nlp in spark, error " Class java.util.function.Function not found - continuing with a stub."
- How to convert the dd/mm/yyyy to yyyymmdd in scala by using joda time
- Problem on error highlight using IntelliJ 10 CE with the scala plug-in
- Using -= with incompatible types (Double and DenseVector) causes strange scala compiler error
- Facing error while extending scala class with Product interface to overcome limit of 22 fields in spark-shell
- Why am I getting a SQLITE_ERROR using SQLite3 with Scala Slick & Joda DateTime?
- Bad class file error when using Scala 2.8.x (2.8.0 and 2.8.1) in Javafx 1.x (1.2 and 1.3.1)
- Using Java generic class with raw types in Scala
- Scala strange error when using foldRight with operator syntax
- How to check with LocalDateTime that a given time is within 24 hours of now using Scala
- Sbt compile error with poi-ooxml-schemas-3.9.jar using Scala
- Parse json array to a case class in scala using playframework with the fields in json not matching the fields in case class
- Class needs to be abstract error while using traits in scala
- Compilation error with bounded wildcards using Java classes in Scala
More Query from same tag
- Need help decoding following json with Circe
- How can I get NumberFormat to use a currency but with fractional cents/pennies?
- Scala, Casbah: MongoCollection.insert compilation errors
- Why is method overloading not defined for different return types?
- CollectionConverters always return the original source object?
- Creating a struct field in a row of a dataframe
- Transforming Scala varargs into Java Object... varargs
- scala: How to get the class in its own constructor
- Scala 2.8.1 => 2.9.2 RangeByOne NoSuchMethod error
- Scala - Play: how to nicely handle WS get exception
- object scala in compiler mirror not found - running Scala compiler programmatically
- Disabling analysis build.sbt in IntelliJ Scala plugin
- Typesafe config: encryption/obfuscation of sensitive values in memory
- Scala - defining own infix operators
- Difference in Scala between abstracting class versus method
- VS Code execute current line or selection to in the integrated console
- ReactiveMongo: single connection pool instance Vs many connection pool instances Vs multiple connection pools
- scala api design: can i avoid either an unsafe cast or generics
- Formatting binary values in Scala
- Why is Lombok in a Scala case class inaccessible in a Java class when using Mixed project?
- [play 2.1.4][scala 2.10] I write an simple index.scala.html, I want to set an parameter with default value but fail
- Create new column with an array of range of numbers
- How to resolve implicit lookup by bounded generic?
- Scala - build with hashmap
- Warning about an unchecked type argument in this Scala pattern match?
- IntelliJ IDEA 13 community edition with Scala
- type parameter mismatch with WeakTypeTag reflection + quasiquoting (I think!)
- Efficiency of Source.fromFile
- What's the benefit of Scala (singleton) object vs. typical class level artifacts
- Spark: java.io.NotSerializableException: org.apache.avro.Schema$RecordSchema