facebook

Deploy mini web-app on Resin 3.0.8 doesn’t work [Closed]

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #211167 Reply

    Idefix
    Member

    Hi,

    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

    #211214 Reply

    Scott Anderson
    Participant

    Does 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.html

    Can 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.

    #211220 Reply

    Idefix
    Member

    Sorry 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

    #211226 Reply

    Riyad Kalla
    Member

    Chris, I’m going to close this thread, but will follow the other one. Thanks for letting us know.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Deploy mini web-app on Resin 3.0.8 doesn’t work [Closed]

You must be logged in to post in the forum log in