I\'ve been looking for the workaround of this problem for rather plenty of time and no result, so I ask question here.
In Jetty 6 I need to create a WEB-INF/jetty-web.xml file which contains this: <Configure id=\"webAppCtx\" class=\"org.mortbay.jetty.webapp.WebAppContext\">
I tried to run the simple JEE6 application generated by maven archetype groupId: org.fluttercode.knappsack , artifactID: jee6-sandbox-archetype in JBoss7.
I\'m new to Weld and have been trying to get my head around it\'s concepts. I have a little experience with Spring and nothing with Guice, so I\'m pretty much a novice with the DI frameworks.
From reading the Weld docs I don\'t think this can be done, but I could really do with it, so thought I\'d ask - if there\'s not a way with CDI, maybe there\'s a pattern workaround...
I have a named session scoped bean CustomerRegistration which has a named producer method getNewCustomer which returns a Customer object. There is also CustomerListProducer class which produces all cu
I am getting an error when deploying my application as follows.. Caused by: org.jboss.weld.exceptions.AmbiguousResolutionException: WELD-001318 Cannot resolve an ambiguous dependency between [
I\'m migrati开发者_StackOverflow社区ng my app from GlassFish 3.0.1 to GlassFish 3.1.1. Deployment fails, with the following error messages:
I finally decided to have a look at Weld in Tomcat. When I deploy my app I see in the log: \"Tomcat 7 detected, CDI injection will be available in Servlets and Filters\"
I have code in one jar (a.jar) which contains an @Inject X x. I want to satisfy the injection with an implementation in another jar (b.jar, being a valid bean archive etc.).