-
Changes in Version 3.6.2 (2021-01-22)
Changes in Version 3.5.0 (2020-06-04)
Changes in Version 3.4.2 (2020-03-26)
Changes in Version 3.3.1 (2019-08-22)
Changes in Version 3.3.0 (2019-01-09)
Changes in Version 3.2.1 (2018-12-21)
Changes in Version 3.2.0 (2018-08-27)
Changes in Version 3.1.1 (2018-06-29)
Changes in Version 3.1.0 (2018-03-27)
Changes in Version 3.0.0 (2018-02-20)
Common Errors and Exceptions
This chapter shows some common errors and exceptions, which can occur when working with tapir, and shows you how to solve them.
Old Xtend Version
Error
Error during annotation processing:
java.lang.IllegalArgumentException: org.springframework.context.annotation.ComponentScan.Filter[] is not applicable at this location. Expected org.springframework.context.annotation.ComponentScan$Filter[]
at com.google.common.base.Preconditions.checkArgument(Preconditions.java:122)
at org.eclipse.xtend.core.macro.ConditionUtils.checkTypeName(ConditionUtils.java:80)
Solution
This error is a result of a Bug in Xtend, which is solved in Version 2.13. In order to avoid this problem, please make sure that your Eclipse contains Xtend >= 2.24.0. You might also want to consider to use the Eclipse installer, as the package contains already everything to start directly with tapir.
Missing Bootstrap configuration
Error
java.lang.IllegalStateException: The Spring application sources cannot be determined.
Solution
This error is usually the result of a missing bootstrap configuration. Each module in which you want to execute tests, needs a bootstrap configuration class as described in the Module chapter.
- Previous
- Next