Code was wrong after the try part. I was wrong when I modified the code to match the pdf.
Anyway, the project provided in the .zip does not work here (tried and rereretried), and I have no idea why ! Jeremy Isnard +41 79 378 99 72 +33 6 76 79 11 08 2013/10/4 Sang Shin <[email protected]> > On 10/4/2013 3:43 PM, Jeremy Isnard wrote: > >> Hi, >> >> The ready-to-open-and-run project FileInputOutput Stream throws an >> exception: >> > > I just ran it and it worked fine. Did you open the project with NetBeans? > > -S > > >> Exception in thread "main" java.lang.**NoClassDefFoundError: >> FileInputOutputStream >> Caused by: java.lang.**ClassNotFoundException: FileInputOutputStream >> at java.net.URLClassLoader$1.run(**URLClassLoader.java:202) >> at java.security.**AccessController.doPrivileged(**Native Method) >> at java.net.URLClassLoader.**findClass(URLClassLoader.java:**190) >> at java.lang.ClassLoader.**loadClass(ClassLoader.java:**306) >> at sun.misc.Launcher$**AppClassLoader.loadClass(**Launcher.java:301) >> at java.lang.ClassLoader.**loadClass(ClassLoader.java:**247) >> Java Result: 1 >> >> As the code is slightly different from the ppt I modified it accordingly, >> yet the exception is still thrown. >> >> Any idea where that could come from ? >> >> Thanks for your help, >> >> Regards, >> >> Jeremy Isnard >> +41 79 378 99 72 >> +33 6 76 79 11 08 >> -- >> You received this message because you are subscribed to the Google Groups >> "JPassion.com: Java Programming" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to >> jpassion_java+unsubscribe@**googlegroups.com<jpassion_java%[email protected]> >> . >> Visit this group at >> http://groups.google.com/**group/jpassion_java<http://groups.google.com/group/jpassion_java> >> . >> For more options, visit >> https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out> >> . >> > > > -- > ------------------------------**------------------------------**------- > Sang Shin, [email protected] > Founder and Chief Instructor of JPassion.com (JavaPassion.com) > > http://www.linkedin.com/in/**javapassion<http://www.linkedin.com/in/javapassion>(Linkedin) > http://twitter.com/javapassion (Tweeter) > Life is worth living... with Passion! > > Practically Free 3 to 5 days Live, Hands-on, Online Codecamps on > Java, HTML5, Ruby/Rails, Grails, JavaScript/jQuery, Spring, Android > http://jpassion.com/codecamps > ------------------------------**------------------------------**---------- > > -- You received this message because you are subscribed to the Google Groups "JPassion.com: Java Programming" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. Visit this group at http://groups.google.com/group/jpassion_java. For more options, visit https://groups.google.com/groups/opt_out.
