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
Post a Comment