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: [email protected]
For additional commands, e-mail: [email protected]