Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@lombok.experimental.Delegate, causing an error #446

Closed
pengsoftdotcom opened this issue Jan 17, 2019 · 6 comments
Closed

@lombok.experimental.Delegate, causing an error #446

pengsoftdotcom opened this issue Jan 17, 2019 · 6 comments

Comments

@pengsoftdotcom
Copy link

An internal error occurred during: "P3C Code Analysis".
javax/annotation/Generated

@kerie
Copy link
Contributor

kerie commented Jan 22, 2019

@pengsoftdotcom 请提供一下详细的错误信息和截图。

@pengsoftdotcom
Copy link
Author

pengsoftdotcom commented Jan 22, 2019 via email

@xuantan
Copy link
Contributor

xuantan commented Feb 19, 2019

@imu2008 看下这个问题哈

@imu2008
Copy link
Contributor

imu2008 commented Feb 19, 2019

@pengsoftdotcom 看起来像是sts、jdk11和p3c插件版本不兼容导致,建议试试更换一下jdk版本或者sts版本。

@ghost
Copy link

ghost commented Mar 12, 2019

Is it possible to make p3c compatible with pmd 3.11.0 and jdk11 ?

@vision-ken
Copy link

这个原因是因为STS使用了1.8以上的JDK,新版本的JDK不再支持javax.annotation.Generated。

解决方案:

修改com.alibaba.smartfox.eclipse.plugin/META-INF/MANIFEST.MF,在Bundle-ClassPath下增加依赖 target/lib/javax.annotation-api.jar

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants