Skip to main content

Posts

Showing posts from March, 2017

Quartz Scheduler ... Caused by: java.lang.IncompatibleClassChangeError: Found interface org.quartz.JobDetail, but class was expected

Remove              <dependency>             <groupId>quartz</groupId>             <artifactId>quartz</artifactId>             <version>1.6.0</version>             <type>jar</type>         </dependency> and replace with                    <dependency>             <groupId>org.quartz-scheduler</groupId>             <artifactId>quartz</artifactId>             <version>2.2.3</version>         </dependency>

Not generating any bean definitions from... because of underlying class loading error: Type .... from Service Module Loader] not found

This error is common with JBoss module dependencies. I fixed this issue by adding jboss-structure.xml to my src project directory and adding the missing module to the dependencies node. An example of the file's content is below: <?xml version="1.0" encoding="UTF-8"?> <jboss-deployment-structure>   <deployment>     <dependencies>         <module name="location.missingdependency.jar" services="export" />     </dependencies>   </deployment> </jboss-deployment-structure> Just to mention that this issue was experienced with the EJB jar. For a normal jar/WAR file, a manifest.ft file will do.