• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Knute Snortum
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Piet Souris
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

WSAD overwriting MANIFEST.MF

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a WAR and an EAR project. My library jars (i.e. Struts, log4j, etc) are in the EAR. I entered a classpath entry in the WAR's META-INF/MANIFEST.MF to point to the EAR's jar files, and therefore the application compiles correctly.

But when I try to run it, it fails to load the classes from the EAR's jars.

I test-exported the EAR, and I discovered that both manifest.mf for the EAR and WAR get overwritten with empty manifests. I suspect this is what happens when I try to just run it.

This is obviously a bug, can anyone suggest a cure?
(I hope it is not a flu shot, since those are scarce this year
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!