ERROR in the build-impl.xml line 401 in a simple application

View: New views
4 Messages — Rating Filter:   Alert me  

ERROR in the build-impl.xml line 401 in a simple application

by glassfish-2 :: Rate this Message:

| View Threaded | Show Only this Message

Greetings to the community!

Recently, I downloaded from the netbeans.org webpage and installed, with no problems, the Netbeans 6.7 bundled with glassfish in my linux Ubuntu.

Then, I executed the installation following the directions in the page.

Now, with the Nebeans opened , I just created a Web Application with nothing on it, just the Hello World! in the jsp template page and when I clicked on Run I got the following message:

Created dir: /home/antonio/java-practice/prueba_borrar6.7/build/empty
/home/antonio/java-practice/prueba_borrar6.7/nbproject/build-impl.xml:401: The following error occurred while executing this line:
/home/antonio/java-practice/prueba_borrar6.7/nbproject/build-impl.xml:224: org.netbeans.modules.java.source.ant.UserCancel
BUILD FAILED (total time: 0 seconds)

What it's kind of weird is that I have not done almost anything, no code, no nothing: I just installed the whole package, everything just fine, I have my JDK6, but when I add a new web application project and try to run it I receive that message.

I also have Netbeans 6.5 installed in my ubuntu and with it I was able to run it.

When I examined those lines in the mentioned filed (build-impl.xml) I noticed that in both lines (401 and 224) the javac word is present...

I'd really appreciate your help. Thanks for your time!!
Antonio.
[Message sent by forum member 'antonio_baez' (antonio_baez)]

http://forums.java.net/jive/thread.jspa?messageID=354775

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: ERROR in the build-impl.xml line 401 in a simple application

by glassfish-2 :: Rate this Message:

| View Threaded | Show Only this Message

I am getting the same build failed; however, I first uninstalled NetBeans 6.5.1.

Unfortunately, there is no information on this issue... but I'll keep looking!

Below is the output from my build file:

init:
deps-module-jar:
deps-ear-jar:
deps-jar:
library-inclusion-in-archive:
library-inclusion-in-manifest:

C:\opt\WebApplication12\nbproject\build-impl.xml:401: The following error occurred while executing this line:

C:\opt\WebApplication12\nbproject\build-impl.xml:224: org.netbeans.modules.java.source.ant.UserCancel
BUILD FAILED (total time: 0 seconds)



My JVM info:

C:\>java -version
java version "1.6.0_13"
Java(TM) SE Runtime Environment (build 1.6.0_13-b03)
Java HotSpot(TM) Client VM (build 11.3-b02, mixed mode, sharing)
[Message sent by forum member 'kjbaxter' (kjbaxter)]

http://forums.java.net/jive/thread.jspa?messageID=355161

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: ERROR in the build-impl.xml line 401 in a simple application

by glassfish-2 :: Rate this Message:

| View Threaded | Show Only this Message

Ok, now I am really questioning my own sanity!!!

I think I resolved this issue by creating a package in my project.  

Whenever I create a  project that does not have at least 1 package (I used com.company as an example), the build would succeed but the deploy to GlassFish 2.1 would fail.  

Is this really the case: projects should have at least 1 user-defined package?

Any useful feedback would be greatly appreciated.

Thanx,
-Kevin
[Message sent by forum member 'kjbaxter' (kjbaxter)]

http://forums.java.net/jive/thread.jspa?messageID=355167

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: ERROR in the build-impl.xml line 401 in a simple application

by glassfish-2 :: Rate this Message:

| View Threaded | Show Only this Message

i was also facing same problem but i just added a java file in Source Packages default package and the error is gone
[Message sent by forum member 'siddhartha_sahay' (siddhartha_sahay)]

http://forums.java.net/jive/thread.jspa?messageID=355220

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...