• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

NetBean EJB Client Application failed to build

 
Ranch Hand
Posts: 37
C++ Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.

 
Sheriff
Posts: 28401
100
Eclipse IDE Firefox Browser MySQL Database
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Ranch Hand
Posts: 37
C++ Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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. =]
 
reply
    Bookmark Topic Watch Topic
  • New Topic