This content has been marked as final. Show 4 replies
Fist, when we add struts.jar to the EAR the class-Loader doesnt find it.
Try placing the jars in EAR/lib folder. The jars in EAR/lib folder will be available to all components in the EAR.
So why does on Project find the Class in the Jar, and the other doesnt ?
Just a guess, maybe the other project uses the Classpath attribute MANIFEST.MF of the jar(s) to point to the struts jar?
Which Manifest.mf do you mean ? The one from the EAR ? They are both empty :
Manifest-Version: 1.0 Class-Path:
Well...i created an lib Folder in the EAR and put all jar's in it.
And now everything works in the new Project.
But i dont know why the old Project works when there all jar's are just in the root of the EAR and not in a lib-Folder ?
Anyone can explain this :)?