gpt4 book ai didi

java - Jetty_run错误java.lang.TypeNotPresentException : Type javax.annotation.meta.When不存在

转载 作者:行者123 更新时间:2023-12-01 17:29:59 27 4
gpt4 key购买 nike

项目在 IntelliJ IDEA 2018.1.1 和 JDK 1.8.0_221 中成功运行当我们的新同事尝试在 IntelliJ IDEA 2019.1.1 中启动它时,他们都遇到了错误:

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'postgresqlEntityManager' defined in com.configuration.PostgresqlConfiguration: Invocation of init method failed; nested exception is java.lang.TypeNotPresentException: Type javax.annotation.meta.When not present

您有解决办法吗?

最佳答案

这对我们有帮助:

    <dependency>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
<version>3.0.2</version>
</dependency>

关于java - Jetty_run错误java.lang.TypeNotPresentException : Type javax.annotation.meta.When不存在,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/61140322/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com