• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

I am getting java.lang.LinkageError: loader constraint violation:

 
Pattamuthu Aru
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have developed a sample portlet(liferay) application using JSF.

The attachment has the folder structures and the jars i have included. I have put jsf-api and jsf-impl
from the jbossweb.sar of jboss 5.1.0, in the build path of the project.

I am getting the following exception on accessing the portlet. Please help me solve this issue

JSF-app.JPG
[Thumbnail for JSF-app.JPG]
My project folder structure
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18098
50
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If Liferay is running in a JBoss container, you should not copy the JSF-impl.jar into the WAR. JBoss itself manages that.

Your actual problem sounds like a different situation, however. If you have an el-impl.jar file in your WAR, remove that. Neither JBoss nor Tomcat6 needs that, and it will interfere with the Tomcat internal copy of el-impl.jar
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic