Re: Converting HelloWeb.class to HelloWeb.tini
Thomas Chenot <tom.chenot-6tN4nzCoH/[email protected]>
| Newsgroups | gmane.comp.hardware.microcontrollers.tini |
|---|---|
| Message-ID | <[email protected]> |
Michael Dawe wrote: >Hi, > >I'm having a bit of trouble with the above (converting .class to .tini) > >I initially tried the conversion using the template from Dan Loomis but came up with the error as shown below > See http://lists.dalsemi.com/maillists/tini/2004-April/031160.html > > >///////////////////////////////////////////////////////////////////////// > >C:\>java -classpath c:\tini\bin\tini.jar TINIConvertor -f HelloWeb.class -d c:\t >ini\bin\tini.db -o HelloWeb.tini >TINIConvertor (KLA) >Version 1.31 for TINI 1.1 >Built on or around August 27, 2003 >Copyright (C) 1996 - 2003 Dallas Semiconductor Corporation. >Loading class HelloWeb.class from file C:\\HelloWeb.class >Could not finish loading: java.lang.ClassNotFoundException: Could not find the c >lass com/dalsemi/tininet/http/HTTPServer >Exception caught: java.lang.RuntimeException: Could not finish loading: java.lan >g.ClassNotFoundException: Could not find the class com/dalsemi/tininet/http/HTTP >Server >java.lang.RuntimeException: Could not finish loading: java.lang.ClassNotFoundExc >eption: Could not find the class com/dalsemi/tininet/http/HTTPServer > at com.dalsemi.system.classloader.TINIClassLoader.beginLoading(TINIClass >Loader.java:142) > at com.dalsemi.TINIConvertor.go(TINIConvertor.java:725) > at com.dalsemi.TINIConvertor.main(TINIConvertor.java:324) > at TINIConvertor.main(TINIConvertor.java:16) >Exception in thread "main" java.lang.RuntimeException: Could not finish loading: > java.lang.ClassNotFoundException: Could not find the class com/dalsemi/tininet/ >http/HTTPServer > at com.dalsemi.system.classloader.TINIClassLoader.beginLoading(TINIClass >Loader.java:142) > at com.dalsemi.TINIConvertor.go(TINIConvertor.java:725) > at com.dalsemi.TINIConvertor.main(TINIConvertor.java:324) > at TINIConvertor.main(TINIConvertor.java:16) > >C:\> >///////////////////////////////////////////////////////////////////// > > >I had noticed that some people on the list had had this problem in the past and had solved it using BuildDependancy >So I tried this...as shown below > > >\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ >C:\>java BuildDependency -f HelloWeb.class -o HelloWeb.tini -d tini.db -addHTTPS >ERVER -p c:\tini\bin\modules.jar >Exception in thread "main" java.lang.NoClassDefFoundError: BuildDependency > >C:\> >/////////////////////////////////////////////////////////////////////// > >But to no avail > >All of the other basic conversions from .java to .class to .tini have worked without a hitch >(ie helloworld and blinky) > >Do i need to add something to my class path? If so, where, and how? >Where is BuildDependency located? > >Am using a Tini400, tstick.72 > >Hoping you can help out > >Cheers >Mike > >_______________________________________________ >TINI mailing list >TINI-6tN4nzCoH/[email protected] >To UNSUBSCRIBE, edit your profile, or see list archives: >http://lists.dalsemi.com/mailman/listinfo/tini > > > -- Thomas Chenot _______________________________________________ TINI mailing list TINI-6tN4nzCoH/[email protected] To UNSUBSCRIBE, edit your profile, or see list archives: http://lists.dalsemi.com/mailman/listinfo/tini