|
|
|
|
|
Re: Problem resolving @PostConstruct and @PreDestroy [message #1785206 is a reply to message #1785154] |
Tue, 10 April 2018 22:57 |
Marcelo Ruiz Messages: 80 Registered: April 2017 |
Member |
|
|
For anyone having this problem, following Tom's guidance, I solved the problem doing the following:
- I downloaded the javax.annotation version 1.2.0
- Created a plugin project with existing Jar files
- Verified in the manifest all the packages exported (Exported Packages in Runtime Tab)
- Build this new wrapper project
- Created a new repository in Package-Drone for javax.annotation version 1.2.0
- Upload the built jar file to Package-Drone
- Configured the Channel as P2 repository (follow Package Drone guide)
- Edited the Runtime Target and added the new P2 repository
- Reloaded the Runtime Target
- Cleaned all the projects
- On the compile error for the annotations I selected find libraries and double clicked on the displayed new library
After that, Eclispe can finally compile the RCP Project.
I nope this helps anyone having the same problem!
Edit: Altough I can compile and run the project with Eclipse, Maven is unable to find the Annotations... So this is actually not a solution
[Updated on: Mon, 16 April 2018 23:23] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.03789 seconds