Jboss AS7 Deployment warning : does not point to a valid jar for a Class-Path reference

前端 未结 1 1620
情话喂你
情话喂你 2020-12-08 06:18

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.

相关标签:
1条回答
  • 2020-12-08 07:08

    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.

    0 讨论(0)
提交回复
热议问题