Re: ClassNotFoundException: com.sun.el.ExpressionFactoryImpl in embedded Arquillian container

2017-01-18 Thread Romain Manni-Bucau
Hi you used javax API, use org.apache.tomee:javaee-api or tomcat one or force through the corresponding system property the implementation to use The default is just not the one which is used in tomee cause of that dependency. Romain Manni-Bucau @rmannibucau |

Re: ClassNotFoundException: com.sun.el.ExpressionFactoryImpl in embedded Arquillian container

2017-01-18 Thread drenjithr
Hi Ivan I am getting the same error. Can you please help me how you resolved this error? Caused by: javax.el.ELException: Provider com.sun.el.ExpressionFactoryImpl not found at javax.el.FactoryFinder.newInstance(FactoryFinder.java:101) at javax.el.FactoryFinder.find(FactoryFinder.j

Re: ClassNotFoundException: com.sun.el.ExpressionFactoryImpl in embedded Arquillian container

2016-08-23 Thread Romain Manni-Bucau
You leak cdi 1.0 api somewhere (through the bom?). Advice would be to not share arquillian deps too much. Transitivity hurts when stack is not homogeneous. Le 24 août 2016 00:47, "Ivan St. Ivanov" a écrit : > Hey, Soro! :) > > That's what I actually have: profile for each container. And when I a

Re: ClassNotFoundException: com.sun.el.ExpressionFactoryImpl in embedded Arquillian container

2016-08-23 Thread Ivan St. Ivanov
Hey, Soro! :) That's what I actually have: profile for each container. And when I add TomEE's javaee-api dependency to TomEE's profile, I get the above exception. Which I don't get if the dependency is outside the profile. But then WildFly doesn't work :( On Wed, Aug 24, 2016 at 1:35 AM, Daniel C

Re: ClassNotFoundException: com.sun.el.ExpressionFactoryImpl in embedded Arquillian container

2016-08-23 Thread Daniel Cunha
profile can fix it. So, you can create a widfly profile and a tomee profile. :) On Tue, Aug 23, 2016 at 7:23 PM, Ivan St. Ivanov wrote: > Ah, now I understand, thanks for the clarification, Romain! > > So, if I add TomEE's javaee-api dependency to my POM, the TomEE Embedded > tests pass. But as

Re: ClassNotFoundException: com.sun.el.ExpressionFactoryImpl in embedded Arquillian container

2016-08-23 Thread Ivan St. Ivanov
Ah, now I understand, thanks for the clarification, Romain! So, if I add TomEE's javaee-api dependency to my POM, the TomEE Embedded tests pass. But as you might guess, the WildFly container ones fail. That's why I decided to put each one container's javaee-api dependency in its own profile. That'

Re: ClassNotFoundException: com.sun.el.ExpressionFactoryImpl in embedded Arquillian container

2016-08-23 Thread Romain Manni-Bucau
Yes, not using tomcat el api - shaded in tomee javaee-api - you get glassfish defaults. Ensure to use org.apache.tomee:javaee-api Le 23 août 2016 23:28, "John D. Ament" a écrit : > Don't forget, TomEe will ship Geronimo jars. If you reference Javax.el > you'll get duplicates > > On Aug 23, 201

Re: ClassNotFoundException: com.sun.el.ExpressionFactoryImpl in embedded Arquillian container

2016-08-23 Thread Ivan St. Ivanov
*@Alex:* I started with remote container, but there the problem was with looking up something in JNDI by OpenEJB. I don't really remember, have to check it again *@John:* I am not really using anything from java.el that I know of. And as I mentioned, the resources work fine when I deploy the app a

Re: ClassNotFoundException: com.sun.el.ExpressionFactoryImpl in embedded Arquillian container

2016-08-23 Thread John D. Ament
Don't forget, TomEe will ship Geronimo jars. If you reference Javax.el you'll get duplicates On Aug 23, 2016 17:25, "Alex Soto" wrote: > Then now I have no idea, it seems emedded instance does not contain the > javax.el interpreter. Can you try using remote artifacts? > > El 23 ago. 2016 11:19

Re: ClassNotFoundException: com.sun.el.ExpressionFactoryImpl in embedded Arquillian container

2016-08-23 Thread Alex Soto
Then now I have no idea, it seems emedded instance does not contain the javax.el interpreter. Can you try using remote artifacts? El 23 ago. 2016 11:19 p. m., "Ivan St. Ivanov" escribió: > Hey Alex :) > > I'm using the Arquillian Universe BOM Alpha 3. Downgraded to Alpha 2, but > getting the sam

Re: ClassNotFoundException: com.sun.el.ExpressionFactoryImpl in embedded Arquillian container

2016-08-23 Thread Ivan St. Ivanov
Hey Alex :) I'm using the Arquillian Universe BOM Alpha 3. Downgraded to Alpha 2, but getting the same exception. Cheers, Ivan On Wed, Aug 24, 2016 at 12:15 AM, Alex Soto wrote: > Are you using arquillian 1.1.11, if so try with .10 > > El 23 ago. 2016 10:47 p. m., "Ivan St. Ivanov" > escribió

Re: ClassNotFoundException: com.sun.el.ExpressionFactoryImpl in embedded Arquillian container

2016-08-23 Thread Alex Soto
Are you using arquillian 1.1.11, if so try with .10 El 23 ago. 2016 10:47 p. m., "Ivan St. Ivanov" escribió: > Hi folks, > > I have an issue when I run Arquillian test in the TomEE embedded > container, version 7.0.1. Originally I wanted to run a test as client > (@RunAsClient) that checks a RES

ClassNotFoundException: com.sun.el.ExpressionFactoryImpl in embedded Arquillian container

2016-08-23 Thread Ivan St. Ivanov
Hi folks, I have an issue when I run Arquillian test in the TomEE embedded container, version 7.0.1. Originally I wanted to run a test as client (@RunAsClient) that checks a RESTful web service's response [1]. However, during the deployment of the ShrinkWrap archive I get the following exception: