[
https://issues.apache.org/jira/browse/CAMEL-17356?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17462573#comment-17462573
]
Claus Ibsen commented on CAMEL-17356:
-------------------------------------
Okay so it seems you are using windows, what version of windows is that
> Missing modification date inside camel jars
> -------------------------------------------
>
> Key: CAMEL-17356
> URL: https://issues.apache.org/jira/browse/CAMEL-17356
> Project: Camel
> Issue Type: Bug
> Affects Versions: 3.12.0, 3.13.0, 3.14.0
> Reporter: Elie Francis
> Priority: Major
> Fix For: 3.14.1
>
> Attachments: image-2021-12-20-12-53-54-723.png,
> image-2021-12-20-12-58-43-046.png
>
>
> Until version 3.11.2, the packaged jar file for each component had a
> modification date for each inner file. Starting from version 3.12.0, this
> "modification date" value is empty. The absence of date for this files
> affects Spring Boot applications at start-up time, because the class expect
> to have valid dates for all classes.
> Here is a screenshot for camel-core-engine v 3.11.2
> !image-2021-12-20-12-53-54-723.png!
> And here is another one for V 3.14.0
> !image-2021-12-20-12-58-43-046.png!
> The related error stack trace is here :
> {code:java}
> Exception in thread "main" java.time.DateTimeException: Invalid value for
> MonthOfYear (valid values 1 - 12): 0
> at java.time.temporal.ValueRange.checkValidValue(ValueRange.java:311)
> at
> java.time.temporal.ChronoField.checkValidValue(ChronoField.java:703)
> at java.time.LocalDate.of(LocalDate.java:267)
> at java.time.LocalDateTime.of(LocalDateTime.java:336)
> at
> org.springframework.boot.loader.jar.CentralDirectoryFileHeader.decodeMsDosFormatDateTime(CentralDirectoryFileHeader.java:127)
> at
> org.springframework.boot.loader.jar.CentralDirectoryFileHeader.getTime(CentralDirectoryFileHeader.java:116)
> at
> org.springframework.boot.loader.jar.JarEntry.<init>(JarEntry.java:58)
> at
> org.springframework.boot.loader.jar.JarFileEntries.getEntry(JarFileEntries.java:316)
> {code}
>
--
This message was sent by Atlassian Jira
(v8.20.1#820001)