{"action":"opened","issue":{"url":"https://api.github.com/repos/BrynCooke/cdi-unit/issues/71","labels_url":"https://api.github.com/repos/BrynCooke/cdi-unit/issues/71/labels{/name}","comments_url":"https://api.github.com/repos/BrynCooke/cdi-unit/issues/71/comments","events_url":"https://api.github.com/repos/BrynCooke/cdi-unit/issues/71/events","html_url":"https://github.com/BrynCooke/cdi-unit/issues/71","id":74055334,"number":71,"title":"CDI Unit not compatible with javax-servlet-api?","user":{"login":"MischaR","id":12300514,"avatar_url":"https://avatars.githubusercontent.com/u/12300514?v=3","gravatar_id":"","url":"https://api.github.com/users/MischaR","html_url":"https://github.com/MischaR","followers_url":"https://api.github.com/users/MischaR/followers","following_url":"https://api.github.com/users/MischaR/following{/other_user}","gists_url":"https://api.github.com/users/MischaR/gists{/gist_id}","starred_url":"https://api.github.com/users/MischaR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MischaR/subscriptions","organizations_url":"https://api.github.com/users/MischaR/orgs","repos_url":"https://api.github.com/users/MischaR/repos","events_url":"https://api.github.com/users/MischaR/events{/privacy}","received_events_url":"https://api.github.com/users/MischaR/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-07T16:56:19Z","updated_at":"2015-05-07T16:56:19Z","closed_at":null,"body":"Hello,\r\n\r\nI tried to setup an easy CDI-Unit test and ran into this error message:\r\n\r\n    org.jboss.weld.exceptions.DeploymentException: WELD-001408: Unsatisfied dependencies for type WeldListener\r\n\r\nI figured out that it is caused by javax-servlet-api. If I dont use this, the test works just fine.\r\n\r\nIs there a solution, so that I can use both?\r\n\r\nI used the following dependencies:\r\n    <dependency>\r\n\t\t\t<groupId>org.jglue.cdi-unit</groupId>\r\n\t\t\t<artifactId>cdi-unit</artifactId>\r\n\t\t\t<version>3.1.2</version>\r\n\t\t\t<scope>test</scope>\r\n\t\t</dependency>\r\n\t\t\r\n\t\t<dependency>\r\n\t\t\t<groupId>org.jboss.weld.servlet</groupId>\r\n\t\t\t<artifactId>weld-servlet</artifactId>\r\n\t\t\t<version>2.2.10.Final</version>\r\n\t\t</dependency>\r\n\r\n\t\t<dependency>\r\n\t\t\t<groupId>javax.servlet</groupId>\r\n\t\t\t<artifactId>javax.servlet-api</artifactId>\r\n\t\t\t<version>3.0.1</version>\r\n\t\t\t<scope>provided</scope>\r\n\t\t</dependency>\r\n\r\nand this simple test:\r\n\r\n    @RunWith(CdiRunner.class)\r\npublic class TestClass {\r\n\r\n\t@Test\r\n\tpublic void test() {\r\n\t\tSystem.out.println(\"------------------------TEST--------------------\");\r\n\t}\r\n\r\n}"}}