Open mkwapisz opened 5 years ago
I solved that "WELD-ENV-000033: Invalid bean archive scanning result - found multiple results with the same reference" issue by removing beans.xml from test resources. I had another version in main resources, so it was a duplicate.
Hi, I tried to add weld-se to my javafx application. The problem is that now I cannot run it with javafx:run goal. I can easily do it with exec:java, so I think there can be a problem with this plugin.
My module-info file is as follows:
module CdiApp { requires cdi.api; }
Using the above module config and main which starts a cdi container:
SeContainer container = SeContainerInitializer.newInstance().initialize();
I get:
So I excluded jboss-interceptor-api from weld-se-core and simply added direct dependency to javax.interceptors-api in pom.xml and requires javax.interceptors.api to module-info.java
Now I get: