Reputation: 313
I want to use Primefaces in karaf. For that i combined the karaf-war-example with pax-web-primefaces-example and get a working karaf-feature which can be found at bitbucket.
The example works fine, but when i want to extend the project with any other primeface-example, like clock, ThemeSwitcher or a Panel, it not works correct.
So far i found out that i need to add javax.annotations as dependency. This compile correct, but shows not the expected results in browser. Maybe the missing views are broken because the javax.annotations is not added to the lib-folder in war. But i added it manually to the war and get no progress.
Rendering is
but should look like
I am not so skilled in osgi and felix that i not understood what is needed. Also i have the problem that no exception occurs, so i have no hint where i should look at.
Upvotes: 1
Views: 133