Laird, thanks a lot for the reproducer! Now I finally undertand wha's going on . FYI if you add org.slf4j:slf4j-simple dependency and run the spring boot jar like: java -Dorg.jboss.logging.provider=slf4j -Dorg.slf4j.simpleLogger.log.org.jboss.weld=debug -jar target/weld-2254-1.0.0-SNAPSHOT.jar you get some debug info:
[main] INFO org.jboss.weld.Version - WELD-000900: 3.0.0 (Alpha17) |
[main] DEBUG org.jboss.weld.environment.deployment.discovery.DefaultBeanArchiveScanner - Resolved bean archive reference: /opt/source/weld/bugs/weld-2254/weld-2254/target/weld-2254-1.0.0-SNAPSHOT.jar!/BOOT-INF/classes for URL: jar:file:/opt/source/weld/bugs/weld-2254/weld-2254/target/weld-2254-1.0.0-SNAPSHOT.jar!/BOOT-INF/classes!/META-INF/beans.xml |
[main] DEBUG org.jboss.weld.Bootstrap - WELD-ENV-000032: Processing bean archive reference: /opt/source/weld/bugs/weld-2254/weld-2254/target/weld-2254-1.0.0-SNAPSHOT.jar!/BOOT-INF/classes |
[main] DEBUG org.jboss.weld.environment.deployment.discovery.FileSystemBeanArchiveHandler - Handle path: /opt/source/weld/bugs/weld-2254/weld-2254/target/weld-2254-1.0.0-SNAPSHOT.jar!/BOOT-INF/classes |
[main] DEBUG org.jboss.weld.environment.deployment.discovery.FileSystemBeanArchiveHandler - Handle nested archive |
File: /opt/source/weld/bugs/weld-2254/weld-2254/target/weld-2254-1.0.0-SNAPSHOT.jar |
Path: /opt/source/weld/bugs/weld-2254/weld-2254/target/weld-2254-1.0.0-SNAPSHOT.jar!/BOOT-INF/classes
|
So the bean archive reference (beans.xml path) is: /.../weld-2254/weld-2254/target/weld-2254-1.0.0-SNAPSHOT.jar!/BOOT-INF/classes And nested zip entry name is: /BOOT-INF/classes I'm going to add some notes to your PR. It will need some modifications. |