• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Liutauras Vilda
Sheriffs:
  • Paul Clapham
  • Jeanne Boyarsky
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
Bartenders:
  • Jesse Duncan
  • Frits Walraven
  • Mikalai Zaikin

NoClassDefFoundError: com/opensymphony/xwork2/util/profiling/UtilTimerStack

 
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello guys,
I'm not so sure if my issue is Struts-Related, so, I'm sorry about that. Anyhow here is my proplem.

We've redeploying a web site , which is based on Struts2, Spring 2.5, and Hibrnate 3, and everything deployed completely and ok, bu I'm constantly getting this Error:


I should mention that in our developing area everything is ok, but this exception is happening when we deployed it on the internet.
I'd be appreciate if anyone could help me on this.

Sorry about that my question is so short and might be too complicated. That's because I've googled a lot, but couldn't find any good clue to start with!

Reagrds,
Khosrow.
 
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
What i could see from the stack trace that you have given is that your presentation layer probably jsp is trying to hit a java class "UtilTimerStack" and this class or the binary file containing this class file (probably jar) is not in the class path
Is this class "UtilTimerStack" in any 3rd party jar or your custom written util jar or is it part of the same binary file you deployed.?
If its anything other than the same binary file then i guess it should be the class path definition of your web application that is causing this.
 
Khosrow Moossavi
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Praveen,

Well, I doubted that the problem is because of missing file in classpath or even the wrong path. But anyhow, I double checked it, and I was correct.
UtilTimerStack.class is defined in xwork-core-2.1.5.jar, and it's available in WEB-INF/lib.
By the way, everything is working like a clock in our development workspace. The problem is out there when it's deployed!

Anything else.
Please?
 
Praveen Rajendran
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Okay so i guess as a next step could you try to put the xwork-core-2.1.5.jar in the application server's lib folder instead of the application's lib folder.
This is just to check if the class is getting picked up.
 
If you look closely at this tiny ad, you will see five bicycles and a naked woman:
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic