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

javascript - Google App Script ContentService downloadAsFile not working -

javascript - Function overwritting -

c# - Exception when attempting to modify Dictionary -