What version of Java are you using on Windows, and what flavour/version is your 
OSGi framework? It’s possible that the JVM you are using is too new to be 
recognised by an older framework implementation, and could result in it failing 
to match ee requirements. 

Tim

> 
> On 25 Oct 2021, at 06:03, JB Onofré <[email protected]> wrote:
> 
> 
> Use <_noee>true</_noee> on maven-bundle-plugin wrapping to avoid the 
> requirement. 
> 
> It’s because the JRE wrapping tag name could be different. 
> 
> Regards 
> JB
> 
>>> Le 25 oct. 2021 à 06:57, Paul Fraser <[email protected]> a écrit :
>>> 
>> 
>> Hi,
>> 
>> I am using a Vaadin addon ckeditor-vaadin_2.2.0, karaf 4.3.3, intellij 
>> latest.
>> 
>> The addon specifies java 11 in the pom
>> 
>>             <plugin>
>>                 <artifactId>maven-compiler-plugin</artifactId>
>>                 <version>3.8.1</version>
>>                 <configuration>
>>                     <release>11</release>
>>                 </configuration>
>>             </plugin>
>>  
>> It has to be wrapped by karaf. 
>> 
>> system runs OK in linux mint but fails in Windows as follows-
>> 
>>     [caused by: Unable to resolve  
>>     
>> wrap_file__C__Users_paulf_qneCustomKaraf_karaf_data_kar_qaddonbaseweb-0.0.1_com_wontlost_ckeditor-vaadin_2.2.0_ckeditor-
>>             vaadin-2.2.0.jar/0.0.0:  
>>     missing requirement 
>> [wrap_file__C__Users_paulf_qneCustomKaraf_karaf_data_kar_qaddonbaseweb-0.0.1_com_wontlost_ckeditor-
>>             vaadin_2.2.0_ckeditor-vaadin-2.2.0.jar/0.0.0]  
>>     osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=11))"]]] 
>> 
>> How can this be handled in karaf?
>> 
>> Paul Fraser

Reply via email to