I seems like you have not created the TestSerialMsg.java using mig, have you?
Zé Pedro Espogeira escribió: > Hi to all > > although im able to compile and install TestSerial in a mote, im having > problems compiling TestSerial java application, i think Classpath is > correct > export CLASSPATH=$TOSROOT/support/sdk/java/tinyos.jar > > but when compiling whith javac comand this is errors are shown > > z...@ze-laptop:/opt/tinyos-2.1.0/apps/tests/TestSerial$ javac TestSerial.java > TestSerial.java:45: cannot find symbol > symbol : class TestSerialMsg > location: class TestSerial > this.moteIF.registerListener(new TestSerialMsg(), this); > ^ > TestSerial.java:50: cannot find symbol > symbol : class TestSerialMsg > location: class TestSerial > TestSerialMsg payload = new TestSerialMsg(); > ^ > TestSerial.java:50: cannot find symbol > symbol : class TestSerialMsg > location: class TestSerial > TestSerialMsg payload = new TestSerialMsg(); > ^ > TestSerial.java:69: cannot find symbol > symbol : class TestSerialMsg > location: class TestSerial > TestSerialMsg msg = (TestSerialMsg)message; > ^ > TestSerial.java:69: cannot find symbol > symbol : class TestSerialMsg > location: class TestSerial > TestSerialMsg msg = (TestSerialMsg)message; > ^ > 5 errors > > You have any idea wht to do ? > Another question, is this the reason why when i do "java TestSerial" the > following happens? > > Exception in thread "main" java.lang.NoClassDefFoundError: TestSerial > ... > ... > > Im sorry to bring this question again but im still trying to solve and > cant find what more to do! > Thanks to all > > > ------------------------------------------------------------------------ > Novo Internet Explorer 8: traduza com apenas um clique. Baixe agora, é > grátis! > <http://brasil.microsoft.com.br/IE8/mergulhe/?utm_source=MSN%3BHotmail&utm_medium=Tagline&utm_campaign=IE8> > > > ------------------------------------------------------------------------ > > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help -- Ruben Rios _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
