If webapp is structured in below structure, it fails to deploy in weblogic 12c MainApp
_________WEB-INF/lib |
_______ abc.jar |
______ beans.xml |
Error from weblogic logs is : <org.jboss.weld.environment.deployment.discovery.DefaultBeanArchiveScanner> <BEA-000000> <Unable to adapt URL: zip:/Programming/Runtime/workspaces/fusion_halidon_1/.metadata/.plugins/org.eclipse.core.resources/.projects/WeldTest/beadep/eclispe_common/WeldTest/WEB-INF/lib/KMWeldDependecy.jar!/META-INF/beans.xml, using its external form instead>
- Possible reason is DefaultBeanArchiveScanner doesn't support the beans.xml url with zip prefix. Even though it can be parsed same as jar prefix.
|