maven - Displaying version and date of build in the xhtml page from manifest in run time -


            enumeration<url> resources = getclass().getclassloader()                             .getresources("meta-inf/manifest.mf"); 

//can't find resource name meta-inf/manifest.mf ?

the correct resource name /applications/projectname/meta inf/manifest.mf . replace projectname project name. updated code according below: . . enumeration resources = getclass().getclassloader() .getresources("/applications/projectname/meta inf/manifest.mf"); . .


Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -