Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

java.lang.NoClassDefFoundError: org/jboss/security/SecurityContextAssociation

 
Ifteqar Ald
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Folks,

While accessing my EJB Cleint Application WAR File i am getting below ERROR




I have the Following Jars in EJB.war/WEB-INF/lib

EJBApp.jar
jboss-messaging-client.jar
jboss-client.jar
jboss-remoting.jar
jbosssx.jar
jbosssx-client.jar
 
Ifteqar Ald
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Guys,

Any Ideas why this ERROR Occurs???
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is your WAR deployed to JBoss AS? If so, remove the JBoss-related JAR files from the WEB-INF/lib directory - those JARs are already provided by JBoss AS.

If the WAR is not deployed to JBoss AS, you need to add the jboss-security-spi.jar file (assuming you are running 5.1.0 or 6.0.x)

Which version of JBoss AS?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic