Hi All,
I am new to the Java world and was going through the first webapplication 
exercise after installing the net-beans. Upon creating the first 
webapplication, I am getting following issues with the newt-beans.
1) Resolve reference Problem:
"junit" library could not be found and "junit_4" library could not be found.
When I tried to run this first web-app, I got the following error.
java.io.IOException: Cannot run program 
"${platforms.default_platform.home}\bin\java" (in directory 
"C:\Users\Rayesh\Documents\NetBeansProjects\WebApplication2"): CreateProcess 
error=2, The system cannot find the file specified        at 
java.lang.ProcessBuilder.start(ProcessBuilder.java:460)        at 
java.lang.Runtime.exec(Runtime.java:593)        at 
org.apache.tools.ant.taskdefs.Execute$Java13CommandLauncher.exec(Execute.java:827)
        at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:445)       
 at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:459)        at 
org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:635)        at 
org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:676)        at 
org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:502)        at 
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)        at 
sun.reflect.GeneratedMethodAccessor89.invoke(Unknown Source)        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)        at 
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)     
   at org.apache.tools.ant.Task.perform(Task.java:348)        at 
org.apache.tools.ant.Target.execute(Target.java:390)        at 
org.apache.tools.ant.Target.performTasks(Target.java:411)        at 
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1397)        at 
org.apache.tools.ant.Project.executeTarget(Project.java:1366)        at 
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1249)       
 at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:281) 
       at 
org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:539)     
   at 
org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:154)Caused 
by: java.io.IOException: CreateProcess error=2, The system cannot find the file 
specified        at java.lang.ProcessImpl.create(Native Method)        at 
java.lang.ProcessImpl.<init>(ProcessImpl.java:81)        at 
java.lang.ProcessImpl.start(ProcessImpl.java:30)        at 
java.lang.ProcessBuilder.start(ProcessBuilder.java:453)        ... 22 moreBUILD 
FAILED (total time: 3 seconds)

Please, let me know where I am going wrong.
Thank you ,Rayesh                                         

-- 
You received this message because you are subscribed to the Google
Groups "Java EE (J2EE) Programming with Passion!" group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en

Reply via email to