adt4j icon indicating copy to clipboard operation
adt4j copied to clipboard

Including adt4j on the annotation class path yields errors

Open talios opened this issue 6 years ago • 2 comments

Restructuring my build and when I add adt4j to the annotation class path I get the following error:

[ERROR] Unexpected exception. This seems like a bug in ADT4J, please report it at 
https://github.com/sviperll/adt4j/issues with the following details:
[ERROR]   com.sun.tools.javac.code.Symbol$CompletionFailure: class file for 
org.joda.convert.FromString not found

My project doesn't include joda-convert anywhere, I tried including it's jar also on the annotation classpath to no joy, and also adding it as a direct dependency of the maven-compiler-plugin but also no joy.

talios avatar Apr 21 '18 00:04 talios

Interesting - this worked fine on another one of my modules that included adt4j. I'll investigate further, it may be something on our end with how the projects laid out.

talios avatar Apr 21 '18 00:04 talios

Looks like added a direct dependency on joda-convert resolved the issue ( we ban transitive deps as a rule ) but it seems what/how adt4j does it's thing, didn't like the missing dep.

Maybe update the error message to include something like "check your build dependencies/classpath before reporting."

talios avatar Apr 21 '18 00:04 talios