Good morning,

I have tried to follow the second example given in the URL : 
http://felix.apache.org/site/apache-felix-tutorial-example-2.html

I have created the arborescence like this
- tutorial
    - example 2
        - service
             DictionaryService.java
    activator.java
    manifest.mf


the different files are the same like the tutorial (using copy-paste).

when I compile, three errors are revealed as is shown below :

"tutorial\example2\Activator.java:10: package tutorial.example2.service does not
exist
import tutorial.example2.service.DictionaryService;
                                 ^
tutorial\example2\Activator.java:50: cannot find symbol
symbol  : class DictionaryService
location: class tutorial.example2.Activator
    private static class DictionaryImpl implements DictionaryService
                                                   ^
tutorial\example2\Activator.java:33: cannot find symbol
symbol  : class DictionaryService
location: class tutorial.example2.Activator
            DictionaryService.class.getName(), new DictionaryImpl(), props);"

What is the mistake that I had to pay attention ?

Yours sincerly,

Atef.


      

Reply via email to