Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

changing to el-api 2.2 to avoid tomcat problems #329

Merged
merged 1 commit into from
Jan 23, 2014

Conversation

Turini
Copy link
Member

@Turini Turini commented Jan 23, 2014

as discussed here #328

@ghost ghost assigned Turini Jan 23, 2014
@garcia-jj
Copy link
Member

This is not a problem, it's only a Tomcat warning. And it's not caused by this artifact, but CDI dependency. I don't know if this is the solution. I'll test this.

More info here: https://groups.google.com/forum/#!topic/caelum-vraptor/BtnJ6N6ATh4

@dipold
Copy link
Member

dipold commented Jan 23, 2014

In tomcat is a warning, but In musicjungle I need to do this because tomcat-maven-plugin was generating conflict:

java.lang.LinkageError: loader constraint violation: when resolving interface method
"javax.servlet.jsp.JspApplicationContext.getExpressionFactory()Ljavax/el/ExpressionFactory;" the class loader 
(instance of org/apache/jasper/servlet/JasperLoader) of the current class, 
org/apache/jsp/WEB_002dINF/jsp/home/login_jsp, and the class loader (instance of 
org/codehaus/plexus/classworlds/realm/ClassRealm) for resolved class, javax/servlet/jsp/JspApplicationContext, 
have different Class objects for the type avax/el/ExpressionFactory; used in the signature

@garcia-jj
Copy link
Member

Using dependency:tree, this artifact is already declared by cdi:

[INFO] +- javax.enterprise:cdi-api:jar:1.1:provided
[INFO] |  \- javax.el:el-api:jar:2.2:provided

So you're right.

🚀

@garcia-jj
Copy link
Member

Thank you @dipold

@Turini
Copy link
Member Author

Turini commented Jan 23, 2014

tks @dipold !

Turini added a commit that referenced this pull request Jan 23, 2014
changing to el-api 2.2 to avoid tomcat problems
@Turini Turini merged commit 374f158 into master Jan 23, 2014
@Turini Turini deleted the changingElDependencyOnBlank branch January 23, 2014 18:28
@Turini Turini added this to the 4.0.0-RC1 milestone Mar 6, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants