groupe-sii / ogham

Sending email, sms or whatever is a piece of cake
https://groupe-sii.github.io/ogham/
Apache License 2.0
21 stars 14 forks source link

Exception at startup #111

Open jimmyaug opened 1 year ago

jimmyaug commented 1 year ago

Hi, I get some exceptions when the project boots up. Mine is a simple springboot app to try this library

  1. org.reflections.ReflectionsException: could not get type for name org.thymeleaf.templateresolver.TemplateResolver at org.reflections.ReflectionUtils.forName(ReflectionUtils.java:390) ~[reflections-0.9.11.jar:na]

  2. org.reflections.ReflectionsException: could not get type for name org.springframework.web.context.ServletContextAware at org.reflections.ReflectionUtils.forName(ReflectionUtils.java:390) ~[reflections-0.9.11.jar:na]

  3. org.reflections.ReflectionsException: could not get type for name org.thymeleaf.resourceresolver.IResourceResolver at org.reflections.ReflectionUtils.forName(ReflectionUtils.java:390) ~[reflections-0.9.11.jar:na]

This is the dependency I use

<dependency>
  <groupId>fr.sii.ogham</groupId>
  <artifactId>ogham-spring-boot-starter-email</artifactId>
  <version>3.0.0</version>
</dependency>

<dependency>
  <groupId>org.springframework.boot</groupId>
  <artifactId>spring-boot-starter-freemarker</artifactId>
</dependency>
<dependency>
  <groupId>org.springframework.boot</groupId>
  <artifactId>spring-boot-starter-thymeleaf</artifactId>
</dependency>
<dependency>
  <groupId>org.springframework.boot</groupId>
  <artifactId>spring-boot-starter-mail</artifactId>
</dependency> 

Any direction to resolve these exceptions is appreciated