You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@felix.apache.org by gharbi jjjj <el...@yahoo.fr> on 2010/08/19 15:55:54 UTC
Re : problem encountred
Thanks a lot, it works !
Yours sincerly,
Atef.
________________________________
De : Richard S. Hall <he...@ungoverned.org>
À : users@felix.apache.org
Envoyé le : Jeu 19 août 2010, 13h 53min 28s
Objet : Re: problem encountred
I would guess you have put your .java files in separate directories,
so when you compile them with "javac *.java" you are not actually
compiling all of them.
The example assumes all source files are in the same directory...not
necessarily best practice, but it makes things simpler when working from
the command line for the tutorial.
-> richard
On 8/19/10 6:12, gharbi jjjj wrote:
> 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.
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org