Jboss AS7 Deployment warning : does not point to a valid jar for a Class-Path reference
jboss, jboss7.x, wildfly
Solution
This is just a warning that you can in most cases safely ignore.
What it tells you is that in your struts-1.2.9.jar has in META-INF/MANIFEST.MF in Class-Path reference to "commons-beanutils.jar" and that this file/jar cannot be referenced. But given that you have commons-beanutils-1.7.0.jar there everything will work fine.
To get rid of the warning you can do two things:
- rename commons-beanutils-1.7.0.jar to commons-beanutils.jar or
- open struts-1.2.9.jar!META-INF/MANIFEST.MF and remove that Class-Path element.
But as I said this is mostly informative warning.
Problem
Im getting the below warning when deploy the .war in the jboss AS7. Any idea? (MSC service thread 1-4) Class Path entry commons-beanutils.jar in "/content/test-1.0.0.war/WEB-INF/lib/struts-1.2.9.jar" does not point to a valid jar for a Class-Path reference. PS. commons-beanutils-1.7.0.jar is already in the lib folder.