This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
to reproduce right click on build.xml -> run target . Gives the following error: java.lang.NoClassDefFoundError: and Caused by: java.lang.ClassNotFoundException: and at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) Exception in thread "main" java.io.FileNotFoundException: C:\Documents and Settings\My directory\My Documents\NetBeansProjects\trunk\platform\mytest\junitvmwatcher319211358.properties (The system cannot find the file specified) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:106) at java.io.FileReader.<init>(FileReader.java:55) Moving the project to another directory solved the issue.
What type of project do you use? If it's a freeform project can you provide build.xml?
I have the same question too. I checked out project from CVS that the project was created and modified by NitroX(Eclipse 3.1). When I run test in order to initial some data to DB, the error happens. There are three JDKs in my platform(WinXP sp2), 1.6.0_06, 1.5.0_10, 1.4.2_13. The project works base on JDK1.4 and J2EE1.4. em, i'm not sure if it was concerned that OS reports a error of Java.exe before the question question appears. sorry, my poor english. I expect our experts to fix it up asap. thx.
rickqin: can you provide more info about the error you've got - screen shots, log etc... thank you
Created attachment 62733 [details] to run a test
Created attachment 62735 [details] Error report from JUnit
Created attachment 62737 [details] error output contents and my build-impl.xml file of the project.
I have found similar problem, reported in this issue 125547. Does it your case as well - mixed ant version ? http://mail-archives.apache.org/mod_mbox/ant-dev/200612.mbox/%3Cen4hco$li5$1%40sea%2Egmane%2Eorg%3E
no additional info provided. I will mark this issue as worksforme but if this issue appears again, don't hesitate and reopen it with required info.