• Post Reply Bookmark Topic Watch Topic
  • New Topic

NetBean EJB Client Application failed to build  RSS feed

 
gah hon
Greenhorn
Posts: 28
C++ Chrome Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


This is the error message when I am done to "Clean & Build" every project and deploy the Enterprise Application. Then I go to "Run" Client Application, this is the error I got. I research the internet, I had tried many methods but still can't find the right solution.

ClientApplication:-


GlassFish:-



Since the glassfish log said that Week_2_2.jar does not exist in the path, but I do have check the path and the jar file is existed. So I am not sure what is going on.

 
Paul Clapham
Sheriff
Posts: 22185
38
Eclipse IDE Firefox Browser MySQL Database
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Specified library jar Week_2_2.jar does not exist: C:\Users\JACK%20WONG\Documents\NetBeansProjects\Week_2_2\dist\Week_2_2.jar


You said the jar does exist; but did you look for "C:\Users\JACK%20WONG\Documents\NetBeansProjects\Week_2_2\dist\Week_2_2.jar" or did you look for "C:\Users\JACK WONG\Documents\NetBeansProjects\Week_2_2\dist\Week_2_2.jar"? You'll notice that some URL-encoding has been done, and perhaps it was done incorrectly. And that URL-encoding, if it's incorrect, is probably not under your control. So you could consider not putting the jar in a path whose name contains a space.
 
gah hon
Greenhorn
Posts: 28
C++ Chrome Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Paul Clapham wrote:
Specified library jar Week_2_2.jar does not exist: C:\Users\JACK%20WONG\Documents\NetBeansProjects\Week_2_2\dist\Week_2_2.jar


You said the jar does exist; but did you look for "C:\Users\JACK%20WONG\Documents\NetBeansProjects\Week_2_2\dist\Week_2_2.jar" or did you look for "C:\Users\JACK WONG\Documents\NetBeansProjects\Week_2_2\dist\Week_2_2.jar"? You'll notice that some URL-encoding has been done, and perhaps it was done incorrectly. And that URL-encoding, if it's incorrect, is probably not under your control. So you could consider not putting the jar in a path whose name contains a space.


Yeah. I was looking for JACK WONG instead of JACK%20WONG.
Therefore, I move the entire project to another location and re-assign the library. And everything is work fine as expected. Thanks for your suggestion. =]
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!