J'ai 2 projets dans netbeans, une application j2me et une application scala J'ai inclus le fichier jar compilé de l'application scala comme ressource pour l'application j2me.Application mobile netbeans java et application scala
Ceci est le résultat:
Created dir: C:\Users\Para\Documents\NetBeansProjects\Barbut\build\compiled
Expanding: C:\Users\Para\Documents\NetBeansProjects\ScalaLogic\dist\ScalaLogic.jar into C:\Users\Para\Documents\NetBeansProjects\Barbut\build\compiled
do-compile:
Compiling 1 source file to C:\Users\Para\Documents\NetBeansProjects\Barbut\build\compiled
C:\Users\Para\Documents\NetBeansProjects\Barbut\build\compiled\MainLogic\Test.class: warning: Cannot find annotation method 'bytes()' in type 'scala.reflect.ScalaSignature': class file for scala.reflect.ScalaSignature not found
1 warning
post-compile:
compile:
pre-obfuscate:
proguard-init:
skip-obfuscation:
proguard:
post-obfuscate:
obfuscate:
lwuit-build:
pre-preverify:
do-preverify:
Created dir: C:\Users\Para\Documents\NetBeansProjects\Barbut\build\preverifysrc
Copying 2 files to C:\Users\Para\Documents\NetBeansProjects\Barbut\build\preverifysrc
Created dir: C:\Users\Para\Documents\NetBeansProjects\Barbut\build\preverified
Preverifying 2 file(s) into C:\Users\Para\Documents\NetBeansProjects\Barbut\build\preverified directory.
Error preverifying class MainLogic.Test
java/lang/NoClassDefFoundError: scala/ScalaObject
C:\Users\Para\Documents\NetBeansProjects\Barbut\nbproject\build-impl.xml:472: Preverification failed with error code 1.
BUILD FAILED (total time: 9 seconds)
Est-ce que quelqu'un a une idée ce qui va mal? merci
Comment l'avez-vous ajouté aux ressources? selon le compilateur, il n'est pas dans classpath. –