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

run exception on pf4j-spring demo #71

Closed
3fong opened this issue Feb 26, 2022 · 0 comments
Closed

run exception on pf4j-spring demo #71

3fong opened this issue Feb 26, 2022 · 0 comments

Comments

@3fong
Copy link
Contributor

3fong commented Feb 26, 2022

when very first run pf4j-spring demo you will get some fails:
1 if you use some high jdk version ,like 11.0.13,then you will get the fail: package javax.annotation does not exist in .
error detail:

[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /D:/git_repo/demo/pf4j-spring/pf4j-spring/src/main/java/org/pf4j/spring/SpringPluginManager.java:[25,24] 程序包javax.annotation不存在
[ERROR] /D:/git_repo/demo/pf4j-spring/pf4j-spring/src/main/java/org/pf4j/spring/SpringPluginManager.java:[65,6] 找不到符号
  符号:   类 PostConstruct
  位置: 类 org.pf4j.spring.SpringPluginManager

2 lack the reference of java.util.List in org.pf4j.spring.SpringPluginManager

@3fong 3fong changed the title running pf4j-spring demo is fail when you run pf4j-spring demo you will get some fails Feb 26, 2022
@3fong 3fong changed the title when you run pf4j-spring demo you will get some fails run exception on pf4j-spring demo Feb 26, 2022
decebals pushed a commit that referenced this issue Mar 3, 2022
* fix: high jdk version lack the package of javax.annotation; add "import java.util.List" at SpringPluginManger
* update: add jdk[1.9,+) profile to fix compile error: javax.annotation lack
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

2 participants