[Importation] Import cannot be resolved
Salut,
Dans un projet eclipse je dois me servir de l'api JavaBluetooth, celle ci se trouvant dans bluetooth.jar.
Elle utilise javax.comm, qui se trouve dans comm.jar.
J'ai importer les deux jar (properties/librairies/add jars...).
Pourtant quand je run mon appli, j'obtient l'erreur suivante :
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
java.lang.Error: Unresolved compilation problems:
The import javax.comm cannot be resolved
The import javax.comm cannot be resolved
The import javax.comm cannot be resolved
The import javax.comm cannot be resolved
The import javax.comm cannot be resolved
The import javax.comm cannot be resolved
The import javax.comm cannot be resolved
SerialPortEventListener cannot be resolved or is not a valid superinterface
CommPortIdentifier cannot be resolved or is not a type
CommPortIdentifier cannot be resolved
CommPortIdentifier cannot be resolved
SerialPort cannot be resolved or is not a type
SerialPort cannot be resolved
SerialPort cannot be resolved
SerialPort cannot be resolved
NoSuchPortException cannot be resolved or is not a type
SerialPortEvent cannot be resolved (or is not a valid type) for the argument event of the method serialEvent
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at org.javabluetooth.stack.hci.UARTTransport.<init>(UARTTransport.java:25)
at Test.main(Test.java:34)
Exception in thread "main" |
Si quelqu'un voit d'où ca vient....
merci d'avance.