- This topic has 3 replies, 3 voices, and was last updated 20 years, 8 months ago by
Riyad Kalla.
-
AuthorPosts
-
IdefixMemberHi,
I have created a minimal web-app with hibernate, struts and jstl support added.
Now, when I deploy this project, I keep getting errors due to missing jar files. What I don’t understand is that all jars are properly placed in ~/WEB-INF/lib
It seems as if none of the libs in ~/WEB-INF/lib are found, so I guess the class and/or library path is not set properly …
Why is this / how can I correct this?
Oh, it breaks for log4j:
Caused by: java.lang.NoClassDefFoundError: org/apache/log4j/Logger
Thanks,
Chris
Scott AndersonParticipantDoes you project compile correctly? Are you using exploded or packaged deployment? Does it look like the application is being packaged correctly and placed in the deployment location? Can you review this recent threads to see if they help:
http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-3072-highlight-resin.html
http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-2673-highlight-resin.htmlCan you please post all the information we request in the [URL=http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-393.html]Posting Guidelines[/URL] thread at the top of this forum? That will give us some context so that we can determine if this is an installation issue, a configuration problem, or a bug. Thanks.
IdefixMemberSorry for the missing info. But I found the problem so that’s ok now.
Since I use hibernate in all my projects, I installed hibernate2.jar in the webapps/WEB-INF/lib directory. However, log4j jar was in the applications WEB-INF/lib dir and resin failed to look for it there. Moving log4j to webapps got it all working.Once more sorry. I should have checked before posting!
However, now I installed a clean resin 3.0.8 version just for MyEclipse testing and encountered another issue I posted here:
http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-3104.html
Thanks
Chris
Riyad KallaMemberChris, I’m going to close this thread, but will follow the other one. Thanks for letting us know.
-
AuthorPosts