Hello,
Short version, looking for more error details than provided.
Issue: Command line gradle compile works fine; IntelliJ can import and build fine. Eclipse reports the following error:
The type org.quartz.SchedulerException cannot be resolved. It is indirectly referenced from required .class files
If I change the JDT option to to make incomplete buildpath a warning instead of error; Eclipse now states: No exception of type JobExecutionException can be thrown; an exception type must be a subclass of Throwable
While JobExecutionException extends ScheduleException which extends java.land.Exception
From a UI perspective, completion works, and also opening the declaration (F3) for these classes.
Eclipse: Version: 2021-12
Gradle: 7.0
Java: openjdk version "11.0.13" 2021-10-19, OpenJDK Runtime Environment (build 11.0.13+8-Ubuntu-0ubuntu1.20.04), OpenJDK 64-Bit Server VM (build 11.0.13+8-Ubuntu-0ubuntu1.20.04, mixed mode, sharing)
OS: Ubuntu 20.04.3 LTS
I have tried explicit reference to all dependencies like below, and letting Gradle handle the transitive dependencies (here is the explicit list):
implementation
('org.quartz-scheduler:quartz:2.3.2')
implementation
group: 'com.mchange', name: 'c3p0', version: '0.9.5.5'
implementation group: 'com.mchange', name: 'mchange-commons-java', version: '0.2.20'
implementation group: 'com.zaxxer', name: 'HikariCP-java7', version: '2.4.13'
implementation group: 'org.slf4j', name: 'slf4j-api', version: '1.7.32'
I have verified the quartz-2.3.2.jar is present in the "Referenced jar files"; all listed dependencies per Quartz project have been verified as present, and I cannot find duplicates class/jar files.
I have tried to create a simple project only using the build files, with Hello World java code, and cannot repeat the error.
:Looking through the Eclipse site, I have yet to find any directions to "debug" the JDT compiler to find the actual underlying cause of the error I am seeing.
Any suggestions on how to track down the underlying issue?
Thanks,
Tim