我试着从Jenkins搬到蔚蓝,但建筑( mvn clean package
)失败于 @Value("${.id:#{T(java.util.UUID).randomUUID()}}") private UUID ;
出现以下错误消息:
Caused by: java.lang.IllegalArgumentException: Invalid UUID string: 607
at java.base/java.util.UUID.fromString(UUID.java:215)
at org.springframework.beans.propertyeditors.UUIDEditor.setAsText(UUIDEditor.java:37)
at org.springframework.beans.TypeConverterDelegate.doConvertTextValue(TypeConverterDelegate.java:429)
at org.springframework.beans.TypeConverterDelegate.doConvertValue(TypeConverterDelegate.java:402)
at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:155)
at org.springframework.beans.TypeConverterSupport.convertIfNecessary(TypeConverterSupport.java:73)
在jenkins和我的本地机器上,构建完成时没有错误。有没有人知道这里发生了什么,或者有没有遇到过类似的问题?
java:11 maven:3.6.2
暂无答案!
目前还没有任何答案,快来回答吧!